From cbb0594e6b19713cc6aacd6d522d21bed931e585 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 16 Jul 2020 23:27:27 -0400 Subject: [PATCH] Use 16-sector state machine even with the 13-sector boot ROM. I think I've proven that the Disk II doesn't decode the 13-sector state machine correctly. Work to do there. --- Machines/Apple/AppleII/DiskIICard.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Machines/Apple/AppleII/DiskIICard.cpp b/Machines/Apple/AppleII/DiskIICard.cpp index ef9bd238d..7f0bd7a60 100644 --- a/Machines/Apple/AppleII/DiskIICard.cpp +++ b/Machines/Apple/AppleII/DiskIICard.cpp @@ -20,7 +20,9 @@ DiskIICard::DiskIICard(const ROMMachine::ROMFetcher &rom_fetcher, bool is_16_sec } else { roms = rom_fetcher({ {"DiskII", "the Disk II 13-sector boot ROM", "boot-13.rom", 256, 0xd34eb2ff}, - {"DiskII", "the Disk II 13-sector state machine ROM", "state-machine-13.rom", 256, 0x62e22620 } + {"DiskII", "the Disk II 16-sector state machine ROM", "state-machine-16.rom", 256, { 0x9796a238, 0xb72a2c70 } } +// {"DiskII", "the Disk II 13-sector state machine ROM", "state-machine-13.rom", 256, 0x62e22620 } + /* TODO: once the DiskII knows how to decode common images of the 13-sector state machine, use that instead of the 16-sector. */ }); } if(!roms[0] || !roms[1]) {