mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 01:32:55 +00:00
Fix comment, both grammar and content.
This commit is contained in:
parent
b3012bd89e
commit
7d728c37ee
@ -254,12 +254,10 @@ class CGA {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void serialise_pixels(const Motorola::CRTC::BusState &state) {
|
void serialise_pixels(const Motorola::CRTC::BusState &state) {
|
||||||
// This is what I think is happenings:
|
// Refresh address is shifted left and two bytes are fetched, just as if the fetch were for
|
||||||
|
// character code + attributes, but producing two bytes worth of graphics.
|
||||||
//
|
//
|
||||||
// Refresh address is still shifted left one and two bytes are fetched, just as if it were
|
// Meanwhile, row address is used as a substitute 14th address line.
|
||||||
// character code + attributes except that these are two bytes worth of graphics.
|
|
||||||
//
|
|
||||||
// Meanwhile, row address is used to invent a 15th address line.
|
|
||||||
const auto base_address =
|
const auto base_address =
|
||||||
((state.refresh_address & 0xfff) << 1) +
|
((state.refresh_address & 0xfff) << 1) +
|
||||||
((state.row_address & 1) << 13);
|
((state.row_address & 1) << 13);
|
||||||
|
Loading…
Reference in New Issue
Block a user