Microsoft Developer Network
▶
Highlights
▶
Technical Articles
▶
Sample Code
▶
Resource and Strategy
▶
Knowledge Base and Bug Lists
▼
Books and Magazine Articles
▶
Programming Windows 3.0 (Petzold)
▶
Advanced MS-DOS Programming
▼
MS-DOS Programmer's Reference
▶
Chapter 1 Introduction
▶
Chapter 2 Overview of MS-DOS
▶
Chapter 3 File System
▶
Chapter 4 Character Input and Output
▶
Chapter 5 Program Management
▶
Chapter 6 National Language Support
▶
Chapter 7 Interrupts
▼
Chapter 8 Interrupt 21h Functions
Chapter 8 Interrupt 21h Functions
8.1 Introduction
▶
8.2 Function Groups
▼
8.5 Interrupt 21h Function Reference
8.5 Interrupt 21h Function Reference
Function 00h Terminate Program
Function 01h Read Keyboard with Echo
Function 02h Display Character
Function 03h Auxiliary Input
Function 04h Auxiliary Output
Function 05h Print Character
Function 06h Direct Console I/O
Function 07h Direct Console Input
Function 08h Read Keyboard Without Echo
Function 09h Display String
Function 0Ah Buffered Keyboard Input
Function 0Bh Check Keyboard Status
Function 0Ch Flush Buffer, Read Keyboard
Function 0Dh Reset Drive
Function 0Eh Set Default Drive
Function 0Fh Open File with FCB
Function 10h Close File with FCB
Function 11h Find First File with FCB
Function 12h Find Next File with FCB
Function 13h Delete File with FCB
Function 14h Sequential Read
Function 15h Sequential Write
Function 16h Create File with FCB
Function 17h Rename File with FCB
Function 19h Get Default Drive
Function 1Ah Set Disk Transfer Address
Function 1Bh Get Default Drive Data
Function 1Ch Get Drive Data
Function 1Fh Get Default DPB
Function 21h Random Read
Function 22h Random Write
Function 23h Get File Size
Function 24h Set Random Record Number
Function 25h Set Interrupt Vector
Function 26h Create New PSP
Function 27h Random Block Read
Function 28h Random Block Write
Function 29h Parse Filename
Function 2Ah Get Date
Function 2Bh Set Date
Function 2Ch Get Time
Function 2Dh Set Time
Function 2Eh Set/Reset Verify Flag
Function 2Fh Get Disk Transfer Address
Function 30h Get Version Number
Function 31h Keep Program
Function 32h Get DPB
Function 3300h Get CTRL+C Check Flag
Function 3301h Set CTRL+C Check Flag
Function 3305h Get Startup Drive
Function 3306h Get MS-DOS Version
Function 34h Get InDOS Flag Address
Function 35h Get Interrupt Vector
Function 36h Get Disk Free Space
Function 38h Get/Set Country Information
Function 39h Create Directory
Function 3Ah Remove Directory
Function 3Bh Change Current Directory
Function 3Ch Create File with Handle
Function 3Dh Open File with Handle
Function 3Eh Close File with Handle
Function 3Fh Read File or Device
Function 40h Write File or Device
Function 41h Delete File
Function 42h Move File Pointer
Function 4300h Get File Attributes
Function 4301h Set File Attributes
Function 4400h Get Device Data
Function 4401h Set Device Data
Function 4402h Receive Control Data from Character Device
Function 4403h Send Control Data to Character Device
Function 4404h Receive Control Data from Block Device
Function 4405h Send Control Data to Block Device
Function 4406h Check Device Input Status
Function 4407h Check Device Output Status
Function 4408h Does Device Use Removable Media
Function 4409h Is Drive Remote
Function 440Ah Is File or Device Remote
Function 440Bh Set Sharing Retry Count
Function 440Ch Minor Code 45h Set Iteration Count
Function 440Ch Minor Code 4Ah Select Code Page
Function 440Ch Minor Code 4Ch Start Code-Page Prepare
Function 440Ch Minor Code 4Dh End Code-Page Prepare
Function 440Ch Minor Code 5Fh Set Display Mode
Function 440Ch Minor Code 65h Get Iteration Count
Function 440Ch Minor Code 6Ah Query Selected Code Page
Function 440Ch Minor Code 6Bh Query Code-Page Prepare List
Function 440Ch Minor Code 7Fh Get Display Mode
Function 440Dh Minor Code 40h Set Device Parameters
Function 440Dh Minor Code 41h Write Track on Logical Drive
Function 440Dh Minor Code 42h Format Track on Logical Drive
Function 440Dh Minor Code 46h Set Media ID
Function 440Dh Minor Code 60h Get Device Parameters
Function 440Dh Minor Code 61h Read Track on Logical Drive
Function 440Dh Minor Code 62h Verify Track on Logical Drive
Function 440Dh Minor Code 66h Get Media ID
Function 440Dh Minor Code 68h Sense Media Type
Function 440Eh Get Logical Drive Map
Function 440Fh Set Logical Drive Map
Function 4410h Query IOCTL Handle
Function 4411h Query IOCTL Device
Function 45h Duplicate File Handle
Function 46h Force Duplicate File Handle
Function 47h Get Current Directory
Function 48h Allocate Memory
Function 49h Free Allocated Memory
Function 4Ah Set Memory Block Size
Function 4B00h Load and Execute Program
Function 4B01h Load Program
Function 4B03h Load Overlay
Function 4B05h Set Execution State
Function 4Ch End Program
Function 4Dh Get Child-Program Return Value
Function 4Eh Find First File
Function 4Fh Find Next File
Function 50h Set PSP Address
Function 51h Get PSP Address
Function 54h Get Verify State
Function 56h Rename File
Function 5700h Get File Date and Time
Function 5701h Set File Date and Time
Function 5800h Get Allocation Strategy
Function 5801h Set Allocation Strategy
Function 5802h Get Upper-Memory Link
Function 5803h Set Upper-Memory Link
Function 59h Get Extended Error
Function 5Ah Create Temporary File
Function 5Bh Create New File
Function 5Ch Lock/Unlock File
Function 5D0Ah Set Extended Error
Function 5E00h Get Machine Name
Function 5E02h Set Printer Setup
Function 5E03h Get Printer Setup
Function 5F02h Get Assign-List Entry
Function 5F03h Make Network Connection
Function 5F04h Delete Network Connection
Function 6501h Get Extended Country Information
Function 6502h Get Uppercase Table
Function 6504h Get Filename Uppercase Table
Function 6505h Get Filename-Character Table
Function 6506h Get Collate-Sequence Table
Function 6507h Get Double-Byte Character Set
Function 6520h Convert Character
Function 6521h Convert String
Function 6522h Convert ASCIIZ String
Function 6601h Get Global Code Page
Function 6602h Set Global Code Page
Function 67h Set Maximum Handle Count
Function 68h Commit File
Function 6Ch Extended Open/Create
▶
Chapter 9 Device Drivers
▶
MS Systems Journal
▶
Product Documentation
▶
Unsupported Tools & Utilities