Adding telemon30 and telemon24 primitives

This commit is contained in:
jede
2017-01-29 21:18:49 +01:00
parent 038ac5a65a
commit d1b5a6632d
11 changed files with 616 additions and 146 deletions

17
libsrc/telemon30/_close.s Normal file
View File

@@ -0,0 +1,17 @@
.export _close
.import addysp,popax
.importzp sp,tmp2,tmp3,tmp1
; int open (const char* name, int flags, ...); /* May take a mode argument */
.include "telemon30.inc"
.include "errno.inc"
.include "fcntl.inc"
.proc _close
; Throw away any additional parameters passed through the ellipsis
BRK_TELEMON XCLOSE ; launch primitive ROM
rts
.endproc