1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Okay, so it looks like both ROM paging flags are the opposite of what I previously had.

This commit is contained in:
Thomas Harte 2016-11-25 20:42:40 +08:00
parent 5be45c6c50
commit 5c019ad1c0

View File

@ -48,7 +48,7 @@ void Microdisc::set_control_register(uint8_t control)
// b7: EPROM select (0 = select) // b7: EPROM select (0 = select)
// b1: ROM disable (0 = disable) // b1: ROM disable (0 = disable)
int new_paging_flags = ((control & 0x02) ? BASICDisable : 0) | ((control & 0x80) ? 0 : MicrodscDisable); int new_paging_flags = ((control & 0x02) ? 0 : BASICDisable) | ((control & 0x80) ? MicrodscDisable : 0);
if(new_paging_flags != paging_flags_) if(new_paging_flags != paging_flags_)
{ {
paging_flags_ = new_paging_flags; paging_flags_ = new_paging_flags;