diff options
Diffstat (limited to 'src/sliceitoff/display/static.py')
-rw-r--r-- | src/sliceitoff/display/static.py | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/sliceitoff/display/static.py b/src/sliceitoff/display/static.py index 8791fb0..054e6b8 100644 --- a/src/sliceitoff/display/static.py +++ b/src/sliceitoff/display/static.py @@ -3,21 +3,22 @@ INTERNAL_WIDTH = 320_000 INTERNAL_HEIGHT = 240_000 +# https://forum.vcfed.org/index.php?threads/representing-ibm-5153-color-output-more-accurately.1234458/ CGA_COLORS=[ (0x00,0x00,0x00,0xFF), - (0x00,0x00,0xAA,0xFF), - (0x00,0xAA,0x00,0xFF), - (0x00,0xAA,0xAA,0xFF), - (0xAA,0x00,0x00,0xFF), - (0xAA,0x00,0xAA,0xFF), - (0xAA,0x55,0x00,0xFF), - (0xAA,0xAA,0xAA,0xFF), - (0x55,0x55,0x55,0xFF), - (0x55,0x55,0xFF,0xFF), - (0x55,0xFF,0x55,0xFF), - (0x55,0xFF,0xFF,0xFF), - (0xFF,0x55,0x55,0xFF), - (0xFF,0x55,0xFF,0xFF), - (0xFF,0xFF,0x55,0xFF), + (0x00,0x00,0xC4,0xFF), + (0x00,0xC4,0x00,0xFF), + (0x00,0xC4,0xC4,0xFF), + (0xC4,0x00,0x00,0xFF), + (0xC4,0x00,0xC4,0xFF), + (0xC4,0x7E,0x00,0xFF), + (0xC4,0xC4,0xC4,0xFF), + (0x4E,0x4E,0x4E,0xFF), + (0x4E,0x4E,0xDC,0xFF), + (0x4E,0xDC,0x4E,0xFF), + (0x4E,0xF3,0xF3,0xFF), + (0xDC,0x4E,0x4E,0xFF), + (0xF3,0x4E,0xF3,0xFF), + (0xF3,0xF3,0x4E,0xFF), (0xFF,0xFF,0xFF,0xFF) ] |