1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-04 01:57:54 +00:00

Fixed ROM paging port decoding. It should have been fd00 if completely decoded, not df00, but also shouldn't be completely decoded.

This commit is contained in:
Thomas Harte 2017-08-05 19:24:03 -04:00
parent caf3ac0645
commit 9e8645ca7a

View File

@ -583,7 +583,7 @@ class ConcreteMachine:
} }
// Check for an upper ROM selection // Check for an upper ROM selection
if(has_fdc_ && address == 0xdf00) { if(has_fdc_ && !(address&0x2000)) {
upper_rom_ = (*cycle.value == 7) ? ROMType::AMSDOS : rom_model_ + 1; upper_rom_ = (*cycle.value == 7) ? ROMType::AMSDOS : rom_model_ + 1;
if(upper_rom_is_paged_) read_pointers_[3] = roms_[upper_rom_].data(); if(upper_rom_is_paged_) read_pointers_[3] = roms_[upper_rom_].data();
} }