Kevin Vance - MegaZeux file selector running on hardware: I had to make a few…

Entries | Archive | Friends | Friends' Friends | User Info

09:46 pm

Friday, August 24th, 2007
Previous Entry Share Next Entry
Tags, ,

MegaZeux file selector running on hardware:

screenshot

I had to make a few changes to adapt my display code to MZX, but it might be good enough. The latest MZX seems to use a 32 color palette, which would not work with my scaling algorithm. Fortunately, it seems to be the same 16 color palette repeated twice. Perhaps this is related to SMZX mode.

Next I need to support some keypresses to use the menu. Hopefully, there is a single loop where I can inject SDL keypress events from the hardware buttons. Later, there will have to be a software keyboard, and it would be nice to map hardware buttons to keys for different games.

I'm also not sure how well the concept of a current working directory is supported in libfat, which MZX seems to rely on a lot.

Conspiracy theorists say that this amateur photograph of the new red n' black DS on my desk is only a hoax:

screenshot
Link )Reply )

Comments
[User Picture]From: lipid
2007-08-25 10:03 am (UTC)
I can't tell!

The ... weird keyboard to desk angle is throwing me off.
(Reply) (Thread)
[User Picture]From: lipid
2007-08-25 10:04 am (UTC)
But I think I get it... is it intentional to get the reflection off the hardcover?

Or is that what you want us to think!
(Reply) (Parent) (Thread)
From: c99koder
2007-08-25 02:05 pm (UTC)
You can inject the SDL keyboard events inside a VBlank or VCount handler. Looks pretty good so far, looking forward to playing it when it's ready :)
(Reply) (Thread)
[User Picture]From: kvance
2007-08-27 02:50 am (UTC)
Thanks, that seems like exactly the right thing to do.
(Reply) (Parent) (Thread)