gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > Code not running on real hardware

#45195 - AntiPasta - Wed Jun 08, 2005 2:08 pm

Hi there,

first off, I'm very sorry to ask something that's probably been answered a million times already... I tried searching but couldn't find much useful info.

My problem is, I've coded a little shoot-em-up demo with goldroad for GBA (download here ), I've used VBA all along for debugging, but now somebody informed me that it does nothing when run on real hardware. I'd hate to ask other people to do my homework, so I wonder if there are specific things to look out for in this case? I don't use sound, the entry point is at 0x8000000, I copy my code to IWRAM, and I use Mode 0 with BG0 & BG2 enabled. From the looks of it, the IWRAM code isn't even executed.
If anybody wants, I can also post the source, but I dont have it here right now (using a public PC).
Thanks in advance.

#45201 - FluBBa - Wed Jun 08, 2005 3:43 pm

Are you using a BIOS with VBA/is your header correct?
_________________
I probably suck, my not is a programmer.

#45203 - strager - Wed Jun 08, 2005 3:49 pm

http://rafb.net/paste/results/H2S3J746.html

Those are there errors I got from VBA's logging tool. Check out the addresses in the disassembler and see what's wrong with the code.

#45209 - AntiPasta - Wed Jun 08, 2005 5:28 pm

OK, thanks guys. What's the importance of using a BIOS? And does anyone know if Goldroad produces a valid header automatically?

And by the way, I tried using VBAs logging tool but nothing showed up in the window so I figured it was alright :O

#45218 - strager - Wed Jun 08, 2005 6:44 pm

AntiPasta wrote:
And by the way, I tried using VBAs logging tool but nothing showed up in the window so I figured it was alright :O


It only shows up if you have the developer's version.

#45407 - AntiPasta - Fri Jun 10, 2005 12:44 pm

D?oh! I didnt use a BIOS with VBA, and didnt put in a header either... fixed that now. Boy, I feel so stupid...