diff --git a/Components/6845/CRTC6845.hpp b/Components/6845/CRTC6845.hpp index 3b366691a..51b798b21 100644 --- a/Components/6845/CRTC6845.hpp +++ b/Components/6845/CRTC6845.hpp @@ -112,13 +112,11 @@ public: case 6: layout_.vertical.displayed = value & 0x7f; break; case 7: layout_.vertical.start_sync = value & 0x7f; break; case 8: - // TODO: an error elsewhere appears to cause modes other than InterlaceMode::Off never to hit - // vertical sync. -// switch(value & 3) { -// default: layout_.interlace_mode_ = InterlaceMode::Off; break; -// case 0b01: layout_.interlace_mode_ = InterlaceMode::Sync; break; -// case 0b11: layout_.interlace_mode_ = InterlaceMode::SyncAndVideo; break; -// } + switch(value & 3) { + default: layout_.interlace_mode_ = InterlaceMode::Off; break; + case 0b01: layout_.interlace_mode_ = InterlaceMode::Sync; break; + case 0b11: layout_.interlace_mode_ = InterlaceMode::SyncAndVideo; break; + } // Per CPC documentation, skew doesn't work on a "type 1 or 2", i.e. an MC6845 or a UM6845R. if(personality != Personality::UM6845R && personality != Personality::MC6845) { diff --git a/Machines/Acorn/BBCMicro/BBCMicro.cpp b/Machines/Acorn/BBCMicro/BBCMicro.cpp index c22f55432..13cf9d147 100644 --- a/Machines/Acorn/BBCMicro/BBCMicro.cpp +++ b/Machines/Acorn/BBCMicro/BBCMicro.cpp @@ -120,9 +120,9 @@ struct SystemVIAPortHandler: public MOS::MOS6522::IRQDelegatePortHandler { audio_(audio), video_base_(video_base), via_(via) { // Set initial mode to mode 0. - set_key(7, true); - set_key(8, true); - set_key(9, true); +// set_key(7, true); +// set_key(8, true); +// set_key(9, true); } // CA2: key pressed;