Closed calmopyrin closed 6 months ago
Right now, updating to the latest cc65 gives me a game that seems to work, but where the font is completely messed up. The version of cc65 I had updated to previously had the same when I built with it this morning, but messed up in a very different way.
This is a bit of an aside, but I think unit testing on cc65 has not been great. There have been other issues recently in my projects - all related to cc65 changes. I have switched over to the llvm-mos compiler. Perhaps when I have a chance I'll try to switch cc65-Chess to llvm-mos (if it supports all platforms - I haven't checked yet). That would make the naming a bit odd.
Bottom line is - this might be chess, it might be the compiler but I am not going to put time into looking as I simply don't trust the compiler. I realize that at this moment it means that the project isn't in a great state since I can't even make a visually working Plus4 game. My guess it everything will work with a compiler that's 7 months old, or older - whichever version I had when I made the Plus4. Unfortunately I didn't record the compiler version at the time.
I am sorry. I just don't have time right now to look into this beyond what I just did. Thank you for taking it for a spin, though!
The plus4 build crashes and eventually lands on a HALT opcode. Possibly a corrupted stack.
Opcodes executed before the crash: