Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_10:int_10_1b

INT 0x10 - 0x1b - Video BIOS Functionality and State (PS,VGA/MCGA)

Request/Call:

reg value descr
AH 0x1b
BX 0x00 implementation type (must be zero)
ES:DI ptr pointer to 64 byte buffer

Return:

reg descr
AL 0x1B
ES:DI pointer to updated buffer (see below)

Video BIOS Dynamic Functionality State Table (MCGA/VGA)

offset size Descr.
00 dword address of static funtionality table (see static table below)
04 byte video mode (see info 1 below)
05 word number of columns
07 word length of displayed video buffer (# bytes)
09 word start address of upper left corner of video buffer
0B 16 bytes cursor position table for 8 pages (col,row)
1B byte cursor end line
1C byte cursor start line
1D byte active video page
1E word I/O port for CRTC address register
20 byte current value of CRTC 3×8 register
21 byte current value of CRTC 3×9 register
22 byte number of displayed character rows
23 word height of character matrix (points)
25 byte active display combination code
26 byte inactive display combination code
27 word number of displayed colors (mono = 0)
29 byte number of supported video pages
2A byte raster scan lines 0=200, 1=350, 2=400, 3=480
2B byte text character table used
2C byte text character table used
2D byte other state information (see info 2 below)
2E 3 bytes reserved (00h)
31 byte video RAM available 0=64K, 1=128K, 2=192K, 3=256K
32 byte save area status (see info 3 below)
33 dword reserved (00h)

static functionnality table

Offset Size Description
00h BYTE modes supported #1
bit 0 to bit 7 if set : modes 0,1,2,3,4,5,6 supported
01h BYTE modes supported #2
bit 0 to bit 7 if set : modes 8,9,0Ah,0Bh,0Ch,0Dh,0Eh,0Fh supported
02h BYTE modes supported #3
bit 0 to bit 3 if set : modes 10h,11h,12h,13h supported
bit 4 to bit 7 reserved
03h 4 BYTEs reserved
07h BYTE scan lines supported
bit 0 to bit 2 = 1 if scan lines 200,350,400 supported
08h BYTE total number of character blocks available in text modes
09h BYTE maximum number of active character blocks in text modes
0Ah BYTE miscellaneous function flags #1
bit 0 all modes on all displays function supported
bit 1 gray summing function supported
bit 2 character font loading function supported
bit 3 default palette loading enable/disable supported
bit 4 cursor emulation function supported
bit 5 EGA palette present
bit 6 color palette present
bit 7 color paging function supported
0Bh BYTE miscellaneous function flags #2
bit 0 light pen supported
bit 1 save/restore state function 1Ch supported
bit 2 intensity blinking function supported
bit 3 Display Combination Code supported
bit 4-7 reserved
0Ch WORD reserved
0Eh BYTE save pointer function flags
bit 0 512 character set supported
bit 1 dynamic save area supported
bit 2 alpha font override supported
bit 3 graphics font override supported
bit 4 palette override supported
bit 5 DCC extension supported
bit 6 reserved
bit 7 reserved
0Fh BYTE reserved

info byte 2 : State Information byte at offset 2D

bit descr
0 1 = all modes active (MCGA always 0)
1 1 = gray scale summing enabled
2 1 = monochrome display attached
3 1 = default palette loading disabled
4 1 = cursor emulation enabled
5 1 = blinking attribute enabled
6 1 = PS/2 P70 plasma display (without 9-dot wide font) active
7 1 = reserved

info byte 3 : Save Area Status

bit descr
0 1 = two text char sets are active
1 1 = dynamic save area is active
2 1 = text char set override is active
3 1 = graphics char set is override active
4 1 = palette override is active
5 1 = display combination code ext. active
6-7 reserved

Notes

  • returns static and dynamic information about the current state and capabilities of the current video system
  • bytes 0-3 of the dynamic data table at ES:DI contain a far pointer to the video static information table

Back

back2root/ibm-pc-ms-dos/interrupts/int_10/int_10_1b.txt · Dernière modification : de frater