+johnnywc Posted May 19, 2006 Share Posted May 19, 2006 Hello all, I'm in the middle of testing a 16K game that I've developed and have come across some odd behavior. It appears that the game is behaving differently on a CC2/7800 than it does on an AtariAge 16K board on a 2600. Specifically, there is a portion of the game where the AA board/2600 game jumps back to the title screen (obviously hitting some kind of BRK statement or such). The game runs fine on the CC2/7800 and in all emulators. Are there any differences between the two mediums that I should be checking for possible causes? I've looked extensively at a z26 log and I don't see anything odd happening. Any ideas or help is greatly appreciated. Thanks, Quote Link to comment Share on other sites More sharing options...
128bytes Posted May 19, 2006 Share Posted May 19, 2006 Hello all, I'm in the middle of testing a 16K game that I've developed and have come across some odd behavior. It appears that the game is behaving differently on a CC2/7800 than it does on an AtariAge 16K board on a 2600. Specifically, there is a portion of the game where the AA board/2600 game jumps back to the title screen (obviously hitting some kind of BRK statement or such). The game runs fine on the CC2/7800 and in all emulators. Are there any differences between the two mediums that I should be checking for possible causes? I've looked extensively at a z26 log and I don't see anything odd happening. Any ideas or help is greatly appreciated. Thanks, What bankswitching file are you using in your menu.txt file on your CC2? Maybe it's the wrong file, or maybe there's something wrong with the CC2's bankswitching file that can be fixed. Quote Link to comment Share on other sites More sharing options...
+johnnywc Posted May 19, 2006 Author Share Posted May 19, 2006 Hello all, I'm in the middle of testing a 16K game that I've developed and have come across some odd behavior. It appears that the game is behaving differently on a CC2/7800 than it does on an AtariAge 16K board on a 2600. Specifically, there is a portion of the game where the AA board/2600 game jumps back to the title screen (obviously hitting some kind of BRK statement or such). The game runs fine on the CC2/7800 and in all emulators. Are there any differences between the two mediums that I should be checking for possible causes? I've looked extensively at a z26 log and I don't see anything odd happening. Any ideas or help is greatly appreciated. Thanks, What bankswitching file are you using in your menu.txt file on your CC2? Maybe it's the wrong file, or maybe there's something wrong with the CC2's bankswitching file that can be fixed. Thanks for the idea. I'm using the standard F6 bankswitching file. The game runs fine on the CC2 - it's on the AA 16K boards that it doesn't work. Prior to the crash all 4 banks are visited in code without any issue. Thanks, Quote Link to comment Share on other sites More sharing options...
+batari Posted May 19, 2006 Share Posted May 19, 2006 Hello all, I'm in the middle of testing a 16K game that I've developed and have come across some odd behavior. It appears that the game is behaving differently on a CC2/7800 than it does on an AtariAge 16K board on a 2600. Specifically, there is a portion of the game where the AA board/2600 game jumps back to the title screen (obviously hitting some kind of BRK statement or such). The game runs fine on the CC2/7800 and in all emulators. Are there any differences between the two mediums that I should be checking for possible causes? I've looked extensively at a z26 log and I don't see anything odd happening. Any ideas or help is greatly appreciated. Thanks, Make sure you didn't accidentally do LDA Zeropage when you meant LDA #Immediate. Sounds silly, but in emulators and the CC2, these sometimes function the same but don't work the same on AA's carts, and it's easy to leave off the #. Other than that, how are you doing bankswitching? Because AA's boards might use level-triggered logic that would behave differently if you are executing code in hotspots or are doing indexed loads of hotspots. Quote Link to comment Share on other sites More sharing options...
Kroko Posted May 19, 2006 Share Posted May 19, 2006 I think Emulators and the CC2 clear RAM and registers before the Rom is started, but the 16K board does not ... CC2 and Emulators always start in bank 0, real boards start in a random bank. Do you think that could somehow cause your trouble ? Armin Quote Link to comment Share on other sites More sharing options...
vdub_bobby Posted May 19, 2006 Share Posted May 19, 2006 I'd also add...make sure you aren't depending on undefined bits (i.e., bits 0-5/6 in TIA registers) anywhere! Also, check that all immediate loads have the '#' in front. I ran into a similar problem with Reindeer Rescue, though that was perhaps more esoteric, since it only crashed on certain 16K boards, not all of them (and it didn't crash in emulation). Turned out I forgot a # in front of an immediate value, and the undefined bits were affecting things differently. See the [stella] archives from last December through January or February for that sad saga. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.