| |
INT 10 - VIDEO - SAVE/RESTORE VIDEO STATE (PS50+,VGA)
Input |
Output |
AX
|
1Ch |
00h |
|
1Ch if Success |
AX |
BX
|
|
|
Number
of 64 byte blocks needed |
BX |
CX
|
Requested
States |
|
|
CX |
DX
|
|
|
|
|
DX |
ES:DI |
|
|
ES:DI |
Return State Buffer Size
Input |
Output |
AX
|
1Ch |
01h |
|
1Ch if Success |
AX |
|
|
|
|
|
BX |
CX
|
|
|
|
|
CX |
DX
|
|
|
|
|
DX |
ES:BX |
Pointer
to Buffer |
|
ES:DI |
Save Video State
Input |
Output |
AX
|
1Ch |
02h |
|
1Ch if Success |
AX |
BX
|
|
|
|
|
BX |
CX
|
|
|
|
|
CX |
DX
|
|
|
|
|
DX |
ES:DI |
Pointer
to Buffer |
|
ES:DI |
Restore Video State
Requested
States |
Bit |
Dec |
Hex |
Description |
0 |
1 |
0001h |
Video hardware |
1 |
2 |
0002h |
BIOS data areas |
2 |
4 |
0004h |
Color Register and DAC
states |
3 |
8 |
0008h |
Reserved |
4 |
16 |
0010h |
5 |
32 |
0020h |
6 |
64 |
0040h |
7 |
128 |
0080h |
8 |
256 |
0100h |
9 |
512 |
0200h |
10 |
1024 |
0400h |
11 |
2048 |
0800h |
12 |
4096 |
1000h |
13 |
8192 |
2000h |
14 |
16384 |
4000h |
15 |
32768 |
8000h |
|