mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-28 21:49:27 +00:00
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.
This commit is contained in:
parent
f05260b839
commit
67408521cd
@ -528,7 +528,10 @@ template <Analyser::Static::Macintosh::Target::Model model> class ConcreteMachin
|
|||||||
|
|
||||||
const auto options = dynamic_cast<Options *>(str.get());
|
const auto options = dynamic_cast<Options *>(str.get());
|
||||||
quickboot_ = options->quickboot;
|
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
|
// Cf. Big Mess o' Wires' disassembly of the Mac Plus ROM, and the
|
||||||
// test at $E00. TODO: adapt as(/if?) necessary for other Macs.
|
// test at $E00. TODO: adapt as(/if?) necessary for other Macs.
|
||||||
ram_[0x02ae] = 0x40;
|
ram_[0x02ae] = 0x40;
|
||||||
|
Loading…
Reference in New Issue
Block a user