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:
parent
ae49505e67
commit
2e8d9018ef
@ -352,11 +352,18 @@ public:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case VideoMode::Text:
|
case VideoMode::Text:
|
||||||
|
case VideoMode::MulticolourText:
|
||||||
pixels = pager_.read(uint16_t(
|
pixels = pager_.read(uint16_t(
|
||||||
character_base_ + (character << 3) + vertical_sub_count_
|
character_base_ + (character << 3) + vertical_sub_count_
|
||||||
)) ^ cursor;
|
)) ^ cursor;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VideoMode::ExtendedColourText:
|
||||||
|
pixels = pager_.read(uint16_t(
|
||||||
|
character_base_ + ((character & 0x3f) << 3) + vertical_sub_count_
|
||||||
|
)) ^ cursor;
|
||||||
|
break;
|
||||||
|
|
||||||
case VideoMode::BitmapMulticolour:
|
case VideoMode::BitmapMulticolour:
|
||||||
case VideoMode::BitmapHighRes:
|
case VideoMode::BitmapHighRes:
|
||||||
pixels = pager_.read(uint16_t(
|
pixels = pager_.read(uint16_t(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user