mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
I was under-counting row lines. Adjusted comparison. The emulator now produces a solid white square of approximately correct proportions. I'm sure that filling in pixels will reveal the next set of bugs.
This commit is contained in:
parent
c2253c1e0f
commit
e3f677fa37
@ -79,7 +79,6 @@ template <class T> class CRTC6845 {
|
||||
}
|
||||
} else {
|
||||
// advance vertical counter
|
||||
bus_state_.row_address++;
|
||||
if(bus_state_.row_address == registers_[9]) {
|
||||
line_address_ = bus_state_.refresh_address;
|
||||
bus_state_.row_address = 0;
|
||||
@ -109,6 +108,7 @@ template <class T> class CRTC6845 {
|
||||
line_counter_ = 0;
|
||||
}
|
||||
} else {
|
||||
bus_state_.row_address++;
|
||||
bus_state_.refresh_address = line_address_;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user