SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-123
INT 33h, Function AX = 0014h: Swap Interrupt Subroutines
MOUSE
Swaps interrupt mask and subroutine address for previous mask and subroutine
address.
On Entry:
AH = 00h
AL = 14h
BX:DX = Subroutine address
CX = Call mask
On Return:
BX:DX = Previous subroutine address
CX = Previous call mask
INT 33h, Function AX = 0015h: Get Status Block Size
MOUSE
Gets size of status block.
On Entry:
AH = 00h
AL = 15h
On Return:
BX = Size of buffer needed to store driver state
INT 33h, Function AX = 0016h: Save Driver Status
MOUSE
Saves status of driver.
On Entry:
AH = 00h
AL = 16h
BX = Size of buffer needed to store driver status (See note)
ES:DX = Buffer to store driver status
On Return:
ES:[DX] = Buffer for driver status (copied from status block)
"
NOTE:
Although not documented by Microsoft, some drivers may require BX on input.
INT 33h, Function AX = 0017h: Restore Driver Status
MOUSE
Restores status of driver.
On Entry:
AH = 00h
AL = 17h
BX = Size of buffer needed to store driver status (see note)
ES:[DX] = Buffer containing saved status (to be copied to status block)
On Return:
None
"
NOTE:
Although not documented by Microsoft, some drivers may require BX on input Some mouse
drivers range-check the values in the saved state, based on the current video mode; thus,
restore the video mode before the mouse driver’s state is restored.
6. Conversions and
Interfaces