MEM 0040h:0041h - DISKETTE - LAST OPERATION STATUS
Size: BYTE
BUGS: Xi8088 BIOS version 0.9.4 fails to set DS (to 0040h) when it
wants to write to this variable, upon encountering any
unsupported INT 13 function, see INT 13/AH=41h"INT 13 Ext"
SeeAlso: MEM 0040h:003Eh,MEM 0040h:0042h,INT 13/AH=01h
Bitfields for diskette last operation status:
Bit(s) Description (Table M0014)
7 drive not ready
6 seek error
5 general controller failure
4-0 error reason
00h no error
01h invalid request/parameter
02h address mark not found
03h write-protect error
04h sector not found
06h diskette change line active
08h DMA overrun
09h DMA across 64k boundary
0Ch media type unknown
10h CRC error on read
Notes: the following values for this byte differ somewhat from the
bitfield definition above:
30h drive does not support media sense
31h no media in drive
32h drive does not support media type
AAh diskette drive not ready