INT 13H (0x13)
Função 20H (0x20 ou 32) --> Começar o formato atual dos meios (Compaq ATAPI removível Dispositivo dos meios)
Call with: AH = 20H
DL = drive number
Return: If Function Successful,
Carry Flag = clear
AL = media type
AH = 00H
If Function Unsuccessful,
CF = set
AH = error code
Comentários:
Esta função é usada começar o formato atual dos meios. Os valores para o tipo de meios do diskette de Compaq/ATAPI foram dados na seguinte tabela:
Value |
Media |
03H |
720K (1M unformatted) |
04H |
1.44M (2M unformatted) |
06H |
2.88M (4M unformatted) |
0CH |
360K |
0DH |
1.2M |
0EH |
Toshiba 3mode |
0FH |
NEC 3mode (1024 bytes per sectors) |
10H |
ATAPI Removable Media Device |
INT 13H (0x13)
Função 21H (0x21 ou 33) --> ler setores múltiplos do disco (picosegundo e PS/2, os discos duros)
Call with: AH = 21H
AL = number of sectors to Read
CH = low byte of 12-bit cylinder number
CL = starting sector (bits 0 to 5) and bits 8
and 9 of cylinder (bits 6 and 7)
DH = head number (bits 0 to 5) and bits 10
and 11 of cylinder (bits 6 and 7)
DL = drive number
ES:BX = Data buffer to be read
Return: If Function Successful,
Carry flag = clear
ES:BX = Filled Data Buffer
If Function Unsuccessful,
Carry flag = set
AH = status
Comentários:
A função é usada ler os setores múltiplos do disco usando a modalidade de bloco múltipla, que gera uma interrupção somente após o fim de transferir um grupo dos setores melhor que após cada setor.
INT 13H (0x13)
Função 22H (0x22 ou 34) --> Escrever setores múltiplos do disco (picosegundo e PS/2, os discos duros)
Call with: AH = 22H
AL = number of sectors to be written
CH = low byte of 12-bit cylinder number
CL = starting sector (bits 0 to 5) and bits 8
and 9 of cylinder (bits 6 and 7)
DH = head number (bits 0 to 5) and bits 10
and 11 of cylinder (bits 6 and 7)
DL = drive number
ES:BX = buffer containing data to be written
Return: If function Successful,
Carry Flag = clear
AH = 01H
If function Unsuccessful,
Carry Flag = Set
AH = Status
Comentários:
A função é usada escrever os setores múltiplos do disco usando a modalidade de bloco múltipla, que gera uma interrupção somente após o fim de transferir um grupo dos setores melhor que após cada setor.
INT 13H (0x13)
Função 22H (0x22 ou 34) --> Permitir/incapacitar o esconderijo (QuickCache II v4.20)
Call with: AH = 22H
AL = new state (00H, if disabled and 01H,
if enabled)
Return: If Function Successful,
AX = 0000H
If Function Unsuccessful,
AX = status
Comentários:
Esta função permite e/ou incapacita caching de todas as movimentações. Se a função for bem sucedida o registo do MACHADO é 0000H retorna mais o status.
|