mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-23 03:29:04 +00:00
Correct longstanding confusion over character fetch.
This commit is contained in:
parent
6197486d49
commit
233a627c9f
@ -290,14 +290,13 @@ public:
|
|||||||
const uint16_t address = video_matrix_base_ + video_counter_;
|
const uint16_t address = video_matrix_base_ + video_counter_;
|
||||||
if(bad_line2_) {
|
if(bad_line2_) {
|
||||||
shifter_.write<1>(pager_.read(address));
|
shifter_.write<1>(pager_.read(address));
|
||||||
} else {
|
} else if(bad_line()) {
|
||||||
const auto data = pager_.read(address + 0x400);
|
next_character_.write(shifter_.read<0>());
|
||||||
shifter_.write<0>(data);
|
shifter_.write<0>(pager_.read(address + 0x400));
|
||||||
if(bad_line()) next_character_.write(data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
next_attribute_.write(shifter_.read<1>());
|
|
||||||
if(!bad_line()) next_character_.write(shifter_.read<0>());
|
if(!bad_line()) next_character_.write(shifter_.read<0>());
|
||||||
|
next_attribute_.write(shifter_.read<1>());
|
||||||
next_cursor_.write(
|
next_cursor_.write(
|
||||||
(flash_count_ & 0x10) &&
|
(flash_count_ & 0x10) &&
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user