It would be nice if someone compiled Hopper with the render code I posted earlier and then gave us some benchmarks (millis of render time, or even just CPU usage). Before everyone gets excited it’d be nice to have some baseline of what we might expect on this hardware. Again, we lose 17x as much time on SPI here as we do on Arduboy just because of the huge amount of data we have to send to the screen.
Math off the top of my head:
- 16 million cycles per second
- 384x136 resolution
- 2.666 bits per pixel
- 2 cycles per bit transmitted (at CLK/2)
That gives me 57.44 frames per second using 100% CPU just for SPI (or waiting on SPI). So the real question is how much CPU most Arduboy games use (or whatever you’re wanting to write for the XE). If you use 50% to render your graphics and do calculations that limits you to 30 FPS on XE, etc.
All this if assuming full-screen render/paint.