Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape15a_acorn_eu_1990_october.wav » R.WipeSrc
R.WipeSrc
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape15a_acorn_eu_1990_october.wav |
Filename: | R.WipeSrc |
Read OK: | ✔ |
File size: | 0532 bytes |
Load address: | FFFF1900 |
Exec address: | FFFF8023 |
Duplicates
There are 3 duplicate copies of this file in the archive:
- AEW website » mu » mu_5_25_discs_Micro_User_08_08_D-MU08_08.ssd » R.WipeSrc
- AEW website » mu » mu_Micro_User_08_08_MU8-8_B.uef » R.WipeSrc
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape15a_acorn_eu_1990_october.wav » R.WipeSrc
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape15b_acorn_eu_1990_october.wav » R.WipeSrc
File contents
10 REM *Wipe command for ADFS 20 REM by Alastair Cadman 30 REM (c) The Micro User 40 REM October 1990 50 MODE 7:osgbpb=&FFD1:osrdch=&FFE0 60 osasci=&FFE3:oscli=&FFF7 70 FOR L%=0 TO 2 STEP 2 80 P%=&900:[OPT L% 90 .main 100 LDA block+9:STA store 110 LDA block+10:STA store+1 120 LDA #filename MOD 256 130 STA block+1 140 LDA #filename DIV 256 150 STA block+2 160 LDA #1:STA block+5 170 LDA #8 180 LDX #block MOD 256 190 LDY #block DIV 256 200 JSR osgbpb 210 LDA #1:CMP block+5 220 BNE wipe:RTS 230 .wipe 240 LDY #1 250 .loop 260 LDA filename,Y 270 STA delete+7,Y 280 JSR osasci:INY 290 DEC filename:BNE loop 300 LDA #32:JSR osasci 310 LDA #58:JSR osasci 320 LDA #13:STA delete+8,Y 330 JSR osrdch:AND #223 340 CMP #89:BNE donot 350 LDX #delete MOD 256 360 LDY #delete DIV 256 370 JSR oscli 380 LDA store:STA block+9 390 LDA store+1:STA block+10 400 LDA #89 410 JMP finished 420 .donot 430 LDA #78 440 .finished 450 JSR osasci 460 LDA #13:JSR osasci 470 JMP main 480 .store 490 OPT FNequw(0) 500 .block 510 OPT FNequw(0):OPT FNequw(0) 520 OPT FNequw(0):OPT FNequw(0) 530 OPT FNequw(0):OPT FNequw(0) 540 OPT FNequw(0):OPT FNequw(0) 550 .filename 560 OPT FNequs(STRING$(11,CHR$32)) 570 .delete 580 OPT FNequs("DELETE"+STRING$(12,CHR$32)) 590 ]:NEXT L% 600 $&700="SAVE Wipe 900 "+STR$~P% 610 X%=0:Y%=7:CALL oscli:END 620 DEF FNequw(S%) 630 !P%=S%:P%=P%+2:=L% 640 DEF FNequs(S$) 650 $P%=S$:P%=P%+LEN(S$):=L%
� *Wipe command for ADFS � by Alastair Cadman � (c) The Micro User ( � October 1990 2" � 7:osgbpb=&FFD1:osrdch=&FFE0 < osasci=&FFE3:oscli=&FFF7 F � L%=0 � 2 � 2 P P%=&900:[OPT L% Z .main d LDA block+9:STA store n LDA block+10:STA store+1 x LDA #filename � 256 � STA block+1 � LDA #filename � 256 � STA block+2 � LDA #1:STA block+5 � LDA #8 � LDX #block � 256 � LDY #block � 256 � JSR osgbpb � LDA #1:CMP block+5 � BNE wipe:RTS � .wipe � LDY #1 � .loop LDA filename,Y STA delete+7,Y JSR osasci:INY " DEC filename:BNE loop , LDA #32:JSR osasci 6 LDA #58:JSR osasci @ LDA #13:STA delete+8,Y J JSR osrdch:� #223 T CMP #89:BNE donot ^ LDX #delete � 256 h LDY #delete � 256 r JSR oscli | LDA store:STA block+9 � LDA store+1:STA block+10 � LDA #89 � JMP finished � .donot � LDA #78 � .finished � JSR osasci � LDA #13:JSR osasci � JMP main � .store � OPT �equw(0) � .block � OPT �equw(0):OPT �equw(0) OPT �equw(0):OPT �equw(0) OPT �equw(0):OPT �equw(0) OPT �equw(0):OPT �equw(0) & .filename 0 OPT �equs(�11,�32)) : .delete D! OPT �equs("DELETE"+�12,�32)) N ]:� L% X $&700="SAVE Wipe 900 "+�~P% b X%=0:Y%=7:� oscli:� l � �equw(S%) v !P%=S%:P%=P%+2:=L% � � �equs(S$) � $P%=S$:P%=P%+�(S$):=L% �
00000000 0d 00 0a 1d 20 f4 20 2a 57 69 70 65 20 63 6f 6d |.... . *Wipe com| 00000010 6d 61 6e 64 20 66 6f 72 20 41 44 46 53 0d 00 14 |mand for ADFS...| 00000020 19 20 f4 20 62 79 20 41 6c 61 73 74 61 69 72 20 |. . by Alastair | 00000030 43 61 64 6d 61 6e 0d 00 1e 19 20 f4 20 28 63 29 |Cadman.... . (c)| 00000040 20 54 68 65 20 4d 69 63 72 6f 20 55 73 65 72 0d | The Micro User.| 00000050 00 28 13 20 f4 20 4f 63 74 6f 62 65 72 20 31 39 |.(. . October 19| 00000060 39 30 0d 00 32 22 20 eb 20 37 3a 6f 73 67 62 70 |90..2" . 7:osgbp| 00000070 62 3d 26 46 46 44 31 3a 6f 73 72 64 63 68 3d 26 |b=&FFD1:osrdch=&| 00000080 46 46 45 30 0d 00 3c 1d 20 6f 73 61 73 63 69 3d |FFE0..<. osasci=| 00000090 26 46 46 45 33 3a 6f 73 63 6c 69 3d 26 46 46 46 |&FFE3:oscli=&FFF| 000000a0 37 0d 00 46 13 20 e3 20 4c 25 3d 30 20 b8 20 32 |7..F. . L%=0 . 2| 000000b0 20 88 20 32 0d 00 50 14 20 50 25 3d 26 39 30 30 | . 2..P. P%=&900| 000000c0 3a 5b 4f 50 54 20 4c 25 0d 00 5a 0a 20 2e 6d 61 |:[OPT L%..Z. .ma| 000000d0 69 6e 0d 00 64 1a 20 4c 44 41 20 62 6c 6f 63 6b |in..d. LDA block| 000000e0 2b 39 3a 53 54 41 20 73 74 6f 72 65 0d 00 6e 1d |+9:STA store..n.| 000000f0 20 4c 44 41 20 62 6c 6f 63 6b 2b 31 30 3a 53 54 | LDA block+10:ST| 00000100 41 20 73 74 6f 72 65 2b 31 0d 00 78 18 20 4c 44 |A store+1..x. LD| 00000110 41 20 23 66 69 6c 65 6e 61 6d 65 20 83 20 32 35 |A #filename . 25| 00000120 36 0d 00 82 10 20 53 54 41 20 62 6c 6f 63 6b 2b |6.... STA block+| 00000130 31 0d 00 8c 18 20 4c 44 41 20 23 66 69 6c 65 6e |1.... LDA #filen| 00000140 61 6d 65 20 81 20 32 35 36 0d 00 96 10 20 53 54 |ame . 256.... ST| 00000150 41 20 62 6c 6f 63 6b 2b 32 0d 00 a0 17 20 4c 44 |A block+2.... LD| 00000160 41 20 23 31 3a 53 54 41 20 62 6c 6f 63 6b 2b 35 |A #1:STA block+5| 00000170 0d 00 aa 0b 20 4c 44 41 20 23 38 0d 00 b4 15 20 |.... LDA #8.... | 00000180 4c 44 58 20 23 62 6c 6f 63 6b 20 83 20 32 35 36 |LDX #block . 256| 00000190 0d 00 be 15 20 4c 44 59 20 23 62 6c 6f 63 6b 20 |.... LDY #block | 000001a0 81 20 32 35 36 0d 00 c8 0f 20 4a 53 52 20 6f 73 |. 256.... JSR os| 000001b0 67 62 70 62 0d 00 d2 17 20 4c 44 41 20 23 31 3a |gbpb.... LDA #1:| 000001c0 43 4d 50 20 62 6c 6f 63 6b 2b 35 0d 00 dc 11 20 |CMP block+5.... | 000001d0 42 4e 45 20 77 69 70 65 3a 52 54 53 0d 00 e6 0a |BNE wipe:RTS....| 000001e0 20 2e 77 69 70 65 0d 00 f0 0b 20 4c 44 59 20 23 | .wipe.... LDY #| 000001f0 31 0d 00 fa 0a 20 2e 6c 6f 6f 70 0d 01 04 13 20 |1.... .loop.... | 00000200 4c 44 41 20 66 69 6c 65 6e 61 6d 65 2c 59 0d 01 |LDA filename,Y..| 00000210 0e 13 20 53 54 41 20 64 65 6c 65 74 65 2b 37 2c |.. STA delete+7,| 00000220 59 0d 01 18 13 20 4a 53 52 20 6f 73 61 73 63 69 |Y.... JSR osasci| 00000230 3a 49 4e 59 0d 01 22 1a 20 44 45 43 20 66 69 6c |:INY..". DEC fil| 00000240 65 6e 61 6d 65 3a 42 4e 45 20 6c 6f 6f 70 0d 01 |ename:BNE loop..| 00000250 2c 17 20 4c 44 41 20 23 33 32 3a 4a 53 52 20 6f |,. LDA #32:JSR o| 00000260 73 61 73 63 69 0d 01 36 17 20 4c 44 41 20 23 35 |sasci..6. LDA #5| 00000270 38 3a 4a 53 52 20 6f 73 61 73 63 69 0d 01 40 1b |8:JSR osasci..@.| 00000280 20 4c 44 41 20 23 31 33 3a 53 54 41 20 64 65 6c | LDA #13:STA del| 00000290 65 74 65 2b 38 2c 59 0d 01 4a 16 20 4a 53 52 20 |ete+8,Y..J. JSR | 000002a0 6f 73 72 64 63 68 3a 80 20 23 32 32 33 0d 01 54 |osrdch:. #223..T| 000002b0 16 20 43 4d 50 20 23 38 39 3a 42 4e 45 20 64 6f |. CMP #89:BNE do| 000002c0 6e 6f 74 0d 01 5e 16 20 4c 44 58 20 23 64 65 6c |not..^. LDX #del| 000002d0 65 74 65 20 83 20 32 35 36 0d 01 68 16 20 4c 44 |ete . 256..h. LD| 000002e0 59 20 23 64 65 6c 65 74 65 20 81 20 32 35 36 0d |Y #delete . 256.| 000002f0 01 72 0e 20 4a 53 52 20 6f 73 63 6c 69 0d 01 7c |.r. JSR oscli..|| 00000300 1a 20 4c 44 41 20 73 74 6f 72 65 3a 53 54 41 20 |. LDA store:STA | 00000310 62 6c 6f 63 6b 2b 39 0d 01 86 1d 20 4c 44 41 20 |block+9.... LDA | 00000320 73 74 6f 72 65 2b 31 3a 53 54 41 20 62 6c 6f 63 |store+1:STA bloc| 00000330 6b 2b 31 30 0d 01 90 0c 20 4c 44 41 20 23 38 39 |k+10.... LDA #89| 00000340 0d 01 9a 11 20 4a 4d 50 20 66 69 6e 69 73 68 65 |.... JMP finishe| 00000350 64 0d 01 a4 0b 20 2e 64 6f 6e 6f 74 0d 01 ae 0c |d.... .donot....| 00000360 20 4c 44 41 20 23 37 38 0d 01 b8 0e 20 2e 66 69 | LDA #78.... .fi| 00000370 6e 69 73 68 65 64 0d 01 c2 0f 20 4a 53 52 20 6f |nished.... JSR o| 00000380 73 61 73 63 69 0d 01 cc 17 20 4c 44 41 20 23 31 |sasci.... LDA #1| 00000390 33 3a 4a 53 52 20 6f 73 61 73 63 69 0d 01 d6 0d |3:JSR osasci....| 000003a0 20 4a 4d 50 20 6d 61 69 6e 0d 01 e0 0b 20 2e 73 | JMP main.... .s| 000003b0 74 6f 72 65 0d 01 ea 11 20 4f 50 54 20 a4 65 71 |tore.... OPT .eq| 000003c0 75 77 28 30 29 0d 01 f4 0b 20 2e 62 6c 6f 63 6b |uw(0).... .block| 000003d0 0d 01 fe 1e 20 4f 50 54 20 a4 65 71 75 77 28 30 |.... OPT .equw(0| 000003e0 29 3a 4f 50 54 20 a4 65 71 75 77 28 30 29 0d 02 |):OPT .equw(0)..| 000003f0 08 1e 20 4f 50 54 20 a4 65 71 75 77 28 30 29 3a |.. OPT .equw(0):| 00000400 4f 50 54 20 a4 65 71 75 77 28 30 29 0d 02 12 1e |OPT .equw(0)....| 00000410 20 4f 50 54 20 a4 65 71 75 77 28 30 29 3a 4f 50 | OPT .equw(0):OP| 00000420 54 20 a4 65 71 75 77 28 30 29 0d 02 1c 1e 20 4f |T .equw(0).... O| 00000430 50 54 20 a4 65 71 75 77 28 30 29 3a 4f 50 54 20 |PT .equw(0):OPT | 00000440 a4 65 71 75 77 28 30 29 0d 02 26 0e 20 2e 66 69 |.equw(0)..&. .fi| 00000450 6c 65 6e 61 6d 65 0d 02 30 18 20 4f 50 54 20 a4 |lename..0. OPT .| 00000460 65 71 75 73 28 c4 31 31 2c bd 33 32 29 29 0d 02 |equs(.11,.32))..| 00000470 3a 0c 20 2e 64 65 6c 65 74 65 0d 02 44 21 20 4f |:. .delete..D! O| 00000480 50 54 20 a4 65 71 75 73 28 22 44 45 4c 45 54 45 |PT .equs("DELETE| 00000490 22 2b c4 31 32 2c bd 33 32 29 29 0d 02 4e 0b 20 |"+.12,.32))..N. | 000004a0 5d 3a ed 20 4c 25 0d 02 58 20 20 24 26 37 30 30 |]:. L%..X $&700| 000004b0 3d 22 53 41 56 45 20 57 69 70 65 20 39 30 30 20 |="SAVE Wipe 900 | 000004c0 22 2b c3 7e 50 25 0d 02 62 18 20 58 25 3d 30 3a |"+.~P%..b. X%=0:| 000004d0 59 25 3d 37 3a d6 20 6f 73 63 6c 69 3a e0 0d 02 |Y%=7:. oscli:...| 000004e0 6c 10 20 dd 20 a4 65 71 75 77 28 53 25 29 0d 02 |l. . .equw(S%)..| 000004f0 76 17 20 21 50 25 3d 53 25 3a 50 25 3d 50 25 2b |v. !P%=S%:P%=P%+| 00000500 32 3a 3d 4c 25 0d 02 80 10 20 dd 20 a4 65 71 75 |2:=L%.... . .equ| 00000510 73 28 53 24 29 0d 02 8a 1b 20 24 50 25 3d 53 24 |s(S$).... $P%=S$| 00000520 3a 50 25 3d 50 25 2b a9 28 53 24 29 3a 3d 4c 25 |:P%=P%+.(S$):=L%| 00000530 0d ff |..| 00000532