Specifications

196 AMD Geodeā„¢ GeodeROM Functional Specification
Video BIOS Support
32087C
13.2.5.3 Subfunction 02h: Restore State
Description:
Restores the state of the video controller. The value in CX is a bit field where each bit corresponds to a section of the
video controller to restore. Note that on a restore state, this value must be the same as the save state that originally
filled the save buffer.
Passed:
Returns:
13.2.6 Function 05h: VBE Set/Get Bank
The subfunctions position video memory into the memory aperture based on the granularity of the aperture (Set Bank) or
return the current bank number (Get Bank). The WinFuncPtr field of the VBEModeInfoBlock data structure returned by VBE
Function 01h can be used to call this function directly without the overhead of the INT 10h call. Note that each mode may
have a different window function. If these subfunctions are called while linear frame buffer addressing is set, they will fail
and return AH set to 03h.
13.2.6.1 Subfunction 00h: Set Bank
Passed:
Returns:
Parameter Description
AH 4Fh
AL 04h
DL 02h
CX Save/Restore flags:
Bit 0 = Standard VGA register/hardware state
Bit 1 = BIOS data state
Bit 2 = RAMDAC state
Bit 3 = Extended register/hardware state
ES:BX Pointer to save buffer
Parameter Description
AX VBE return status
Parameter Description
AH 4Fh
AL 05h
DL 00h
BL Window number:
0 = Window A
1 = Window B
DX Bank number
Parameter Description
AX VBE return status