2 ; Ullrich von Bassewitz, 16.11.2002
4 ; Scratch a file on disk
8 .import opencmdchannel, closecmdchannel, writediskcmd
9 .import fnunit, fnlen, fncmd
14 ;--------------------------------------------------------------------------
15 ; scratch: Scratch a file on disk. Expects the name of the file to be already
16 ; parsed. Returns an error code in A, which may either be the code read from
17 ; the command channel, or another error when accessing the command channel
26 lda #'s' ; Scratch command
36 txa ; Length of name into A