-
Notifications
You must be signed in to change notification settings - Fork 0
Video
Ales Teska edited this page May 11, 2025
·
11 revisions
- Mode: 0x00E /
M_EGA16-color planar graphics mode. - Resolution: 640x200
- Colors: 16 (palette)
- Palette: RGB 0..63 each color component

[0/F000:0000] VgaBios running INT 10 operation 0x00
[0/3947:0012] VgaBios INT 10 00 SetVideoMode - mode 0E, Legacy
16 colors (0..15), 6 bits each component.
There is a different palette for:
-
MAIN.PCK: Splashscreen - Game
- ... ?
From dosbox-x - extracting the palette from VGA card using a debugger.
The command is defined here.
VGA DACPAL
VGA DAC info: bits=6 pel_mask=ffh pel_index[RGB]=00h
state=01h write_index=01h read_index=00h first_changed=256
hidac_counter=0 reg02=00h
VGA DAC palette (RGB):
00: 000000 3d3d3d 252525 1d1d1d-151515 000000 251500 190d00 <---- 0..7
08: 000000 00002a 002a00 002a2a-2a0000 2a002a 2a1500 2a2a2a
10: 002131 001531 001900 0a210a-152515 310000 312100 313100 <---- 8..15
18: 151515 15153f 153f15 153f3f-3f1515 3f153f 3f3f15 3f3f3f
20: 000000 00002a 002a00 002a2a-2a0000 2a002a 2a1500 2a2a2a
28: 000000 00002a 002a00 002a2a-2a0000 2a002a 2a1500 2a2a2a
30: 151515 15153f 153f15 153f3f-3f1515 3f153f 3f3f15 3f3f3f
38: 151515 15153f 153f15 153f3f-3f1515 3f153f 3f3f15 3f3f3f
40: 000000 000000 000000 000000-000000 000000 000000 000000
48: 000000 000000 000000 000000-000000 000000 000000 000000
...
The game uses entries from 00 (0..7) and then from 10 (8..15).