EXOS 2.1 Constants

2. EXOS Function Codes

Below are listed all the EXOS function codes. These are the values which follow the "RST 30h" instruction in an EXOS call. Any value other than these will give a .IFUNC error code. Details of parameters for these calls can be found in the EXOS kernel specification.

00 - Reset EXOS

01 - Open channel
02 - Create channel
03 - Close channel
04 - Destroy channel
05 - Read character
06 - Read block
07 - Write character
08 - Write block
09 - Channel read status
10 - Set and read channel status
11 - Perform special function on channel

16 - Read/write/toggle EXOS variable

17 - Capture channel
18 - Re­direct channel
19 - Set default device name
20 - Return system status
21 - Link user device

22 - Read EXOS boundary
23 - Set USER boundary
24 - Allocate segment
25 - Free segment

26 - Scan system extensions

27 - Allocate channel buffer (device only function)

28 - Explain error code
29 - Load module
30 - Load relocatable module

31 - Set system time
32 - Read system time
33 - Set system date
34 - Read system date

Next Chapter: Error Codes.



David Bouman. (dsbouma@cs.vu.nl)