Treatment Of Registers; Ms-Dos Function Calls In Numeric Order - Tandy 1000 Programmer's Reference Manual

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chauter
1 I
System Calls
Treatment
Of
Registers
When MS-DOS takes control, it switches t o an internal
stack. All registers are saved except AX and those regis-
ters used to return information, The calling program's
stack must be large enough t o accommodate the interrupt
system. It should be a t least 80H bytes, in addition to
the program's needs.
MS-DOS Function Calls in Numeric Order
Function
Number
O O H
01H
02H
03H
04H
05H
06H
07H
08H
09H
OAH
0BH
OCH
ODH
OEH
0FH
10H
11H
12H
13H
14H
15H
16H
17H
19H
1AH
21H
22H
23H
24H
Function Name
Terminate Program
Read Keyboard and Echo
Display Character
Auxiliary Input
Auxiliary Output
Print Character
Direct Console 110
Direct Console Input
Read Keyboard
Display String
Buffered Keyboard Input
Check Keyboard Status
Flush Buffer, Read Keyboard
Reset Disk
Select Disk
Open File
Close File
Search for First Entry
Search for Next Entry
Delete File
Sequential Read
Sequential Write
Create File
Rename File
Current Disk
Set Disk Transfer Address
Random Read
Random Write
File Size
Set Relative Record
28

Advertisement

Table of Contents
loading

Table of Contents