Appendix
App-23
PL-5700 Series User’s Manual
Operatio n
Input
O
utput
Writing sector
AH =
AL =
C H =
C L =
C H =
C L =
=
DH =
DL =
E S:BX =
03h
Number of s ectors
Track No.
S ector No.
C ylinder No. Insignificant 8
bits
S ector No. (B its 0 - 6)
C ylinder No. Significant2 bits
(Bits7-8)
Head No.
Drive No. ( FDD: 00h - 01h,
Drive No. ( HDD: 80h - 81h)
B uffer address
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
S ector content
check
AH =
AL =
C H =
C L =
C H =
C L =
=
DH =
DL =
04h
Number of s ectors
Track No.
S ector No.
C ylinder No. Insignificant 8
bits
S ector No. (B its 0 - 6)
C ylinder No. Significant2 bits
(Bits7- 8)
Head No.
Drive No. ( FDD: 00h - 01h,
Drive No. ( HDD: 80h - 81h)
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
Track/C ylinder
format
AH =
AL =
C L =
DH =
DL =
E S:BX =
05h
Track/C ylinder No.
Ins ignificant 8 bits
Track/C ylinder No.
S ignificant 2 bits (Bits 7 - 8 )
Head No.
Drive No.
Top address in format data
table
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
R eading drive
parameters
AH =
DL =
08h
Drive No. ( FDD: 00h - 01h,
Drive No. ( HDD: 80h - 81h)
C Y=
=
AH =
0: S ucces s fully completed
1: Error
S tatus
W hen F DD drive No. specified in DL
E S:DI
=
C H =
C L =
DH =
DL =
B L =
Drive parameter s tarting
address
Ins ignificant 8 bits in 10 bit
value for max. number of tracks
B its 7 & 6: Ins ignificant 2 bits
in 10 bit value
for max. number of
tracks
B its 5 - 0: Max. number of
s ectors per track
Max. number of heads
Number of built-in floppy dis k
drives
B its 3 - 0: C MOS valid drive
type value
B its 7 - 4: F ixed to 0
W hen HDD drive No. specified in DL
C H =
C L =
DH =
DL =
Max. number of cylinders
Max. number of usable s ectors
and Significant bit in max.
number of cylinders Max.
number of usable heads
Number of built-in hard dis k
drives