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.
Whenever I compile my c file, the compiler gives the error "ERROR: address overflow (addr 802 >= 8000)". What's even more confusing about this is that when I comment out a certain amount of the code, it compiles fine. Can someone explain to me what causes this error?
Here is a link to the source code if anyone wants to take a look:
https://drive.google.com/open?id=0B1t7B … C04WktybzQ
Offline
Your arrays need some modification, in every array file, changing every instance of "unsigned char" to "const unsigned char" should work.
Offline
That has fixed it, thank you.
Offline