2 ; Stefan Haubenthal, 2005-12-24
3 ; Christian Groessler, 2013-07-16
5 ; unsigned char __fastcall__ _sysrmdir (const char* name);
7 ; for SpartaDOS and MyDOS
31 beq not_impl ; AtariDOS
33 bcc do_sparta ; OS/A and SpartaDOS
35 jmp __sysremove ; MyDOS and others (TODO: check XDOS)
52 bne iocberr ; no IOCB available
54 stx tmp4 ; remember IOCB
63 sty tmp2 ; set flag for ucase_fn
68 lda #183 ; see oserror.s
72 .endif ; defined UCASE_FILENAME
75 sta ICBAL,y ; store pointer to filename
94 jsr addysp ; free used space on the stack
97 .endif ; defined UCASE_FILENAME
106 .endproc ; __sysrmdir