21H INTERNO (0x21)
Función 29H (0x29 o 41) --> Analizar el nombre de fichero
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
Comentarios:
Esta función analiza una secuencia de texto en los varios campos de un bloque de control de archivo (FCB).
Esta función mira los caracteres (: . ; , = + espacio de la lengüeta) como caracteres del separador y respeto todos los caracteres de control y caracteres (: . ; , = + espacio de la lengüeta < > |/“[]) como caracteres del adaptador.
21H INTERNO (0x21)
Función 2AH (0x2A o 42) --> Conseguir el día y la fecha
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.)
Comentarios:
Esta función obtiene el día del sistema del mes, el día de la semana, el mes y el año.
21H INTERNO (0x21)
Función 2BH (0x2B o 43) --> Fijar la fecha
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)
Comentarios:
Esta función inicializa el conductor del reloj del sistema a una fecha específica pero el restos del tiempo del sistema sin cambios.
21H INTERNO (0x21)
Función 2CH (0x2C o 44) --> Conseguir el tiempo
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)
Comentarios:
Esto se utiliza para obtener la hora del conductor del reloj en tiempo real del sistema, convertido a las horas, de minutos, de segundos, y de centésimo de segundos.
21H INTERNO (0x21)
Función 2DH (0x2D o 45) --> Fijar la 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)
Comentarios:
Esta función inicializa el reloj en tiempo real del sistema a una hora, a un minuto, a un segundo, y a un centésimo especificados de segundo. La fecha del sistema no se afecta.
21H INTERNO (0x21)
Función 2EH (0x2E o 46) --> Fijar verifican la bandera
Call with: AH = 2EH
AL = 00H, if turning off verify flag
01H, if turning on verify flag
DL = 00H
Returns: Nothing
Comentarios:
Esta función da vuelta apagado o da vuelta encendido a la bandera operating-system para automático leer-después-escribe la verificación de datos. El ajuste del defecto de la bandera del verificar está apagado porque leer-después-escribir la verificación retarda operaciones del disco.
21H INTERNO (0x21)
Función 2FH (0x2F o 47) --> Conseguir la dirección de DTA
Call with: AH = 2FH
Returns: ES: BX = segment: offset of disk transfer area
Comentarios:
Esta función obtiene la dirección actual del área de la transferencia del disco (DTA) para las operaciones del read/write del archivo del FCB.
21H INTERNO (0x21)
Función 30H (0x30 o 48) --> Conseguir el número de versión del 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)
Comentarios:
Vuelve el número de versión del sistema operativo del MS-DOS del anfitrión.
21H INTERNO (0x21)
Función 31H (0x31 o 49) --> Terminar y permanecer residente (TSR)
Call with: AH = 31H
AL = return code
DX = amount of memory in paragraphs, to
reserve
Returns Nothing
Comentarios:
Esta función termina la ejecución del programa actualmente el ejecutarse pasando un código de retorno al proceso de padre pero las reservas pieza o toda la memoria del programa de modo que sea overlaid por el programa transitorio siguiente que se cargará. Esta función se debe utilizar preferentemente a 27H INTERNO porque apoya el CS para contener el segmento del prefijo del segmento de programa.
|