diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-07 23:25:09 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-07 23:25:09 +0300 |
commit | 6ba20c61a04c688120161f6c5fbb56102f8082ef (patch) | |
tree | 33291a2c494b8fe5e126e31b5ce719aa0df0feec /src/sliceitoff/display | |
parent | d2e42bfa99d8bb417d8eaf365d290a071ad49b7f (diff) |
exploding sprites and groups as their own. more refactoring.
Diffstat (limited to 'src/sliceitoff/display')
-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) ] |