1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Corrects IWM clocking.

This commit is contained in:
Thomas Harte 2020-11-12 18:09:31 -05:00
parent a2a928e262
commit 86310849eb

View File

@ -54,8 +54,8 @@ class ConcreteMachine:
m65816_(*this), m65816_(*this),
iwm_(CLOCK_RATE), iwm_(CLOCK_RATE),
drives_{ drives_{
{CLOCK_RATE, true}, {CLOCK_RATE / 2, true},
{CLOCK_RATE, true} {CLOCK_RATE / 2, true}
}, },
audio_toggle_(audio_queue_), audio_toggle_(audio_queue_),
speaker_(audio_toggle_) { speaker_(audio_toggle_) {
@ -676,7 +676,7 @@ class ConcreteMachine:
JustInTimeActor<Apple::IIgs::Video::Video, 1, 2, Cycles> video_; // i.e. run video at twice the 1Mhz clock. JustInTimeActor<Apple::IIgs::Video::Video, 1, 2, Cycles> video_; // i.e. run video at twice the 1Mhz clock.
Apple::IIgs::ADB::GLU adb_glu_; Apple::IIgs::ADB::GLU adb_glu_;
Zilog::SCC::z8530 scc_; Zilog::SCC::z8530 scc_;
JustInTimeActor<Apple::IWM, 1, 1, Cycles> iwm_; JustInTimeActor<Apple::IWM, 1, 2, Cycles> iwm_;
Cycles cycles_since_clock_tick_; Cycles cycles_since_clock_tick_;
Apple::Macintosh::DoubleDensityDrive drives_[2]; Apple::Macintosh::DoubleDensityDrive drives_[2];