#177735 - mills26 - Sat Dec 29, 2012 8:35 pm
Hi, i'm trying to make games for game boy color. I asked in gbdev forums but no luck. I'm using GBDK.
I made cool things, but i can't overcome a bug or something in gbdk.
When i compile roms with more than 2 banks (bigger tham 32 Kb) the compiler complains:
Some guy solved it by using asm for big variables instead of C arrays.
I also tried this, but ended up with lots of lines with something like "mnemonic errors".
My question is, how do i include asm code inside the main c program?
In my game, i load a background map and some sprites made with gameboy tools that can export asm code as well as c.
Thanks a lot
I made cool things, but i can't overcome a bug or something in gbdk.
When i compile roms with more than 2 banks (bigger tham 32 Kb) the compiler complains:
Code: |
ERROR: address overflow (addr c230 >= 8000)
lcc: C:\gbdk\bin/link-gbz80: No error |
Some guy solved it by using asm for big variables instead of C arrays.
I also tried this, but ended up with lots of lines with something like "mnemonic errors".
My question is, how do i include asm code inside the main c program?
In my game, i load a background map and some sprites made with gameboy tools that can export asm code as well as c.
Thanks a lot