mon bank question
Posted: Wed May 10, 2023 12:44 pm
Hey everyone. I am looking for some clarification on certain behaviours in 'mon' as it relates to bank switching.
When I load up mon (in the emulator) and ask for address $9F20, I am shown what I assume is random garbage.
I want to try setting the VERA address registers to 00000, so I type in 00, 00, 00 for $9F20 - $9F22 in mon.
As soon as I hit enter though, the values revert back to the "garbage" that was there before.
Shouldn't I be able to set those register values?
Second part to the question... the documentation for mon found https://github.com/commanderx16/x16-doc ... Monitor.md here, talks about switching banks with the O command. When I did a O V0 command, thinking I may need to switch to video ram, and retried my write at $9F20, the value seemed to stick.
Basically, I'm unclear why mon won't save my values to vera address registers, as well as, what the bank switching in mon is actually doing. I thought bank switching was for ram/rom banks located at $A000 -> $FFFF?
Any guidance would be appreciated!
When I load up mon (in the emulator) and ask for address $9F20, I am shown what I assume is random garbage.
I want to try setting the VERA address registers to 00000, so I type in 00, 00, 00 for $9F20 - $9F22 in mon.
As soon as I hit enter though, the values revert back to the "garbage" that was there before.
Shouldn't I be able to set those register values?
Second part to the question... the documentation for mon found https://github.com/commanderx16/x16-doc ... Monitor.md here, talks about switching banks with the O command. When I did a O V0 command, thinking I may need to switch to video ram, and retried my write at $9F20, the value seemed to stick.
Basically, I'm unclear why mon won't save my values to vera address registers, as well as, what the bank switching in mon is actually doing. I thought bank switching was for ram/rom banks located at $A000 -> $FFFF?
Any guidance would be appreciated!