2005-07-19 13:41:44 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
|
|
|
;
|
|
|
|
; 19.07.2005
|
|
|
|
|
|
|
|
; unsigned char __fastcall__ _sysremove (const char* name);
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.export __sysremove
|
2005-07-19 13:41:44 +00:00
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "diskdrv.inc"
|
|
|
|
.include "geossym.inc"
|
2005-07-19 13:41:44 +00:00
|
|
|
|
|
|
|
__sysremove:
|
2013-05-09 13:56:54 +02:00
|
|
|
sta r0L
|
|
|
|
stx r0H
|
|
|
|
jsr DeleteFile
|
|
|
|
txa
|
|
|
|
ldx #0
|
|
|
|
rts
|