mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Default to ROM01.
This commit is contained in:
parent
a6221ca322
commit
7e5fc4444a
@ -29,7 +29,7 @@ struct Target: public Analyser::Static::Target, public Reflection::StructImpl<Ta
|
||||
EightMB
|
||||
);
|
||||
|
||||
Model model = Model::ROM03;
|
||||
Model model = Model::ROM01;
|
||||
MemoryModel memory_model = MemoryModel::EightMB;
|
||||
|
||||
Target() : Analyser::Static::Target(Machine::AppleIIgs) {
|
||||
|
@ -277,6 +277,11 @@ class ConcreteMachine:
|
||||
// std::srand(23);
|
||||
Memory::Fuzz(ram_);
|
||||
|
||||
// Prior to ROM03 there's no power-on bit.
|
||||
if(target.model != Target::Model::ROM03) {
|
||||
speed_register_ &= ~0x40;
|
||||
}
|
||||
|
||||
// Sync up initial values.
|
||||
memory_.set_speed_register(speed_register_ ^ 0x80);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user