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

Made a quick attempt at properly updating the refresh address.

This commit is contained in:
Thomas Harte 2017-08-01 07:36:03 -04:00
parent 10a5581aea
commit 3b1db14817

View File

@ -55,6 +55,11 @@ template <class T> 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;