Make your own free website on Tripod.com
Up ] Docs Home ]

Format of MCGA+ state information

Back ] Next ]

Offset Size Description

00

DWORD address of static functionality table (see #00045)
04 BYTE video mode in effect
05 WORD number of columns
07 WORD length of regen buffer in bytes
09 WORD starting address of regen buffer
0B WORD cursor position for page 0
0D WORD cursor position for page 1
0F WORD cursor position for page 2
11 WORD cursor position for page 3
13 WORD cursor position for page 4
15 WORD cursor position for page 5
17 WORD cursor position for page 6
19 WORD cursor position for page 7
1B WORD cursor "type" (start/stop scan lines)
1D BYTE active display page
1E WORD CRTC port address
20 BYTE current setting of PORT 03x8h
21 BYTE current setting of PORT 03x9h
22 BYTE number of rows - 1
23 WORD bytes/character
25 BYTE display combination code of active display
26 BYTE DCC of alternate display
27 WORD number of colors supported in current mode (0000h = mono)
29 BYTE number of pages supported in current mode
2A BYTE number of scan lines active
0 - 200
1 - 350
2 - 400
3 - 480
2B BYTE primary character block
2C BYTE secondary character block
2D BYTE miscellaneous flags (see #00041)
2E BYTE non-VGA mode support (see #00042)
2F 2 BYTEs reserved (00h)
31 BYTE video memory available
00h = 64K
01h = 128K
02h = 192K
03h = 256K
32 BYTE save pointer state flags (see #00043)
33 BYTE display information and status (see #00044)
34 12 BYTEs reserved (00h)