mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
31 lines
512 B
ArmAsm
31 lines
512 B
ArmAsm
|
;
|
||
|
; 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
|
||
|
|
||
|
|
||
|
|