1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 18:06:48 +00:00
cc65/libsrc/geos-common/file/sysremove.s

21 lines
359 B
ArmAsm

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 19.07.2005
; unsigned char __fastcall__ _sysremove (const char* name);
.export __sysremove
.include "jumptab.inc"
.include "diskdrv.inc"
.include "geossym.inc"
__sysremove:
sta r0L
stx r0H
jsr DeleteFile
txa
ldx #0
rts