If the flexible disc drive supports a disc change line then this function reports the status of the
disc change line. If the routine indicates that the disc has been changed then the programmer
must take the appropriate actions to update the system to use the new media placed in the
drive. The 1.2MB drive supports a disc change line.
On Entry:
AH
=
F13_CHG_STATUS(16H)
DL
=
device number (0-1)
On Exit:
AH
=
00
=
disc change line not active
06
=
disc change line active, Carry Flag will be set
Registers Altered:
AH
This function must be called before the format function (AH
=
OSH) can be used to format a
flexible disc. Based on the DASD type passed in as a parameter, registers in the flexible disc
controller are initialized for the programmer.
On Entry:
AH
=
F13_SET_DASD (17H)
AL
=
DASD~pecode
00
=
not used
01
=
320KB/360KB media in 320KB/360KB drive
02
=
320KB/360KB media in 1.2MB drive
03
=
1.2 MB media in 1.2MB drive
DL
=
device number (0-1)
On Exit:
AH
=
Return Status
Registers Altered:
AH
8.4
Return Status Codes for INT 13H
There are two status signals returned to an INT 13H programmer. The first is the Carry Flag in the
Processor Status Word. If any kind of error occurs this flag is set ("1"). If the function was
successful then the Carry flag is cleared ("0").
258
Disc
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers