mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Fixes text output window.
This commit is contained in:
parent
287bfeb924
commit
32374444ba
@ -179,7 +179,7 @@ void VideoBase::output_row(int row, int start, int end) {
|
|||||||
if(next_pixel_) {
|
if(next_pixel_) {
|
||||||
uint16_t row_address = get_row_address(row);
|
uint16_t row_address = get_row_address(row);
|
||||||
for(int c = start; c < end_of_period; c++) {
|
for(int c = start; c < end_of_period; c++) {
|
||||||
const uint8_t source = ram_[row_address + c];
|
const uint8_t source = ram_[row_address + c - start_of_pixels];
|
||||||
const int character = source & character_zones_[source >> 6].address_mask;
|
const int character = source & character_zones_[source >> 6].address_mask;
|
||||||
const uint8_t xor_mask = character_zones_[source >> 6].xor_mask;
|
const uint8_t xor_mask = character_zones_[source >> 6].xor_mask;
|
||||||
const std::size_t character_address = size_t(character << 3) + (row & 7);
|
const std::size_t character_address = size_t(character << 3) + (row & 7);
|
||||||
|
@ -67,7 +67,7 @@ class VideoBase: public Apple::II::VideoSwitches<Cycles> {
|
|||||||
|
|
||||||
// The modal colours.
|
// The modal colours.
|
||||||
uint16_t border_colour_ = 0;
|
uint16_t border_colour_ = 0;
|
||||||
uint16_t text_colour_ = 0xfff;
|
uint16_t text_colour_ = 0xffff;
|
||||||
uint16_t background_colour_ = 0;
|
uint16_t background_colour_ = 0;
|
||||||
|
|
||||||
// Current pixel output buffer.
|
// Current pixel output buffer.
|
||||||
|
Loading…
Reference in New Issue
Block a user