Ski IA-64 Simulator Reference Manual 1.0L
7.3MS-DOS Application Environment
Ski supports the
Table 7-3. MS-DOS System Calls (in Hexadecimal) Supported by Ski
00: terminate program | 02: display character | 08: read keyboard without echo |
09: display string | 2a: get date | 2c: get time |
30: get version number | 3c: create file with handle | 3d: open file with handle |
3e: close file with handle | 3f: read file or device | 40: write file or device |
44: device status control | 44, | 4c: end program |
51: get PSP address | 62: get PSP address (same as 51) |
|
|
|
|
7.4Program I/O
Your program may need to read from standard in (stdin: file descriptor 0) and write to standard out (stdout: file descriptor
1)and standard err (stderr: file descriptor 2). As with all Linux programs, these file descriptors are connected, by default, to your keyboard and screen. You can redirect them in the usual way: when you invoke Ski, use the < and > operators rec- ognized by most Linux shells. For example, “ bski
Copyright © 2000 | Linux and |