mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-01 10:05:55 +00:00
Permitted register 3 to dictate vertical sync length.
This commit is contained in:
parent
d9097facf1
commit
26ce6cdab2
@ -106,7 +106,8 @@ template <class T> class CRTC6845 {
|
|||||||
// check for start of vertical sync
|
// check for start of vertical sync
|
||||||
if(line_counter_ == registers_[7]) {
|
if(line_counter_ == registers_[7]) {
|
||||||
bus_state_.vsync = true;
|
bus_state_.vsync = true;
|
||||||
vsync_down_counter_ = 16; // TODO
|
vsync_down_counter_ = registers_[3] >> 4;
|
||||||
|
if(!vsync_down_counter_) vsync_down_counter_ = 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for entry into the overflow area
|
// check for entry into the overflow area
|
||||||
|
Loading…
Reference in New Issue
Block a user