Difference between revisions of "List of SITS system calls"

From Computer History Wiki
Jump to: navigation, search
(EMT or TRAP.)
(Add more.)
Line 37: Line 37:
 
| 4
 
| 4
 
| .SINK
 
| .SINK
|
+
| Disable floating point
|
+
| None
|
+
| None
 
|-
 
|-
 
| 5
 
| 5
 
| .FLOAT
 
| .FLOAT
|
+
| Enable floating point
|
+
| None
|
+
| None
 
|-
 
|-
 
| 6
 
| 6
 
| .INVOK
 
| .INVOK
|
+
| Invoke capability
|
+
| Capability and two more arguments
 
|
 
|
 
|-
 
|-
 
| 7
 
| 7
 
| .QULK
 
| .QULK
|
+
| Lock queue
|
+
| Queue
 
|
 
|
 
|-
 
|-
 
| 10
 
| 10
 
| .QUNLK
 
| .QUNLK
|
+
| Unlock queue
|
+
| Queue
 
|
 
|
 
|-
 
|-
 
| 11
 
| 11
 
| .TTGIV
 
| .TTGIV
|
+
| Give TTY away
|
+
| Master sphere, and teletype
 
|
 
|
 
|-
 
|-
 
| 12
 
| 12
 
| .TTGET
 
| .TTGET
|
+
| Get the TTY
|
+
| Teletype
 
|
 
|
 
|-
 
|-

Revision as of 10:54, 5 October 2022

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.

Number Name Function Arguments Return values
0 .NOOP None None None
1 .FORK Create new process Entry point None
2 .POOFF Kill self None None
3 .SLEEP Sleep Long word: positive number 60th seconds, or negative time to continue None
4 .SINK Disable floating point None None
5 .FLOAT Enable floating point None None
6 .INVOK Invoke capability Capability and two more arguments
7 .QULK Lock queue Queue
10 .QUNLK Unlock queue Queue
11 .TTGIV Give TTY away Master sphere, and teletype
12 .TTGET Get the TTY Teletype
13 .WRDI
14 .WRDO
15 .BYTI
16 .BYTO
17 .BLKI
20 .BLKO
21 .MAP
22 .ALLOC
23 .CRUSR
24 .RDMAP
25 .FONT
26 .SSTAT
27 .VIDSW
30 .RUG
31 .GERRW
32 .TIME
33 .SYJB
34 .GETID
35 .MFPI
36 .OSPAC