Contents
Chapter
1.
System Calls
9
Calling and Returning
9
Hierarchical Directories
10
System Call Descriptions 12
Interrupts 12
Function Calls 25
Categories of Calls 25
Error Codes 25
File Handles 26
ASCIIZ Strings 26
Calling MS-DOS Functions 27
CP/M®
-
Compatible Calling Sequence
Treatment of Registers 28
MS-DOS Function Calls in Numeric Order 28
MS-DOS Function Calls in Alphabetic Order
Function Call Reference 32
Macro Definitions for MS-DOS System
Call Examples 137
Interrupts 137
Extended Example of MS-DOS System Calls 143
Chapter
2.
MS-DOS Control Blocks and Work Areas
151
File Control Block (FCB) 151
Extended File Control Block 153
Program
Segment
153
Program Segment Prefix 157
Chapter
3.
MS-DOS Initialization and
Command Processor
161
Chapter
4.
MS-DOS Disk Allocation
165
MS-DOS Disk Directory 166
File Allocation Table (FAT) 168
Console. Printer. and Disk Input/Output Calls
10
27
30
Functions 137
General 142
How to Use the File Allocation Table 170