From ae48ad1bb4fd38535d3653cfc3a52ab2efc231a9 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 12 Oct 2016 22:03:54 -0400 Subject: [PATCH] Meaningful text! Albeit with the initial 'O' of 'Oric' missing. I guess control codes and NMIs next? --- Machines/Oric/Video.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Machines/Oric/Video.cpp b/Machines/Oric/Video.cpp index 3a2a0d4b7..e0a647d98 100644 --- a/Machines/Oric/Video.cpp +++ b/Machines/Oric/Video.cpp @@ -73,11 +73,11 @@ void VideoOutput::run_for_cycles(int number_of_cycles) { int address = 0xbb80 + (_counter >> 9) * 40 + h_counter; uint8_t character = _ram[address]; - pixels = character;//_ram[character * 8 + ((_counter >> 6) & 7)]; + pixels = _ram[0xb400 + character * 8 + ((_counter >> 6) & 7)]; } - _pixel_target[0] = ((pixels & 0x01) ? 0xf : 0x0) | ((pixels & 0x02) ? 0xf0 : 0x00); + _pixel_target[0] = ((pixels & 0x10) ? 0xf : 0x0) | ((pixels & 0x20) ? 0xf0 : 0x00); _pixel_target[1] = ((pixels & 0x04) ? 0xf : 0x0) | ((pixels & 0x08) ? 0xf0 : 0x00); - _pixel_target[2] = ((pixels & 0x10) ? 0xf : 0x0) | ((pixels & 0x20) ? 0xf0 : 0x00); + _pixel_target[2] = ((pixels & 0x01) ? 0xf : 0x0) | ((pixels & 0x02) ? 0xf0 : 0x00); _pixel_target += 3; } }