From cce8fa08e5a03f1bc983fc15aed7f2287c09f4c5 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 25 May 2015 15:08:35 -0700 Subject: [PATCH] More VGA-specific details --- modules/pcjs/lib/video.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/pcjs/lib/video.js b/modules/pcjs/lib/video.js index 16f374496..1e6b28e17 100644 --- a/modules/pcjs/lib/video.js +++ b/modules/pcjs/lib/video.js @@ -1199,6 +1199,13 @@ Card.ATC = { HORZPAN: { INDX: 0x13 // HORZ PANNING }, + COLOR_SELECT: { + INDX: 0x14, // VGA ONLY: Color Select Register + S_COLOR_7: 0x08, // selects bit 7 of 8-bit color values sent to DAC (except 256-color modes) + S_COLOR_6: 0x04, // selects bit 6 of 8-bit color values sent to DAC (except 256-color modes) + S_COLOR_5: 0x02, // selects bit 5 of 8-bit color values sent to DAC + S_COLOR_4: 0x01 // selects bit 4 of 8-bit color values sent to DAC + }, TOTAL_REGS: 0x14 };