1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Fix Apple II/II+/IIe first hbl byte read addresses

Closes #1180
This commit is contained in:
Ryan Schmidt 2023-10-25 00:27:18 -05:00
parent c272632b5a
commit 98730f1f90

View File

@ -153,6 +153,11 @@ template <class BusHandler, bool is_iie> class Video: public VideoBase {
// Remember if we're in a horizontal blanking interval.
int hbl = mapped_column < 25;
// The first column is read twice.
if(mapped_column == 0) {
mapped_column = 1;
}
// Vertical blanking rows read eight bytes earlier.
if(mapped_row >= 192) {
mapped_column -= 8;