Page 9.12
Disk Drives
Error Status Codes
All of the drive function calls will return a status code in register AH upon comple-
tion. AH will either contain 0 if the carry flag is not set, or a value representing
a specific error if the carry flag is set. Table 9.9 defines the error codes.
Table 9.9. Drive Error Codes
C ODE
ERR O R
01
02
04
05
07
08
09
10
20
40
80
Bad CRC on diskette.
lost.
bus or a bus interface hardware failure.
Bad command.
Illegal command was given to I/O routine.
Bad address mark.
The controller did not find an address mark.
Write protect.
A write or format operation was attempted but disk was write protected.
Winchester controller reset failed.
Controller did not accept drive parameters.
DMA overflow.
DMA controller could not keep up with disk data and information was
Usually results from excessive DMA access from other devices on the da,
DMA boundary error.
Hardware is incapable of transferring sector information across 64K bound-
aries. Can be corrected by reducing sector count in AL or by changing
buffer pointer so that entire transfer area can reside within a single segment.
Specified record was found, but CRC for the data did not match what was
calculated by the controller. On Winchester drives, flags that an error oc-
curred which could not be rectified by the ECC circuitry.
Winchester drives only.
Indicates that an ECC error occurred but controller was unable to reconstruct
lost data.
Disk controller card is defective.
Bad seek
Controller attempted to move read/write head to specified track, but could
not find sector header on that track which matched the correct track number.
Time-out error.
Occurs when a command has been issued to the controller, but is n«
completed within a reasonable amount of time.
Undefined error, usually bad controller.
Winchester only.
Indicates that a sense drive status operation failed.
BB
FF
Summary of Contents for Z-100 Series
Page 1: ...P rogramm e r s Reference Manual I I data systems...
Page 2: ...P rogramm e r s Reference Manual Z 100 PC Series Computers fAPIFH data systems...
Page 11: ......
Page 13: ......
Page 17: ......
Page 39: ......
Page 57: ......
Page 70: ...Page5 13 Keyboard...
Page 71: ...page5 14 Keyboard 0 a o o o 4 z 0 P 44 9p o o 5 x D x C x C O C C C 0 x CD C j a...
Page 72: ...Page 5 15 Keyboard...
Page 81: ...Page 6 4 System Memoly mi gg im mm MEMORY CARD Figure 6 1 Memory Canl Select Jumper locations...
Page 110: ...Page 7 21 Video Graphics Programming...
Page 111: ...page 7 22 Video Graphics Programming...
Page 133: ......
Page 145: ......
Page 157: ......