1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-10 00:29:40 +00:00

Add other address modes.

This commit is contained in:
Thomas Harte 2025-01-02 15:09:37 -05:00
parent ae49505e67
commit 2e8d9018ef

View File

@ -352,11 +352,18 @@ public:
break;
case VideoMode::Text:
case VideoMode::MulticolourText:
pixels = pager_.read(uint16_t(
character_base_ + (character << 3) + vertical_sub_count_
)) ^ cursor;
break;
case VideoMode::ExtendedColourText:
pixels = pager_.read(uint16_t(
character_base_ + ((character & 0x3f) << 3) + vertical_sub_count_
)) ^ cursor;
break;
case VideoMode::BitmapMulticolour:
case VideoMode::BitmapHighRes:
pixels = pager_.read(uint16_t(