#15757 - Gene Ostrowski - Thu Jan 29, 2004 8:57 am
I have an odd issue. I just started with the HAM DevKit and today received my multiboot/flash cart.
I am able to flash my demo to the cart no problems and it works without issue (of course it also works in VBA).
However, no multiboot code seems to want to work. When trying to run *.mb from the linker, it seems to download into the GBA ok, but sits at the loader screen and says "Doing..." and never launches the application. That looks like it's not truly a multiboot chunk of code.
Then I noticed that in VBA running HAMLib 2.8, I do NOT see the MULTIBOOT message in the lower left corner, like I should for code that has been compiled for multiboot. I DO have the MULTIBOOT macro in my code, so I *thought* it was compiling for multiboot, and received no errors indicating otherwise.
However, it appears that it did not actually compile for multiboot!. I actually had to comment out the MULTIBOOT macro and add the line...
int __gba_multiboot=0;
...manually into my source code! It made no sense at all. But now I see that it TRULY is compiling for multiboot mode, as the "MULTIBOOT" indicator appears in the emulator when the demo runs. Could there be some bug in HAM/VisualHAM that could cause this? I've not messed with any of the configs/make files that were installed during the default HAM 2.8/VisualHAM 2.5 installation, so I couldn't have messed something up.
Unfortunately though, when it tries to run without the cart using the MVB2 in multiboot mode, the demo does NOT run (i.e. multiboot code is only working in the emulator or when I flash it to the actual cart). It starts, displays MULTIBOOT and version 2.8 on the screen, but the HAM logo/animation does not play and it appears to hang. I think several other people have had this happen as well.
The demo is less than 40K and does nothing funky that would cause >256K allocation or anything of the sort.
Any ideas about either of the possible bug issue with the MULTIBOOT macro or why the darn thing hangs on multiboot code?
Any assistance would be helpful!
Thanks.
_________________
------------------
Gene Ostrowski
I am able to flash my demo to the cart no problems and it works without issue (of course it also works in VBA).
However, no multiboot code seems to want to work. When trying to run *.mb from the linker, it seems to download into the GBA ok, but sits at the loader screen and says "Doing..." and never launches the application. That looks like it's not truly a multiboot chunk of code.
Then I noticed that in VBA running HAMLib 2.8, I do NOT see the MULTIBOOT message in the lower left corner, like I should for code that has been compiled for multiboot. I DO have the MULTIBOOT macro in my code, so I *thought* it was compiling for multiboot, and received no errors indicating otherwise.
However, it appears that it did not actually compile for multiboot!. I actually had to comment out the MULTIBOOT macro and add the line...
int __gba_multiboot=0;
...manually into my source code! It made no sense at all. But now I see that it TRULY is compiling for multiboot mode, as the "MULTIBOOT" indicator appears in the emulator when the demo runs. Could there be some bug in HAM/VisualHAM that could cause this? I've not messed with any of the configs/make files that were installed during the default HAM 2.8/VisualHAM 2.5 installation, so I couldn't have messed something up.
Unfortunately though, when it tries to run without the cart using the MVB2 in multiboot mode, the demo does NOT run (i.e. multiboot code is only working in the emulator or when I flash it to the actual cart). It starts, displays MULTIBOOT and version 2.8 on the screen, but the HAM logo/animation does not play and it appears to hang. I think several other people have had this happen as well.
The demo is less than 40K and does nothing funky that would cause >256K allocation or anything of the sort.
Any ideas about either of the possible bug issue with the MULTIBOOT macro or why the darn thing hangs on multiboot code?
Any assistance would be helpful!
Thanks.
_________________
------------------
Gene Ostrowski