- I saw that actual version of Uzebox support a plenty of video modes. Is there some list of games for each video mode ? In Wiki there is just complete list but no categories...
- I probably start with Video Mode 1. Is there some really short demo code?
- what should I take care about during porting ?
uze6666 wrote:There's no list of games per video modes, but each game info page lists the video mode used. In any cases, the most popular video mode is mode 3, then mode 1.
uze6666 wrote:- I probably start with Video Mode 1. Is there some really short demo code?
Indeed this is the easiest and the source is well documented. Use the "Tutorial" project, it's a simple Hello World application.
uze6666 wrote:I don't think there's a bootloader feature similar to the AVR that would allow the current menu we have. Also, I would consider a "legacy" mode kernel to run current games and a optimized kernel for new games to use the best of VGA.
OK, this might be an improvement for Wiki? I don't fully understand the kernel concept yet. I just assume that there is some default menu with games, user can choose one game from the list. At the beginning, video mode is initialized and game then starts.
Are you sure? In Wiki I see that it uses Mode3. And there are some sprites etc...
What does it mean "Legacy mode kernel" for you? IMHO if I am API-compatible then there should be no difference between NTSC/PAL/VGA versions...
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.
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.
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).
I had a look in the kernel code, there is "void Initialize(void)" but I don't see where this function is called.
void Initialize(void) __attribute__((naked)) __attribute__((section(".init8")));
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?
Order yourself a free sample Uze. 1Mb Flash and 192Kb ram sounds awsome. The prototype boards arn't out yet but they are supposed to retail for around $25, pretty cheap.
Users browsing this forum: No registered users and 0 guests