Now mkdir is working

This commit is contained in:
jede
2017-10-28 00:37:47 +02:00
parent 7435c2f3ca
commit 807b55862d
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
;
; Jede (jede@oric.org), 2017-10-27
;
; unsigned char _sysmkdir (const char* name, ...);
;
.export __sysmkdir
.import addysp, popax
.include "telestrat.inc"
.include "zeropage.inc"
__sysmkdir:
; Throw away all parameters except the name
dey
dey
jsr addysp
; Get name
jsr popax
; Call telemon primitive
BRK_TELEMON(XMKDIR)
rts