moononournation / arduino-nofrendo

Clone from source http://www.baisoku.org/nofrendo-2.0pre1.zip
Other
81 stars 37 forks source link

ILI9488 vs ILI9341 #4

Closed Sampozzo closed 1 year ago

Sampozzo commented 3 years ago

Hello again me on this great project :) I solved my previous SD problem (i posted my solution), but now i have another problem.

I switched my first test screen from a ILI9341 320x240 to an ILI9488 480x320.

The problem now is that the display_write_frame need to do some maths to crop and scale the original NES resolution to fit the bigger 480x320 and it really slow down the gameplay. Games that runs at full speed at original resolution, now are unplayable speed scaled. I've tryed all the four options in the example with no acceptable speed.

Is this a known issue or i'm doing sometings wrong? This is the code used to initialize the screen driver:

Arduino_DataBus *bus = new Arduino_ESP32SPI(32 /* DC */, -1 /* CS */, 25 /* SCK */, 33 /* MOSI */, -1 /* MISO */);
Arduino_ILI9488_18bit *gfx =new Arduino_ILI9488_18bit(bus, -1 /* RST */, 1 /* rotation */);

Thanks again.

Sampozzo commented 3 years ago

Hello? Is this project dead? Two issue in 15 days and no reply at all.