XRM
Description
Remove file in arg
- Input : AX the ptr
- Returns ENOENT in A if the file does not exist
- Returns $00 in A if the rm is done
Example
.include "telestrat.inc"
lda #<myfile_to_remove
ldx #>myfile_to_remove
BRK_TELEMON XRM
rts
myfile_to_remove:
.asciiz "toto"
See unlink macro from orix-sdk to use it
Last update:
2024-02-15