Wuschel's DOS eXtender

List of DOS INT 21 API function calls extended by WDOSX


Function 09h - Write string to console
Function 1Ah - Set disk transfer area address
Function 1Bh - Get allocation information for default drive
Function 1Ch - Get allocation information for specific drive
Function 1Fh - Get drive parameter block for default drive
Function 25h - Set interrupt vector
Function 2Fh - Get disk transfer area address
Function 32h - Get drive parameter block for specific drive
Function 34h - Get address of InDos flag
Function 35h - Get interrupt vector
Function 39h - Create subdirectory
Function 3Ah - Remove subdirectory
Function 3Bh - Change current directory
Function 3Ch - Create new file
Function 3Dh - Open existing file
Function 3Fh - Read from file
Function 40h - Write to file
Function 41h - Delete file
Function 43h - Get/set file attributes
Function 44h - IOCTL
Function 47h - Get current directory
Function 48h - Allocate DOS memory block
Function 49h - Free DOS memory block
Function 4Ah - Resize DOS memory block
Function 4Bh - Load and execute child program
Function 4Eh - Find first matching file
Function 4Fh - Find next matching file
Function 56h - Rename file
Function 5Ah - Create temporary file
Function 5Bh - Create new file



Detailed list of WDOSX extended DOS API functions


Function 09h - Write string to console

Note: The size of the string must be less or equal 16k since this is the transfer buffer size of WDOSX.

Function 1Ah - Set disk transfer area address

Note: WDOSX will keep an internal buffer for the DTA. Upon any Find First/ Find Next call, WDOSX does the necessary copying to make this call transparent for the user program.

Function 1Bh - Get allocation information for default drive

Returns

Function 1Ch - Get allocation information for specific drive

Returns

Function 1Fh - Get drive parameter block for default drive

Returns

Function 25h - Set interrupt vector

Note: This function sets the protected mode interrupt vector using DPMI call 0205h.

Function 2Fh - Get disk transfer area address

Returns

Note: If no DTA address is set, the default DTA address at PSP:80h will be returned, otherwise the return pointer is the same as last passed to function 1Ah.

Function 32h - Get drive parameter block for specific drive

Returns

Function 34h - Get address of InDos flag

Returns

Function 35h - Get interrupt vector

Returns

Note: This function returns the address of the protected mode interrupt handler as obtained using DPMI call 0204h.

Function 39h - Create subdirectory

Returns

Function 3Ah - Remove subdirectory

Returns

Function 3Bh - Change current directory

Returns

Function 3Ch - Create new file

Returns

Function 3Dh - Open existing file

Returns

Function 3Fh - Read from file

Returns

Note: This function allowes for reading up to 4 gigabytes at once (in theory, that is.) There is no 64k limitation as in pure DOS.

Function 40h - Write to file

Returns

Note: This function allowes for writing up to 4 gigabytes at once (in theory, that is.) There is no 64k limitation as in pure DOS.

Function 41h - Delete file

Returns

Function 43h - Get/set file attributes

Returns

Function 44h - IOCTL

The following subfunctions are extended:

Returns

Note: This function allowes for reading up to 4 gigabytes at once (in theory, that is.) There is no 64k limitation as in pure DOS. Before calling the actual DOS function, max (ECX,16k) bytes will be copied from DS:EDX into the real mode transfer buffer to allow for passing request structures.

Returns

Note: This function allowes for writing up to 4 gigabytes at once (in theory, that is.) There is no 64k limitation as in pure DOS.

Returns

Note: This function allowes for reading up to 4 gigabytes at once (in theory, that is.) There is no 64k limitation as in pure DOS. Before calling the actual DOS function, max (ECX,16k) bytes will be copied from DS:EDX into the real mode transfer buffer to allow for passing request structures.

Returns

Note: This function allowes for writing up to 4 gigabytes at once (in theory, that is.) There is no 64k limitation as in pure DOS.

Function 47h - Get current directory

Returns

Function 48h - Allocate DOS memory block

Returns

Function 49h - Free DOS memory block

Returns

Function 4Ah - Resize DOS memory block

Returns

Function 4Bh - Load and execute child program

Returns

Note: Unlike under pure DOS, under WDOSX the format of the parameter block is as follows:

Offset 00000000 : 48 bit protected mode far pointer to evironment string to use
Offset 00000006 : 48 bit protected mode far pointer to command tail to use

This is the method most other DOS extenders also use, so there should be no significant compatibility problems.

Function 4Eh - Find first matching file

Returns

Function 4Fh - Find next matching file

Returns

Function 56h - Rename file

Returns

Function 5Ah - Create temporary file

Returns

Function 5Bh - Create new file

Returns


All trademarks are the property of their respective owners, used for product identification purposes only.
Last updated: 25.07.1998