Help debugging a gameboy rom

Discussion in 'Nintendo Game Development' started by drakon, Feb 10, 2013.

  1. drakon

    drakon Gutsy Member

    Joined:
    Dec 28, 2008
    Messages:
    432
    Likes Received:
    0
    I've been messing around with the gameboy colorizer working to convert marioland into colour. I got the rom with colour and glitch free, except on real hardware it refuses to run. On the gba the rom runs in gbc mode and after the bios screen it goes white. On the sgb I get to the title screen and then it just refreshes over and over. Here's the rom:

    http://www.mediafire.com/?q3438655bk680hy

    What I did manage to do was I found a way to recreate what's going on in an emulator. Using the bgb emulator I click on options, exceptions, then I click on "cart troubleshooting mode". I load the rom and it gets to a couple of empty code spots which I just fill with "nop" or skip past. Once I'm past those few spots I get the same white screen as my real gba. If I go into options, system, and tell it to run as a "super gameboy" then I get the same thing happening as the real super gameboy. With the emulator in troubleshooting mode set to run as a super gameboy it gets to the title screen and gets stuck occasionally refreshing the title screen just like the real super gameboy. I could really use some help with figuring out what's causing the rom to get stuck.
     
  2. 7c00h

    7c00h Active Member

    Joined:
    Sep 17, 2012
    Messages:
    42
    Likes Received:
    0
    gameboy coding is not something i am all to familiar with, but i would have to say, that you sre probably using some incorrect addresses when accessing the video ram. also note that the cpu for the GBC and the GB are slightly different which may be the culprit. your best bet would to disassemble one of the pokemon games (prime example of GB -> GBC Color Compatibility) and see how the code interacts. (Pokemon Crystal would be a good shot, seeing as it has a known sprite color test procedure that can be accessed with a simple assembly modification, which should not be hard in your case.) other than that, i can't really offer much. hope this helps.
     
  3. drakon

    drakon Gutsy Member

    Joined:
    Dec 28, 2008
    Messages:
    432
    Likes Received:
    0
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page