Implement __sysremove for sim65
This will allow using unlink()/remove() in sim65 programs Use it to unlink fgets' test output file
This commit is contained in:
@@ -8,10 +8,15 @@
|
||||
;
|
||||
|
||||
.export exit, args, _open, _close, _read, _write
|
||||
.export __sysremove, ___osmaperrno
|
||||
|
||||
__sysremove := $FFF2
|
||||
___osmaperrno := $FFF3
|
||||
_open := $FFF4
|
||||
_close := $FFF5
|
||||
_read := $FFF6
|
||||
_write := $FFF7
|
||||
args := $FFF8
|
||||
exit := $FFF9
|
||||
|
||||
; $FFFA-FFFF are hardware vectors, extend before not after!
|
||||
|
||||
Reference in New Issue
Block a user