Nukey Shay Posted July 18, 2006 Share Posted July 18, 2006 I gather that a JMP instruction which exists at $xFF6-8 would automatically cause a bankswitch to the 3rd bank in a -F6 16k game (because $xFF8 is the last hotspot address hit by the P.C.)...and that a JMP that exists at $xFF9-B similarly would cause a bankswitch to the last bank (because of $xFF9). At least that is how it looks to work in Z26...but does this operate differently with a 7800 console (vs. a 2600)? BTW all 4 banks would probably need identical data at those addresses too, correct (just in case of lag)? Quote Link to comment Share on other sites More sharing options...
+batari Posted July 18, 2006 Share Posted July 18, 2006 I gather that a JMP instruction which exists at $xFF6-8 would automatically cause a bankswitch to the 3rd bank in a -F6 16k game (because $xFF8 is the last hotspot address hit by the P.C.)...and that a JMP that exists at $xFF9-B similarly would cause a bankswitch to the last bank (because of $xFF9). At least that is how it looks to work in Z26...but does this operate differently with a 7800 console (vs. a 2600)? BTW all 4 banks would probably need identical data at those addresses too, correct (just in case of lag)? What will happen in the first case depends on the bankswitching hardware. Level-triggered hardware should act as above, but edge-triggered hardware will ignore the subsequent hotspots (though I may have that backwards.) However, starting the code at $xFF9 should have the desired effect on either hardware, as long as you don't read while the upper address line is changing (or there isn't any consequence if you do.) 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.