mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Reverts previous unevidenced change.
This commit is contained in:
parent
487fe83dca
commit
bdda701207
@ -171,21 +171,21 @@ template <class T> class CRTC6845 {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
line_counter_ = (line_counter_ + 1) & 0x7f;
|
line_counter_ = (line_counter_ + 1) & 0x7f;
|
||||||
|
|
||||||
|
// check for start of vertical sync
|
||||||
|
if(line_counter_ == registers_[7]) {
|
||||||
|
bus_state_.vsync = true;
|
||||||
|
vsync_counter_ = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check for end of visible lines
|
||||||
|
if(line_counter_ == registers_[6]) {
|
||||||
|
line_is_visible_ = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
bus_state_.row_address = (bus_state_.row_address + 1) & 0x1f;
|
bus_state_.row_address = (bus_state_.row_address + 1) & 0x1f;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for start of vertical sync
|
|
||||||
if(line_counter_ == registers_[7]) {
|
|
||||||
bus_state_.vsync = true;
|
|
||||||
vsync_counter_ = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// check for end of visible lines
|
|
||||||
if(line_counter_ == registers_[6]) {
|
|
||||||
line_is_visible_ = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bus_state_.refresh_address = line_address_;
|
bus_state_.refresh_address = line_address_;
|
||||||
|
Loading…
Reference in New Issue
Block a user