Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
Hi. I am making a parody of a game.
I am using the latest version of GBDK-2020.
When I compile the rom, its all fine. But when I add code to a different bank (which was bank 8), this shows up:
WARNING: Multiple write of 13 bytes at 0x8147 -> 0x8153 (8147 -> 8153, 8000 -> b7be) Warning: Write from one bank spans into the next. 7ff7 -> 8016 (bank 1 -> 2) WARNING: Multiple write of 326 bytes at 0x8000 -> 0x8145 (8000 -> b7be, 7fb7 -> 8145) WARNING: Multiple write of 1 bytes at 0x8146 -> 0x8146 (8000 -> b7be, 8146 -> 8146)
And the ROM hangs.
Before I added stuff to a different bank, it never showed that message and the ROM booted fine... So I have no idea what is going on.
I went through the ROM with a hex editor to see if it overflowed and it looked fine...
Am I doing something wrong?
(The ROM has 16 banks btw)
Last edited by Koop the Koopa (2022-03-12 08:38:52)
Offline
That error usually means you're trying to pack more than 16KB into a single bank. Try moving stuff around.
I keep each bank as a separate .c file so I can more easily see what's going where.
Last edited by Ardis (2022-03-12 08:48:12)
Offline
I fixed the error now. Bank 0, 1 and 2 were overflowing ._.
Offline