當AH = 0x00 /*Reset Disk System*/
= 0x05 /*Format Track*/
= 0x09 /*Initialize Controller with Drive Parameters*/
= 0x0C /*Seek to Cylinder*/
= 0x0D /*Reset Hard Disk*/
= 0x11 /*Recalibrate Hard Disk(硬碟重新校正)*/
= 0x14 /*Controller Internal Diagnostic*/
= 0x18 /*Set media type for Format*/
= 0x44 /*Verify Sectors*/
= 0x4C /*Bootable CD-ROM Initiate Disk Emulation and Boot*/
= 0x4D /*Bootable CD-ROM Return Boot Catalog*/
以上這些中斷向量必須回傳AX = 0x0000, Flag Register CF = 0
當AH = 0x06 /*Format Track and Set BAD Sector Flags*/
= 0x07 /*Format Driver Starting at Given Track*/
= 0x0A /*Read Long Sectors*/
= 0x0B /*Write Long Sectors*/
= 0x0E /*Read Sector Buffer*/
= 0x0F /*Write Sector Buffer*/
= 0x12 /*Controller RAM Diagnostic*/
= 0x13 /*Drive Diagnostic*/
= 0x45 /*Lock/Unlock Drive*/
= 0x46 /*Eject Media*/
= 0x49 /*Extended Media Change*/
以上這些中斷向量必須回傳AH = 0x01, Flag Register CF = 1
沒有留言:
張貼留言