17 october 2019
I've finally made some headway on debugging my program.
The problem was in a routine that copied a chunk of ROM to RAM. Seems in my hurry to get results the other day, I managed to delete the high byte of my source address pointer. So, what this did was set an incorrect address for me to pull data from; instead of copying from $B000 it was some other address, $x000. Probably the value that was last put in this generic pointer that several routines share.
Of course with squashing that bug, I have another bug that seems a little more difficult to track down. Some of my text on the title screen displays fine, while others in my debug menus all have scrambled index values for some reason. I can see bits and peices of other lines of text. For now, DEBUG says RUMPO. Cool.
Theories:
Maybe my text index value (a table of 10 bytes) may be getting overwritten. Though if that were the case, all of my text would be wrong...
A dumb typo somewhere. This is usually the case.
Something else.
Need to stare at the source code some more. Gotta rumpo my program some more.