List of SITS system calls
From Computer History Wiki
SITS system calls were done using EMT in loder versions, and TRAP in newer. The system call number makes up the lower 7 bits. Bit 200 can be set to have the call fault on error, in which case a $ replaces the . in the symbolic name.
System call arguments go on the stack. (C) indicates a capability.
Number | Name | Function | Arguments | ||
---|---|---|---|---|---|
0 | .NOOP | None | None | ||
1 | .FORK | Create new process | Entry point | ||
2 | .POOFF | Kill this process | None | ||
3 | .SLEEP | Sleep | Time | Time | |
4 | .SINK | Disable floating point | None | ||
5 | .FLOAT | Enable floating point | None | ||
6 | .INVOK | Invoke capability | Capability (C) | argument | argument |
7 | .QULK | Lock queue | Queue (C) | ||
10 | .QUNLK | Unlock queue | Queue (C) | ||
11 | .TTGIV | Give TTY away | Master sphere (C) | Teletype (C) | |
12 | .TTGET | Get the TTY | Teletype (C) | ||
13 | .WRDI | Word input | |||
14 | .WRDO | Word output | |||
15 | .BYTI | Byte input | |||
16 | .BYTO | Byte output | |||
17 | .BLKI | Block input | |||
20 | .BLKO | Block output | |||
21 | .MAP | Create page | |||
22 | .ALLOC | Allocate swap | Size | Start | Disk |
23 | .CRUSR | Make this a user process | Copy name | Length of name | Pointer to name |
24 | .RDMAP | Read map | Sphere (C) | Address | |
25 | .FONT | Read or write font | Function,,font | Address | |
26 | .SSTAT | Read system status | Address | ||
27 | .VIDSW | Set video switch modes | Source | Destination | |
30 | .RUG | Hack system sphere(?) | |||
31 | .GERRW | Get error word | |||
32 | .TIME | Get or set time | |||
33 | .SYJB | Perform system job | None | ||
34 | .GETID | Get process id | |||
35 | .MFPI | Address | |||
36 | .OSPAC |