aboutsummaryrefslogtreecommitdiffstats
path: root/include/gbos.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/gbos.inc')
-rw-r--r--include/gbos.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gbos.inc b/include/gbos.inc
index bd7fbc2..71d6fa0 100644
--- a/include/gbos.inc
+++ b/include/gbos.inc
@@ -126,7 +126,9 @@ DEF SYS_MKDIR EQU 25 ; make a directory (DE=path -> A=0/$FF)
DEF SYS_CHDIR EQU 26 ; change directory (DE=path -> A=0/$FF)
DEF SYS_OPENDIR EQU 27 ; point ls at a directory (DE=path -> A=0/$FF)
DEF SYS_PIPE EQU 28 ; make a pipe (-> A=read fd; write=A+1)
-DEF SYS_MAX EQU 29
+DEF SYS_SSEND EQU 29 ; link-port: transmit one byte (E=byte)
+DEF SYS_SRECV EQU 30 ; link-port: receive one byte (-> A=byte, blocks)
+DEF SYS_MAX EQU 31
; SYS_KILL (9) is now implemented (B=pid -> A=0/$FF; pid 1 is immortal)
; (SYS_OPEN=4 / SYS_CLOSE=5 are now implemented by the filesystem)
@@ -211,5 +213,6 @@ DEF PROG_BLK EQU 19
DEF PROG_MKDIR EQU 20
DEF PROG_COUNT EQU 21
DEF PROG_PTEST EQU 22
+DEF PROG_NECHO EQU 23
ENDC