INTERNES 21H (0x21)
Funktion 44H (0x44 oder 68), Vorfunktion 0CH (0x0C oder 12) Input/Output Ctrl generische I/O Steuerung für Buchstabe Vorrichtungen
Call with: AH = 44H
AL = 0CH
BX = handle
CH =Kategorie (Haupt) Code:
00H = Unbekanntes
01H = COM1, COM2, COM3 ODER COM4
03H = BETRÜGERISCH (Tastatur und Anzeige)
05H = LPT1, LPT2 ODER LPT3 |
CL = Funktion (kleiner) Code:
45H = stellte Wiederholung-Zählimpuls ein
4AH = auserwählte Code-Seite
4CH = Anfangscode-Seite Vorbereitung
4DH = Ende Code-Seite Vorbereitung
5FH = stellte Displayinformation ein
65H = erhalten Wiederholung-Zählimpuls
6AH = Frage vorgewählte Code-Seite
6BH = Frage bereiten Liste vor
7FH = erhalten Displayinformation |
DS: DX = segment: offset of parameter block
Returns: If function successful
Carry flag = clear
And if called with CL = 65H, 6AH, 6BH or 7FH
DS: DX = segment: offset of parameter block
If function unsuccessful
Carry flag = set
AX = error code
Comments:
It provides a general-purpose mechanism for communication between application programs and character-device drivers.
INTERNES 21H (0x21)
Funktion 44H (0x44 oder 68), Vorfunktion 0DH (0x0D oder 13) Input/Output Ctrl --> generische I/O Steuerung für Blockvorrichtungen
Call with: AH = 44H
AL = 0DH
BL = drive code (0 =default, 1=A,
2=B, etc.)
CH = category (major) code:
08H = disk drive
CL = function (minor) code:
40H = stellte Antrieb Parameter ein
41H = schreiben Schiene
42H = Format und überprüfen Schiene
47H = stellte Zugang Markierungsfahne ein
60H = erhalten Vorrichtung Parameter
61H = las Schiene
62H = überprüfen Schiene
67H = erhalten Zugang Markierungsfahne |
DS: DX = segment: offset of parameter block
Returns: If function successful
Carry flag = clear
And if called with CL = 60H or 61H
DS: DX = segment: offset of parameter block
If function unsuccessful
Carry flag = set
AX = error code
Comments:
This sub function provides a general-purpose mechanism for communication between application programs and block-device drivers. Allows a program to inspect or change device parameters for a logical drive and to read, write, format, and verify disk tracks in a hardware-independent manner.
INTERNES 21H (0x21)
Funktion 44H (0x44 oder 68), Vorfunktion 0EH (0x0E oder 14) Input/Output Ctrl --> > logisches Antrieb Diagramm erhalten
Call with: AH = 44H
AL = 0EH
BL = drive code (0 = default, 1=A,
2=B, etc.)
Returns: If function successful
Carry flag = clear
AL = mapping code
00H, if only one logical drive code
assigned to the block device
01H-1AH logical drive code (1=A,
2=B, etc.) mapped to the block device
If function unsuccessful
Carry flag = set
AX = error code
Comments:
It returns the logical drive code that was most recently used to access the specified block drive.
INTERNES 21H (0x21)
Funktion 44H (0x44 oder 68), Vorfunktion 0FH (0x0F oder 15) Input/Output Ctrl --> gesetztes logisches Antrieb Diagramm
Call with: AH = 44H
AL = 0FH
BL = drive code (0 = default, 1=A,
2=B, etc.)
Returns: If function successful
Carry flag = clear
AL = mapping code
00H, if only one logical drive code
assigned to the block device
01H-1AH, logical drive code (1=A,
2=B, etc.) mapped to the
block device
If function unsuccessful
Carry flag = set
AX = error code
Comments:
This sub function sets the next logical drive code that will be used to reference a block device.
INTERNES 21H (0x21)
Funktion 45H (0x45 oder 69) --> Doppelter Handgriff
Call with: AH = 45H
BX = handle to be duplicated
Returns: If function successful
Carry flag = clear
AX = new handle
If function unsuccessful
Carry flag = set
AX = error code
Comments:
This function returns a new handle that refers to the same device or file at the same position for given handle for a currently open device or file.
INTERNES 21H (0x21)
Funktion 46H (0x46 oder 70) --> Handgriff umadressieren
Call with: AH = 46H
BX = handle for file or device
CX = handle to be redirected
Returns: If function successful
Carry flag = clear
If function unsuccessful
Carry flag = set
AX = error code
Anmerkungen:
Wenn es zwei gegebene Handgriffe gibt, beziehen sich diese Funktion Marken der zweite Handgriff die gleiche Vorrichtung oder auf Akte an der gleichen Position, die der erste Handgriff. Der zweite Handgriff wird dann gesagt umadressiert zu werden.
INTERNES 21H (0x21)
Funktion 47H (0x47 oder 71) --> Aktuelles Verzeichnis erhalten
Call with: AH = 47H
DL = drive code (0 =default, 1=A,
2=B, etc.)
DS: SI = segment: offset of 64-byte buffer
Returns: If function is successful
Carry flag = clear
And buffer is filled in with full pathname from root of current directory.
If function is unsuccessful
Carry flag = set
AX = error code
Comments:
This function obtains an ASCIIZ string that describes the path from the root to the current directory, and the name of that directory.
|