diff options
Diffstat (limited to 'include/gbos.inc')
| -rw-r--r-- | include/gbos.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gbos.inc b/include/gbos.inc index 7103f48..a6467bf 100644 --- a/include/gbos.inc +++ b/include/gbos.inc @@ -128,7 +128,9 @@ 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_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 +DEF SYS_SRECVNB EQU 31 ; link-port: receive, non-blocking (-> A=byte, CF=none) +DEF SYS_POLLIN EQU 32 ; poll OSK for a typed char (-> A=char or 0) +DEF SYS_MAX EQU 33 ; 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) @@ -215,5 +217,6 @@ DEF PROG_COUNT EQU 21 DEF PROG_PTEST EQU 22 DEF PROG_NECHO EQU 23 DEF PROG_WGET EQU 24 +DEF PROG_CHAT EQU 25 ENDC |
