summaryrefslogtreecommitdiff
path: root/src/sliceitoff/display/static.py
blob: 054e6b836721098642955ae26ff4aef0fb3516f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
""" display.static - static data like resolution and colors defined here """

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,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)
]