INT 13H (0x13)
Function 4B00H (0x4B00) --> Terminate Disk Emulation
(Bootable CD-ROM)
Call with: AX = 4B00H
DL = Drive number (or 7FH to terminate
all emulations)
DS:SI = Empty specification packet
Return: If Function Successful,
Carry Flag = Clear
If Function Unsuccessful,
Carry Flag = Set
AX = Status code
DS:SI = Specification packet filled
Comments:
This Function is used to terminate the disk emulation. If you want to terminate all emulations, call the function with DL = 7FH. If the Function is successful, the carry flag is clear, else carry flag is set and AX register returns status code and the drive remains in emulation mode.
INT 13H (0x13)
Function 4B01H (0x4B01) --> Get Status (Bootable CD- ROM)
Call with: AX = 4B01H
DL = Drive number
DS:SI = Empty specification packet
Return: If Function Successful,
Carry Flag = Clear
If Function Unsuccessful,
Carry Flag = Set
AX = Status code
DS:SI = Specification packet filled
Comments:
The Function is used to get the status. If the Function is successful, the carry flag is clear, else carry flag is set and AX register returns status code
INT 13H (0x13)
Function 4CH (0x4C or 76) --> Initiate Disk Emulation and Boot (Bootable CD-ROM)
Call with: AH = 4CH
AL = 00H
DS:SI = Specification packet
Return: If Function Successful,
Nothing
If Function Unsuccessful,
Carry Flag = Set
AX = Status code
Comments:
This Function is used to Initiate the disk Emulation and boot the system. If the function is successful, returns nothing else the carry flag is set and AX register returns the status code.
INT 13H (0x13)
Function 4D00H (0x4D00) --> Return Boot Catalog (Bootable CD-ROM)
Call with: AX = 4D00H
DS:SI = Command packet (See the Table in
comments)
Return: If Function Successful,
Carry Flag = Clear
If Function Unsuccessful,
Carry Flag = Set
AX = Status code
Comments:
This function is used to return the boot catalog. If the Function is successful, the carry flag is clear, else carry flag is set and AX register returns status code. The Format of Bootable CD-ROM of "Get Boot Catalog" command packet has been given in the following table:
Offset |
Size |
Description |
00H |
BYTE |
Size of packet in bytes (08H) |
01H |
BYTE |
Number of sectors of boot catalog to read |
02H |
DWORD |
Buffer for boot catalog |
06H |
WORD |
First sector in boot catalog to transfer |
|