EremusOne / ESPectrum

A ZX spectrum 48K, 128K and Pentagon 128 emulator running on the Espressif ESP32 SoC
https://zxespectrum.speccy.org
GNU General Public License v3.0
162 stars 21 forks source link

ESPectrum 1.0 rc1 on ESP32-SBC-FabGL SD card issue #24

Closed Magnetrix closed 12 months ago

Magnetrix commented 12 months ago

Hello, When i select external Sd as my storage option, and press F5, no games list is presented. This card when inserted om my other board TTGo vga32 works great. Anyone can help me? Regards

EremusOne commented 12 months ago

It seems Olimex has used different pins for the SD card slot:

You'll have to change this line in hardpins.h:

define PIN_NUM_MISO GPIO_NUM_2

to:

define PIN_NUM_MISO GPIO_NUM_35

Unfortunately, I've no Olimex board to test it so you'll have to compile and test it for yourself. Let me know if this solves it.

Regards!

Magnetrix commented 12 months ago

I am not a programmer, so I don't have skills to know how compile the code. The internal speaker of the board doesn't output sound... sound only outputs from jack 3.5mm... ESP32-SBC-FabGL_ZX-ESPectrum-IDF

Magnetrix commented 12 months ago

ESP32-SBC-FabGL_Rev_A.pdf

EremusOne commented 12 months ago

Hi again Magnetrix,

As I told you before, we own no Olimex board to work with and test the emu so we can't test any fix on it. We only release binaries for boards or products we have been able to test thoroughly. Right now, these are the Lilygo TTGO VGA32 and Antonio Villena's ESPectrum board. This may change in the future but can't give you an ETA.

This is done this way for a good reason: to reduce this kind of issues we are talking of right now. Bear in mind we work in this project in our spare time and have to be cautious with the compromises we assume.

Anyway, if u have managed to flash binaries on the board I'm sure you'll be able to install VSCode and PlatformIO, download the source, apply the suggested fix, compile it and flash to the board. It's easier than you may think.

Good luck and tyvm for your interest in ESPectrum!

P.S.: And don't forget to read the doc you sent before asking please: you have the answer for the buzzer issue right there (TIP: BUZ_EN1).