summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-11-01 03:09:49 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2016-11-01 03:09:49 (GMT)
commitcbe0224a895f19835cc56fa9a4b0e2d322006155 (patch)
tree520dba74ca7d5093f6cbddac615542115b0bfc3b
parentc1d00c83383834613ec98b2af435a81ac9e673d5 (diff)
downloadabc80-cbe0224a895f19835cc56fa9a4b0e2d322006155.zip
abc80-cbe0224a895f19835cc56fa9a4b0e2d322006155.tar.gz
abc80-cbe0224a895f19835cc56fa9a4b0e2d322006155.tar.bz2
abc80-cbe0224a895f19835cc56fa9a4b0e2d322006155.tar.xz
Minor video fixes
Allow amber monitor, don't invert output in test pattern. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--abc80.v2
-rw-r--r--display.v2
2 files changed, 2 insertions, 2 deletions
diff --git a/abc80.v b/abc80.v
index b2f2acc..253fc24 100644
--- a/abc80.v
+++ b/abc80.v
@@ -414,7 +414,7 @@ module abc80 (
// shown, just permuted.
assign vga_r = {2{rgb[5:4] ^ ({2{sw[4]}} & rgb[3:2])}};
assign vga_g = {2{rgb[3:2]}};
- assign vga_b = {2{rgb[1:0] ^ ({2{sw[4]}} & rgb[3:2])}};
+ assign vga_b = {2{rgb[1:0] ^ ({2{sw[3]}} & rgb[3:2])}};
// ------------------------------------------------------------------------
// External SRAM
diff --git a/display.v b/display.v
index 8e539d4..b2f0015 100644
--- a/display.v
+++ b/display.v
@@ -246,7 +246,7 @@ module display (
rgb <= 6'b000000; // Blank
else if ( testpattern )
// Pixel test pattern for LCD monitor calibration
- rgb <= {6{x[0] ^ y[0]}} ^ {6{invert}};
+ rgb <= {6{x[0] ^ y[0]}};
else if ( ~fgctl_q[7] & pixrow[5]
& ~(do_flsh & ~flash_on)
& ~(do_hide & ~reveal) )