Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_18.ADF » P/Convert
P/Convert
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_18.ADF |
Filename: | P/Convert |
Read OK: | ✔ |
File size: | 0183 bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » eug » eug_5_25_discs_Eug-18_D-EUG18.dsd » U.CONVER1
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_18.ADF » P/Convert
File contents
10*FX20,6 20input$="" 30output$="" 40ch%=OPENIN(input$) 50INPUT #ch%,start% 60INPUT #ch%,end% 70FOR char%=start% TO end% 80VDU 23,char% 90INPUT #ch%,string$ 100VDU VAL(MID$(string$,1,3)) 110VDU VAL(MID$(string$,4,3)) 120VDU VAL(MID$(string$,7,3)) 130VDU VAL(MID$(string$,10,3)) 140VDU VAL(MID$(string$,13,3)) 150VDU VAL(MID$(string$,16,3)) 160VDU VAL(MID$(string$,19,3)) 170VDU VAL(MID$(string$,22,3)) 180NEXT char% 190CLOSE #ch% 200OSCLI("CSAVE "+output$+" 20 FF X") 210END
*FX20,6 input$="" output$="" (ch%=�(input$) 2� #ch%,start% <� #ch%,end% F� char%=start% � end% P� 23,char% Z� #ch%,string$ d� �(�string$,1,3)) n� �(�string$,4,3)) x� �(�string$,7,3)) �� �(�string$,10,3)) �� �(�string$,13,3)) �� �(�string$,16,3)) �� �(�string$,19,3)) �� �(�string$,22,3)) �� char% � � #ch% �"�("CSAVE "+output$+" 20 FF X") �� �
00000000 0d 00 0a 0b 2a 46 58 32 30 2c 36 0d 00 14 0d 69 |....*FX20,6....i| 00000010 6e 70 75 74 24 3d 22 22 0d 00 1e 0e 6f 75 74 70 |nput$=""....outp| 00000020 75 74 24 3d 22 22 0d 00 28 11 63 68 25 3d 8e 28 |ut$=""..(.ch%=.(| 00000030 69 6e 70 75 74 24 29 0d 00 32 11 e8 20 23 63 68 |input$)..2.. #ch| 00000040 25 2c 73 74 61 72 74 25 0d 00 3c 0f e8 20 23 63 |%,start%..<.. #c| 00000050 68 25 2c 65 6e 64 25 0d 00 46 19 e3 20 63 68 61 |h%,end%..F.. cha| 00000060 72 25 3d 73 74 61 72 74 25 20 b8 20 65 6e 64 25 |r%=start% . end%| 00000070 0d 00 50 0e ef 20 32 33 2c 63 68 61 72 25 0d 00 |..P.. 23,char%..| 00000080 5a 12 e8 20 23 63 68 25 2c 73 74 72 69 6e 67 24 |Z.. #ch%,string$| 00000090 0d 00 64 16 ef 20 bb 28 c1 73 74 72 69 6e 67 24 |..d.. .(.string$| 000000a0 2c 31 2c 33 29 29 0d 00 6e 16 ef 20 bb 28 c1 73 |,1,3))..n.. .(.s| 000000b0 74 72 69 6e 67 24 2c 34 2c 33 29 29 0d 00 78 16 |tring$,4,3))..x.| 000000c0 ef 20 bb 28 c1 73 74 72 69 6e 67 24 2c 37 2c 33 |. .(.string$,7,3| 000000d0 29 29 0d 00 82 17 ef 20 bb 28 c1 73 74 72 69 6e |))..... .(.strin| 000000e0 67 24 2c 31 30 2c 33 29 29 0d 00 8c 17 ef 20 bb |g$,10,3))..... .| 000000f0 28 c1 73 74 72 69 6e 67 24 2c 31 33 2c 33 29 29 |(.string$,13,3))| 00000100 0d 00 96 17 ef 20 bb 28 c1 73 74 72 69 6e 67 24 |..... .(.string$| 00000110 2c 31 36 2c 33 29 29 0d 00 a0 17 ef 20 bb 28 c1 |,16,3))..... .(.| 00000120 73 74 72 69 6e 67 24 2c 31 39 2c 33 29 29 0d 00 |string$,19,3))..| 00000130 aa 17 ef 20 bb 28 c1 73 74 72 69 6e 67 24 2c 32 |... .(.string$,2| 00000140 32 2c 33 29 29 0d 00 b4 0b ed 20 63 68 61 72 25 |2,3))..... char%| 00000150 0d 00 be 0a d9 20 23 63 68 25 0d 00 c8 22 ff 28 |..... #ch%...".(| 00000160 22 43 53 41 56 45 20 22 2b 6f 75 74 70 75 74 24 |"CSAVE "+output$| 00000170 2b 22 20 32 30 20 46 46 20 58 22 29 0d 00 d2 05 |+" 20 FF X")....| 00000180 e0 0d ff |...| 00000183