mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-22 11:29:20 +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_;
|
||||
if(bad_line2_) {
|
||||
shifter_.write<1>(pager_.read(address));
|
||||
} else {
|
||||
const auto data = pager_.read(address + 0x400);
|
||||
shifter_.write<0>(data);
|
||||
if(bad_line()) next_character_.write(data);
|
||||
} else if(bad_line()) {
|
||||
next_character_.write(shifter_.read<0>());
|
||||
shifter_.write<0>(pager_.read(address + 0x400));
|
||||
}
|
||||
|
||||
next_attribute_.write(shifter_.read<1>());
|
||||
if(!bad_line()) next_character_.write(shifter_.read<0>());
|
||||
next_attribute_.write(shifter_.read<1>());
|
||||
next_cursor_.write(
|
||||
(flash_count_ & 0x10) &&
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user