| |
INT 21 - DOS 3.2 - IOCTL - GENERIC
Input |
DOS1 |
N |
DOS2 |
N |
DOS3.2 |
Y |
DOS5 |
Y |
Output |
AX |
44h |
0Ch |
Error
Code |
AX |
BX |
File
Handle |
|
|
BX |
CX |
Category
Code |
Function |
|
|
CX |
|
|
|
|
|
DX |
DS:DX |
Pointer
to Parameter Block |
Set
if Error |
CF |
Category Code:
DOS 3.2
05h = Printer
DOS 3.3+
00h = Unknown
01h = COMn:
03h = CON
05h = LPTn:
Function:
DOS 3.2+
45h = Set iteration count
65h = Get iteration count
DOS 3.3+
4Ah = Select code page
4Ch = Start code-page preparation
4Dh = End code-page preparation
6Ah = Query selected code page
6Bh = Query prepare list
DOS 5.0
5Fh = Set Display Mode
7Fh = Get Display Mode
Parameter Block:
CL=45h WORD Iteration count
CL=4Ah,4Dh,6Ah WORD Length of data
WORD Code page ID
CL=4Ch WORD Flags
WORD Length of remainder of parameter block
WORD Number of code pages following
N WORDs Code page 1,...,N
CL=6Bh WORD Length of following data
WORD Number of hardware code pages
N WORDs Hardware code pages 1,...,N
WORD Number of prepared code pages
N WORDs Prepared code pages 1,...,N
CL=5Fh,7Fh BYTE Information Level (must be ZERO)
BYTE Reserved
WORD Length of following data
WORD Control Flags
BYTE Display Mode
BYTE Reserved
WORD Number of Colors
WORD Screen Width in pixels (graphics mode only)
WORD Screen Height in pixels (graphics mode only)
WORD Columns
WORD Rows |