Ryuzaki-MrL / Espeon

Gameboy emulator for the ESP32
GNU General Public License v3.0
157 stars 13 forks source link

Linux feedback #1

Open tobozo opened 5 years ago

tobozo commented 5 years ago

Hello and thanks for this great project !

Here's some unsollicited feedback from my attempt to get this working from Linux Ubuntu (16.04).

... produced a 153600 bytes gborder.raw file (921652 bytes for the .h file) and the dreadful DRAM segment data does not fit. compilation error.

I've used the built-in jpeg decoder M5.Lcd.drawJpg as a workaround, not sure about the performances hit but that produced a more ideal memory footprint (2804 bytes) and got me out of the compilation error.

image

image

I'll edit this post with the followup, trying to get my hands on some roms to verify I'm using the correct bios version (can you share you md5sums?) :D

[edit 1] : as expected the rom won't load when the sketch is compiled with the basic Arduino IDE board/partitions settings, adding some debug statements to the code (#include <esp32-hal-log.h> along with log_e(), log_w() and log_i()) was helpful to find out the reason.

Not sure if this is feasible from the UI though, thinking about platformio :thinking:

Ryuzaki-MrL commented 5 years ago

Thank you for your feedback.

I've used the built-in jpeg decoder M5.Lcd.drawJpg as a workaround, not sure about the performances hit but that produced a more ideal memory footprint (2804 bytes) and got me out of the compilation error.

There shouldn't be any performance issues, since the border is only ever rendered once.

I'll edit this post with the followup, trying to get my hands on some roms to verify I'm using the correct bios version (can you share you md5sums?) :D

32fbbd84168d3482956eb3c5051637f5. The bootrom is optional.

[edit 1] : as expected the rom won't load when the sketch is compiled with the basic Arduino IDE board/partitions settings, adding some debug statements to the code (#include along with log_e(), log_w() and log_i()) was helpful to find out the reason.

The way I do is by exporting the compiled binary and uploading it manually via esptool or M5Burner.