SECTION 6
Conversions and Interfaces
6-54 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
Disk Services: INT 13h
BIOS
Disk Services perform I/O to RAM, flash, and PC Card devices. The partitioning
of RAM and flash for mass storage and the assignment of drive letters are
determined at system configuration. Error Codes:
Code (Hex)
Description
00
No error
01
Invalid function or parameter
03
WriteĆprotect error
04
Sector not found
05
Reset failed
06
Disk change line active
07
Drive parameter activity failed
08
DMA overrun operation
09
Data boundary error
0A
BadĆsector flag detected
0B
Bad cylinder detected
0C
Media type not found
0D
Invalid number of sectors on format
0E
Control data address mark detected
0F
DMA arbitration level out of range
10
Uncorrectable ECC or CRC error
20
General controller failure
40
Seek operation failed
80
Timeout
AA
Drive not ready or not selected
BB
Undefined error occurred
CC
Write fault on selected drive
E0
Status error/error register = 0
FF
Sense operation failed
INT 13h, Function AH = 00h: Reset Disk System
BIOS
(Unsupported)
Always returns carry flag clear and AH = 0. See the Error Codes
table (page 6Ć54) for definitions.
On Entry:
AH = 00h
DL = Drive number
On Return:
if successful:
Carry = 0
AH = 0
if NOT successful:
Carry = 1
AH = Drive status
6. Conversions and
Interfaces