1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-26 10:29:31 +00:00

Per the IIgs tech note, this value works the other way around.

This commit is contained in:
Thomas Harte 2020-11-07 23:15:07 -05:00
parent 3bb3d8c5c1
commit 81c38c7200

View File

@ -174,7 +174,10 @@ template <class BusHandler, bool is_iie> class Video: public VideoBase {
// Apply carry into the row counter and test it for location.
int mapped_row = row_ + (mapped_column / 65);
return (mapped_row % 262) >= 192;
// Per http://www.1000bit.it/support/manuali/apple/technotes/iigs/tn.iigs.040.html
// "on the IIe, the screen is blanked when the bit is low".
return (mapped_row % 262) < 192;
}
private: