24. INT 13H, Disk Handler
Use
Disk drive control and I/O. MP2500 supports two ATA drives and as
standard is supplied fitted with one, an internal CompactFlash device
configured as drive C.
MP2500 also supports a diskette drive - a H
connected to COM2, accessed as drive B. A PC's drive A can also be
accessed by using comms and the ORACLE or INTERLINK utility, as
described in Part 2 (see Chapter 10, Utilities). (Note that the H
GT disk drive is no longer available.)
Entry
AH selects the function required, while other registers are used for
parameters, as follows.
Exit
On exit from an operation, if it was successful, CF=0 and AH=00H. If it was
unsuccessful, CF=1 and AH indicates the status, as follows:
AH
Status
0
Operation successful
1
Bad command or drive
2
No address mark
3
Write failed to write-protected disk
4
Sector not found
7
Bad parameter table
8
(DMA overrun error: not used)
9
DMA across 64 KByte boundary
0B
Bad track marker detected
10
ECC error
11
ECC error corrected
20
Disk controller error
40
Seek error
Chapter 24: INT 13H, Disk Handler
Oracle GT disk drive
USKY
USKY
Oracle
205