Hi,
uze6666 wrote:When the user chooses a game, the bootloader reflashes the remaining program memory with it. So if the STM only have UART bootloader, I'm wondering how such functionality will be possible.
If you mean that STM32 can write to its FLASH memory from the application, then yes, it is possible. FLASH is even used for emulation of data EEPROM (which is missing).
uze6666 wrote:Sure the API should make the game agnostic to the underlying video technology, but the timing is not exactly the same (I think) for all of those. Now that I think of it, one statically or dynamically configurable kernel that supports NTSC/PAL/VGA would be much better.
Yes, timing will be different, that's true. Hopefully not too much to mangle games. PAL will be something else ( fv=50Hz) but for VGA, fv still can be 60Hz, 525 lines, fh=31500Hz, then for 240 pixels, the "full line" is 295 pixels, it means pixel clock is 9.2925MHz. Really ugly value. I want to try 9MHz (XTAL is 8MHz and PLL*9 to have full clock 72MHz), it is 286 pixels for full line.But I am not sure if HSYNC will be OK. Or to use higher pixel clock ( 72/7 MHz) and make the picture a little bit smaller.
I had a look in the kernel code, there is "void Initialize(void)" but I don't see where this function is called. I will probably have more such dummy questions. Should I create new topic in the "New to Uzebox" forum (something like "Kernel internals")? Or is it ok to stay here?