Home » Personal collection » Acorn hard disk » misc » misc2 » shipw4/!Porter/TEST
shipw4/!Porter/TEST
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 hard disk » misc » misc2 |
Filename: | shipw4/!Porter/TEST |
Read OK: | ✔ |
File size: | 0241 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Personal collection » Acorn ADFS disks » Archimedes » Unlabelled_disk_3.ADF » !Porter/TEST
- Personal collection » Acorn hard disk » misc » misc2 » shipw4/!Porter/TEST
File contents
REM COMMODORE 64 PORTER UTILITY REM (C) DOMINIC FORD 1998 : ON ERROR REPORT:PRINT" @ ";ERL:END : MODE 0:VOICE 1,"SquareWave" PRINT"Commodore 64 Porter Utility"' PRINT"Programmed and Designed by Dominic Ford 1998"' INPUT"Filename";f$ DIM space &8000 FORr=space TO space+&8000 STEP 4:!r=0:NEXT OSCLI"LOAD "+f$+" "+STR$~space : CLS:SOUND1,-15,100,5:FORR=0TO50000:NEXT:SOUND1,-15,100,10 FORr=space TO space+&8000:PRINTTAB(0,0)~r-space:byte=?r:FORb=0 TO 7 FORR=0TO1000:NEXT:T=64-64*((byte AND 1)=1):SOUND1,0,100,1:T=TIME+T REPEAT UNTIL TIME=T:SOUND1,-15,100,10 byte=byte DIV2:NEXT,
00000000 52 45 4d 20 43 4f 4d 4d 4f 44 4f 52 45 20 36 34 |REM COMMODORE 64| 00000010 20 50 4f 52 54 45 52 20 55 54 49 4c 49 54 59 0a | PORTER UTILITY.| 00000020 52 45 4d 20 28 43 29 20 44 4f 4d 49 4e 49 43 20 |REM (C) DOMINIC | 00000030 46 4f 52 44 20 31 39 39 38 0a 3a 0a 4f 4e 20 45 |FORD 1998.:.ON E| 00000040 52 52 4f 52 20 52 45 50 4f 52 54 3a 50 52 49 4e |RROR REPORT:PRIN| 00000050 54 22 20 40 20 22 3b 45 52 4c 3a 45 4e 44 0a 3a |T" @ ";ERL:END.:| 00000060 0a 4d 4f 44 45 20 30 3a 56 4f 49 43 45 20 31 2c |.MODE 0:VOICE 1,| 00000070 22 53 71 75 61 72 65 57 61 76 65 22 0a 50 52 49 |"SquareWave".PRI| 00000080 4e 54 22 43 6f 6d 6d 6f 64 6f 72 65 20 36 34 20 |NT"Commodore 64 | 00000090 50 6f 72 74 65 72 20 55 74 69 6c 69 74 79 22 27 |Porter Utility"'| 000000a0 0a 50 52 49 4e 54 22 50 72 6f 67 72 61 6d 6d 65 |.PRINT"Programme| 000000b0 64 20 61 6e 64 20 44 65 73 69 67 6e 65 64 20 62 |d and Designed b| 000000c0 79 20 44 6f 6d 69 6e 69 63 20 46 6f 72 64 20 31 |y Dominic Ford 1| 000000d0 39 39 38 22 27 0a 49 4e 50 55 54 22 46 69 6c 65 |998"'.INPUT"File| 000000e0 6e 61 6d 65 22 3b 66 24 0a 44 49 4d 20 73 70 61 |name";f$.DIM spa| 000000f0 63 65 20 26 38 30 30 30 0a 46 4f 52 72 3d 73 70 |ce &8000.FORr=sp| 00000100 61 63 65 20 54 4f 20 73 70 61 63 65 2b 26 38 30 |ace TO space+&80| 00000110 30 30 20 53 54 45 50 20 34 3a 21 72 3d 30 3a 4e |00 STEP 4:!r=0:N| 00000120 45 58 54 0a 4f 53 43 4c 49 22 4c 4f 41 44 20 22 |EXT.OSCLI"LOAD "| 00000130 2b 66 24 2b 22 20 22 2b 53 54 52 24 7e 73 70 61 |+f$+" "+STR$~spa| 00000140 63 65 0a 3a 0a 43 4c 53 3a 53 4f 55 4e 44 31 2c |ce.:.CLS:SOUND1,| 00000150 2d 31 35 2c 31 30 30 2c 35 3a 46 4f 52 52 3d 30 |-15,100,5:FORR=0| 00000160 54 4f 35 30 30 30 30 3a 4e 45 58 54 3a 53 4f 55 |TO50000:NEXT:SOU| 00000170 4e 44 31 2c 2d 31 35 2c 31 30 30 2c 31 30 0a 46 |ND1,-15,100,10.F| 00000180 4f 52 72 3d 73 70 61 63 65 20 54 4f 20 73 70 61 |ORr=space TO spa| 00000190 63 65 2b 26 38 30 30 30 3a 50 52 49 4e 54 54 41 |ce+&8000:PRINTTA| 000001a0 42 28 30 2c 30 29 7e 72 2d 73 70 61 63 65 3a 62 |B(0,0)~r-space:b| 000001b0 79 74 65 3d 3f 72 3a 46 4f 52 62 3d 30 20 54 4f |yte=?r:FORb=0 TO| 000001c0 20 37 0a 46 4f 52 52 3d 30 54 4f 31 30 30 30 3a | 7.FORR=0TO1000:| 000001d0 4e 45 58 54 3a 54 3d 36 34 2d 36 34 2a 28 28 62 |NEXT:T=64-64*((b| 000001e0 79 74 65 20 41 4e 44 20 31 29 3d 31 29 3a 53 4f |yte AND 1)=1):SO| 000001f0 55 4e 44 31 2c 30 2c 31 30 30 2c 31 3a 54 3d 54 |UND1,0,100,1:T=T| 00000200 49 4d 45 2b 54 0a 52 45 50 45 41 54 20 55 4e 54 |IME+T.REPEAT UNT| 00000210 49 4c 20 54 49 4d 45 3d 54 3a 53 4f 55 4e 44 31 |IL TIME=T:SOUND1| 00000220 2c 2d 31 35 2c 31 30 30 2c 31 30 0a 62 79 74 65 |,-15,100,10.byte| 00000230 3d 62 79 74 65 20 44 49 56 32 3a 4e 45 58 54 2c |=byte DIV2:NEXT,| 00000240 0a |.| 00000241