Appendix
App-24
PL-5700 Series User’s Manual
Operatio n
Input
O
utput
Hard disk drive
parameter
initialization
AH =
DL =
09h
Drive No.
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
Hard dis k seek
AH =
C H =
C L =
DL =
DH =
0Ch
Ins ignificant 8 bits in
cylinder No.
S ignificant 2 bits in
cylinder No.
Drive No.
Head No.
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
Hard dis k drive
res et
AH =
DL =
0Dh
Drive No.
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
Hard dis k drive
ready check
AH =
DL =
10h
Drive No.
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
Hard dis k drive
recalibration
AH =
DL =
11h
Drive No.
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
Dis k type check
AH =
DL =
15h
Drive No.
C Y=
=
C X:DX
=
AH =
=
=
=
0: S ucces s fully completed
1: Error
Total number of sectors (HDD
only)
00h: No disk
01h: F loppy dis k unchanged
02h: Disk was changed
03h: Hard disk
Media change
check
AH =
DL =
16h
Drive No.
AH =
=
=
=
00h: Disk unchanged
01h: Inconsistent parameter
06h: Disk was changed (C arry bit
ON)
80h: Drive not ready
S etti ng drive type
for formatti ng
AH =
DL =
AL =
17h
Drive No.
0: No dis k
1: Use 2-sided dis k on 2-
s ided drive.
2: Use 2-sided dis k on
high-dens ity
2: drive.
3: Use 2HD disk on high-
density drive.
4: Use 720K dis kon 720K-
byte drive.
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
S etti ng media type
for formatti ng
AH =
C H =
C L =
DL =
18h
Ins ignificant 8 bits in 10 bit
value for max. number of
tracks
B its 7 & 6: 10 bit value for
max.
B its 7 & 6: number of
tracks
B its 5 - 0: Max. number of
s ectors
per track
Drive No.
E S:DI
=
AH =
AH =
AH =
Address of drive parameter table
for floppy dis k type
00h and CY =0: S upports tracks
and number
00h or C Y=0:
of tracks per
s ector.
01h and C Y=1: Cannot us e
function.
00h and CY =1: Does not support
tracks and
00h or C Y=1:
number of tracks
per sector.