#4624 - guilt - Sat Apr 05, 2003 6:49 am
I've attempted to dl and compile the code from thepernproject for his mode7 demo, which uses interrupts. The elf in the zip, when objcopy'ed to a gba binary works just fine. However, when I try to compile it myself (and this is true of all code that I have ever tried to compile that involves interrupts) I get a rom that just displays a white screen and doesn't seem to respond to input. I have yet to find a decent tool to let me watch the PC and see what it does, but was hoping not to have to go that low level (I see enough raw memory and assembly at work).
I compiled the toolchain myself for linux and have had plenty of success writing c for this thing without the gba. I'm using both visualboy advance sdl for linux and the windows version (my windows box is faster). Also, I've tried every amalgamation of compiler directives and crtS.s and lnkscript that I can think of and have had no luck.
So if anyone with a similar setup (or without) that can point me to compiling instructions that work, or perhaps a decent somewhat graphical debugger so that I can see the pc (and how to generate an assembly with the instructions numbered), either would help a lot. Thanks,
The code that I'm trying to compile atm is at
http://www.thepernproject.com/English/mode7.zip
Lastly, I still quite new to the gbadev game, so I apoligize if this should be obvious or is well known/documented. I googled for a few hours, have read everything relavant I can find, and looked around these forums for a bit and haven't een able to solve this yet. Thanks again,
guilt
I compiled the toolchain myself for linux and have had plenty of success writing c for this thing without the gba. I'm using both visualboy advance sdl for linux and the windows version (my windows box is faster). Also, I've tried every amalgamation of compiler directives and crtS.s and lnkscript that I can think of and have had no luck.
So if anyone with a similar setup (or without) that can point me to compiling instructions that work, or perhaps a decent somewhat graphical debugger so that I can see the pc (and how to generate an assembly with the instructions numbered), either would help a lot. Thanks,
The code that I'm trying to compile atm is at
http://www.thepernproject.com/English/mode7.zip
Lastly, I still quite new to the gbadev game, so I apoligize if this should be obvious or is well known/documented. I googled for a few hours, have read everything relavant I can find, and looked around these forums for a bit and haven't een able to solve this yet. Thanks again,
guilt