diff options
Diffstat (limited to 'src/sliceitoff/display/static.py')
-rw-r--r-- | src/sliceitoff/display/static.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/sliceitoff/display/static.py b/src/sliceitoff/display/static.py index a9f487a..8791fb0 100644 --- a/src/sliceitoff/display/static.py +++ b/src/sliceitoff/display/static.py @@ -1,2 +1,23 @@ +""" display.static - static data like resolution and colors defined here """ + INTERNAL_WIDTH = 320_000 INTERNAL_HEIGHT = 240_000 + +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), + (0xFF,0xFF,0xFF,0xFF) +] |