From 3b1db148171ab8ea306fe51b2232e2377016eba1 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 1 Aug 2017 07:36:03 -0400 Subject: [PATCH] Made a quick attempt at properly updating the refresh address. --- Components/6845/CRTC6845.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Components/6845/CRTC6845.hpp b/Components/6845/CRTC6845.hpp index 97130dd2a..b35c69d34 100644 --- a/Components/6845/CRTC6845.hpp +++ b/Components/6845/CRTC6845.hpp @@ -55,6 +55,11 @@ template class CRTC6845 { character_is_visible_ = false; } + // update refresh address + if(character_is_visible_) { + bus_state_.refresh_address++; + } + // check for end-of-line if(character_counter_ == registers_[0]+1) { character_counter_ = 0;