From 67408521cd7d248ef01e172bdcfc61dabdbe9284 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 6 Mar 2021 22:34:35 -0500 Subject: [PATCH] Makes absolutely sure not to try to use quickboot workaround for Mac 128kb/512kb. Albeit that it should be harmless; it's just seeding RAM. --- Machines/Apple/Macintosh/Macintosh.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Machines/Apple/Macintosh/Macintosh.cpp b/Machines/Apple/Macintosh/Macintosh.cpp index 22f366ad2..6f16cd1fb 100644 --- a/Machines/Apple/Macintosh/Macintosh.cpp +++ b/Machines/Apple/Macintosh/Macintosh.cpp @@ -528,7 +528,10 @@ template class ConcreteMachin const auto options = dynamic_cast(str.get()); quickboot_ = options->quickboot; - if(quickboot_) { + + using Model = Analyser::Static::Macintosh::Target::Model; + const bool is_plus_rom = model == Model::Mac512ke || model == Model::MacPlus; + if(quickboot_ && is_plus_rom) { // Cf. Big Mess o' Wires' disassembly of the Mac Plus ROM, and the // test at $E00. TODO: adapt as(/if?) necessary for other Macs. ram_[0x02ae] = 0x40;