Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_21.ADF » G/R/COPIER
G/R/COPIER
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 ADFS disks » Electron_User_Group » EUG_21.ADF |
Filename: | G/R/COPIER |
Read OK: | ✔ |
File size: | 0146 bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF802B |
File contents
10REM Disc to Tape Copier 20DIM file$(2) 30*FX200 3 40MODE7 50HIMEM=TOP+&400 55OSCLI"CAT" 60INPUT"File to copy? "file$ 70PROCcopy(file$) 80END 90DEFPROCcopy(file$) 100A%=0:Y%=0:X%=&70:fs%=USR(&FFDA) AND&FF 110f%=OPENUP(file$):len%=EXT#f%:CLOSE#f% 120OSCLI"L. "+file$+" "+STR$~HIMEM 130*TAPE 140OSCLI"S. "+file$+" "+STR$~HIMEM+" +"+STR$~len% 150PRINT~len% 160IF A%=8 THEN OSCLI"ADFS" ELSE *DISC 170ENDPROC
� Disc to Tape Copier � file$(2) *FX200 3 (�7 2 �=�P+&400 7 �"CAT" <�"File to copy? "file$ F�copy(file$) P� Z��copy(file$) d&A%=0:Y%=0:X%=&70:fs%=�(&FFDA) �&FF nf%=�(file$):len%=�#f%:�#f% x�"L. "+file$+" "+�~� � *TAPE �$�"S. "+file$+" "+�~�+" +"+�~len% � �~len% �� A%=8 � �"ADFS" � *DISC �� �
00000000 0d 00 0a 19 f4 20 44 69 73 63 20 74 6f 20 54 61 |..... Disc to Ta| 00000010 70 65 20 43 6f 70 69 65 72 0d 00 14 0e de 20 66 |pe Copier..... f| 00000020 69 6c 65 24 28 32 29 0d 00 1e 0c 2a 46 58 32 30 |ile$(2)....*FX20| 00000030 30 20 33 0d 00 28 06 eb 37 0d 00 32 0d d3 3d b8 |0 3..(..7..2..=.| 00000040 50 2b 26 34 30 30 0d 00 37 0a ff 22 43 41 54 22 |P+&400..7.."CAT"| 00000050 0d 00 3c 1a e8 22 46 69 6c 65 20 74 6f 20 63 6f |..<.."File to co| 00000060 70 79 3f 20 22 66 69 6c 65 24 0d 00 46 10 f2 63 |py? "file$..F..c| 00000070 6f 70 79 28 66 69 6c 65 24 29 0d 00 50 05 e0 0d |opy(file$)..P...| 00000080 00 5a 11 dd f2 63 6f 70 79 28 66 69 6c 65 24 29 |.Z...copy(file$)| 00000090 0d 00 64 26 41 25 3d 30 3a 59 25 3d 30 3a 58 25 |..d&A%=0:Y%=0:X%| 000000a0 3d 26 37 30 3a 66 73 25 3d ba 28 26 46 46 44 41 |=&70:fs%=.(&FFDA| 000000b0 29 20 80 26 46 46 0d 00 6e 1e 66 25 3d ad 28 66 |) .&FF..n.f%=.(f| 000000c0 69 6c 65 24 29 3a 6c 65 6e 25 3d a2 23 66 25 3a |ile$):len%=.#f%:| 000000d0 d9 23 66 25 0d 00 78 18 ff 22 4c 2e 20 22 2b 66 |.#f%..x.."L. "+f| 000000e0 69 6c 65 24 2b 22 20 22 2b c3 7e 93 0d 00 82 09 |ile$+" "+.~.....| 000000f0 2a 54 41 50 45 0d 00 8c 24 ff 22 53 2e 20 22 2b |*TAPE...$."S. "+| 00000100 66 69 6c 65 24 2b 22 20 22 2b c3 7e 93 2b 22 20 |file$+" "+.~.+" | 00000110 2b 22 2b c3 7e 6c 65 6e 25 0d 00 96 0a f1 7e 6c |+"+.~len%.....~l| 00000120 65 6e 25 0d 00 a0 1c e7 20 41 25 3d 38 20 8c 20 |en%..... A%=8 . | 00000130 ff 22 41 44 46 53 22 20 8b 20 2a 44 49 53 43 0d |."ADFS" . *DISC.| 00000140 00 aa 05 e1 0d ff |......| 00000146