SECTION 6
Conversions and Interfaces
6-98 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
INT 15h, Function AH = 80h: Device Open
BIOS
Default BIOS returns with AH = 0 and carry flag clear.
On Entry:
AH = 80h
BX = Device ID
CX = Process ID
On Return:
If successful:
Carry = 0
AH = 0
AL = Undefined
If NOT successful:
Carry = 1
AH = Error Code
AL = Undefined
INT 15h, Function AH = 81h: Device Close
BIOS
Default BIOS returns with AH = 0 and carry flag clear.
On Entry:
AH = 81h
BX = Device ID
CX = Process ID
On Return:
If successful:
Carry = 0
AH = 0
AL = Undefined
If NOT successful:
Carry = 1
AH = Error Code
AL = Undefined
INT 15h, Function AH = 82h: Program Termination
BIOS
Default BIOS returns with AH = 0 and carry flag clear.
On Entry:
AH = 82h
BX = Process ID
On Return:
If successful:
Carry = 0
AH = 0
AL = Undefined
If NOT successful:
Carry = 1
AH = Error Code
AL = Undefined
6. Conversions and
Interfaces