--- In gbadev@y..., "Darren Coles" <darrencoles@b...> wrote:
> Ive spent a little time disassembling the flashlinker gamepack menu
and managed to figure out how
> it pages different banks of the rom in. I dont know if anyone has
posted this information before but I certainly
> havent seen it.
>
> I've written a small piece of example code that pulls off a bank
switch and turns the screen red or green
> depending on whether the rom contents changed or not.
>
> This appears to work as it should (green screen on emulator - red
screen on flashlinker).
>
> This information should be enough to help anyone who might want to
code a nice new menu selector
> for the flash linker.
>
> Both the source and binary are available here.
>
> http://www.gbadev.freehosting.net/
Actually, it's not really a secret - it's been available at
http://www.ziegler.desaign.de/GBA/gba.htm
for a while, and I use that info to add execute support to my library
so I could make PogoShell;
http://www.obsession.se/pocket/shell.html
It would be great though if people could add a RESET in their
productions so you didn't have to turn off your GBA all the time;
basically just reset the romstart and do an SWI #1
-- Jonas Minnberg