INT 21H (0x21)
Função 29H (0x29 ou 41) --> Analisar gramaticalmente o nome de arquivo
Call with: AH = 29H
AL = flags to control parsing
Bit 0 = 1, if leading separators will be
scanned off (ignored).
= 0, if leading separators will not be
scanned off
Bit 1 = 1, if drive ID byte in FCB will be
modified only if a drive was
specified in the string being parsed.
= 0, if the drive ID byte in FCB will be
modified regardless, if no drive
specifier is present in the parsed string, FCB drive code field is set to 0 (default)
Bit 2 = 1, if filename field in FCB will be
modified only if a filename is
specified in the string being parsed.
= 0, if filename field in FCB will be modified regardless, if no filename is presenting the parsed string, FCB filename is set to ASCIIZ blanks.
Bit 3 = 1, if extension field in FCB will be
modified, only if an Extension is
specified in the string being parsed.
= 0, if extension field in FCB will be
modified regardless, if no extension
is present in the parsed string, FCB
extension is set to ASCIIZ blanks.
DS: SI = segment: offset of string
ES: DI = segment: offset of file control block
Returns: AL = 00H, if no wildcard characters
Encountered 01H, if parsed string
contained wildcard characters FFH,
if drive specifier invalid
DS: SI = segment: offset of first character
after parsed filename
ES: DI = segment: offset of formatted
unopened file control block
Comentários:
Esta função analisa gramaticalmente uma corda de texto nos vários campos de um bloco de controle da lima (o FCB).
Esta função considera os caráteres (: . ; , = + espaço da aba) como caráteres do separador e consideração todos os caráteres de controle e caráteres (: . ; , = + espaço da aba < > |/“[]) como caráteres do terminal.
INT 21H (0x21)
Função 2AH (0x2A ou 42) --> Começar o dia e a data
Call with: AH = 2AH
Returns: CX = year (1980 through 2099)
DH = month (1 through 12)
DL = day (1 through 31)
AL = day of the week (0 = Sunday,
1= Monday, etc.)
Comentários:
Esta função obtem o dia do sistema do mês, o dia da semana, o mês e o ano.
INT 21H (0x21)
Função 2BH (0x2B ou 43) --> Ajustar a data
Call with: AH = 2BH
CX = year (1980 through 2099)
DH = month (1 through 12)
DL = day (1 through 31)
Returns: AL = 00H if date set successfully
FFH if date not valid (ignored)
Comentários:
Esta função inicializa o excitador do pulso de disparo do sistema a uma data específica mas o remains do tempo do sistema inalterados.
INT 21H (0x21)
Função 2CH (0x2C ou 44) --> Começar o tempo
Call with: AH = 2CH
Returns: CH = hours (0 through 23)
CL = minutes (0 through 59)
DH = seconds (0 through 59)
DL = hundredths of seconds (0 through 99)
Comentários:
Isto é usado obter a hora do excitador do pulso de disparo real-time do sistema, convertido às horas, dos minutos, dos segundos, e dos centésimo dos segundos.
INT 21H (0x21)
Função 2DH (0x2D ou 45) --> Ajustar a hora
Call with: AH = 2DH
CH = hours (0 through 23)
CL = minutes (0 through 59)
DH = seconds (0 through 59)
DL = hundredths of seconds (0 through 99)
Returns: AL = 00H, if time set successfully
FFH, if time not valid (ignored)
Comentários:
Esta função inicializa o pulso de disparo real-time do sistema a uma hora, a um minuto, a um segundo, e a um centésimo especificados do segundo. A data do sistema não é afetada.
INT 21H (0x21)
Função 2EH (0x2E ou 46) --> Ajustar verificam a bandeira
Call with: AH = 2EH
AL = 00H, if turning off verify flag
01H, if turning on verify flag
DL = 00H
Returns: Nothing
Comentários:
Esta função desliga ou gira sobre a bandeira operating-system para automático l-após-escreve a verificação dos dados. O ajuste do defeito da bandeira verificar está DESLIGADA porque l-após-escrever a verificação retarda operações do disco.
INT 21H (0x21)
Função 2FH (0x2F ou 47) --> Começar o endereço de DTA
Call with: AH = 2FH
Returns: ES: BX = segment: offset of disk transfer area
Comentários:
Esta função obtem o endereço atual da área de transferência do disco (DTA) para operações do read/write da lima do FCB.
INT 21H (0x21)
Função 30H (0x30 ou 48) --> Começar o número de versão do MS-DOS
Call with: AH = 30H
AL = 00H
Returns: AL = major version number (MS-DOS
3.10=3, etc.)
AH = minor version number (MS-DOS
3.10= 0AH, etc.)
BH = Original Equipment Manufacturer’s
(OEM’s) serial number (OEM-
dependent-usually 00H for IBM’s
PC-DOS, 0FFH or other values for
MS-DOS)
BL: CX = 24-bit user serial number (optional,
OEM-dependent)
Comentários:
Retorna o número de versão do sistema operando-se do MS-DOS do anfitrião.
INT 21H (0x21)
Função 31H (0x31 ou 49) --> Terminar e permanecer residente (TSR)
Call with: AH = 31H
AL = return code
DX = amount of memory in paragraphs, to
reserve
Returns Nothing
Comentários:
Esta função termina a execução do programa atualmente executar passando um código do retorno ao processo de pai mas as reservas peça ou toda a memória do programa de modo que seja overlaid pelo programa transiente seguinte a ser carregado. Esta função deve ser usada na preferência a 27H INTERNO porque suporta o CS para conter o segmento do prefixo do segmento de programa.
|