2017-01-31 22:09:14 +01:00
|
|
|
; jede jede@oric.org 2017-01-22
|
|
|
|
|
|
|
|
.export _close
|
2019-02-05 23:27:52 +01:00
|
|
|
|
|
|
|
.import addysp,popax
|
|
|
|
|
|
|
|
.include "zeropage.inc"
|
2017-01-31 22:09:14 +01:00
|
|
|
.include "telestrat.inc"
|
2017-02-02 00:05:50 +01:00
|
|
|
.include "errno.inc"
|
2019-02-05 23:27:52 +01:00
|
|
|
.include "fcntl.inc"
|
|
|
|
|
2017-01-31 22:09:14 +01:00
|
|
|
; int open (const char* name, int flags, ...); /* May take a mode argument */
|
|
|
|
.proc _close
|
2019-02-05 23:27:52 +01:00
|
|
|
BRK_TELEMON XCLOSE ; launch primitive ROM
|
2017-01-31 22:09:14 +01:00
|
|
|
rts
|
|
|
|
.endproc
|