From a5c57e777ec1c36630bbd6c04531496806ec1bca Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 28 Jun 2021 21:24:13 -0400 Subject: [PATCH] VRES appears to work negatively in attribute mode too. --- Machines/Enterprise/Nick.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Machines/Enterprise/Nick.cpp b/Machines/Enterprise/Nick.cpp index ea0f31511..02628ead0 100644 --- a/Machines/Enterprise/Nick.cpp +++ b/Machines/Enterprise/Nick.cpp @@ -412,16 +412,10 @@ void Nick::run_for(Cycles duration) { ++line_data_pointer_[1]; break; - case Mode::Attr: - // Reload the attribute address if VRES is set. - if(vres_) { - line_data_pointer_[0] = start_line_data_pointer_[0]; - } - break; - case Mode::Pixel: case Mode::LPixel: - // If VRES is clear, reload the pixel address. + case Mode::Attr: + // Reload the pixel or attribute address if VRES is clear. if(!vres_) { line_data_pointer_[0] = start_line_data_pointer_[0]; }