From 6ba20c61a04c688120161f6c5fbb56102f8082ef Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sun, 7 Apr 2024 23:25:09 +0300 Subject: exploding sprites and groups as their own. more refactoring. --- src/sliceitoff/display/static.py | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src/sliceitoff/display/static.py') 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) ] -- cgit v1.2.3