Home » Personal collection » Acorn tapes » Commercial_Releases » box03_tape20a_acorn_frak.wav » Frak!

Frak!

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 » Commercial_Releases » box03_tape20a_acorn_frak.wav
Filename: Frak!
Read OK:
File size: 077D bytes
Load address: 2800
Exec address: 2EFB
File contents
   10CALLTOP :ELSEPROCpugwash
   20 
   30   "FRAK!" for the Acorn Electron!
   40     (C) Aardvark Software 1986
   50Words,music,(chain re-)action by Orlando
   60 
   70If you wish to pirate this program
   80we at Aardvark have only one thing
   90to say to you - 
  100    "PIRACY is a CRIME - and
  110     a PIRATE is a CRIMINAL.
  120     There is nothing 'cute'
  130     about going to PRISON."
  140 
  150DEFPROCpugwash
  160N$="C D EF G A Bc d ef g a b"
  170b%=0:O%=2*48
  180DEFFNP(A$)=b%+4*INSTR(N$,CHR$ASCA$)-4*(RIGHT$(A$,1)="#")
  190 
  200DATA 2,GdDdGdDdGdDdGDEF#
  210DATA 2,GdDdGdGG#AdAD#DdEF#
  220DATA 2,GdDdGGABcgcgc#gc#g
  230DATA 2,GdDD#EedA#AD#DF#GgfB
  240DATA 2,cgGgcgGgCgGgcgfc#
  250DATA 2,cgGgcgcc#dgdgdGAB
  260DATA 2,CcCcEA#EA#FcFcF#cF#c
  270DATA 2,cgAedaGdcgGgcc#dD
  280DATA 0,""
  290DATA 1,ggggedA#BddeA#A#GED
  300DATA 1,GGAA#Bdedgggggded
  310DATA 1,ggggedA#BddeA#A#AGG
  320DATA 1,dddf#f#afedddddded
  330DATA 1,ggGGggGGggGeedBG
  340DATA 1,ccCCccCCccef#geee
  350DATA 1,BA#BA#BdddBdBEEEEE
  360DATA 1,BGGGAAGGGGGGGGGG
  370DATA 1,ccBBA#BA#AG#G#GGF#F#GG
  380DATA 1,AAG#G#GAGF#FFEED#D#EE
  390DATA 1,CCDD#EGAGccccAGD#E
  400DATA 1,GGGBBdA#AGGGGGGGG
  410DATA 1,CCccCCccCCcAAGEC
  420DATA 1,CCccCCccCCcAAGD#E
  430DATA 1,CCDD#EGAGDDEFFAGG
  440DATA 1,ccccAGD#ECCCCDDDD
  450DATA 0,""
  460SIZE=5000
  470DIM L% SIZE,U% SIZE,block 20
  480RESTORE 200:M%=FNpart(L%,0)
  490RESTORE 290:V%=FNpart(U%,O%)
  500FORX%=0TO M%-L%:U%?X%=(U%?X%-L%?X%)ANDU%?X%<255:NEXT
  510REPEAT
  520PROCplay(L%,U%,M%-L%,2)
  521PROCplay(L%,U%,M%-L%,1)
  530UNTILFALSE
  540{END}
  550 
  560 
  570DEFPROCplay(B%,C%,D%,T%)
  580LOCALA%,X%,Y%,Z%,O%,W%
  590A%=8:X%=block:Y%=FNHI(X%):O%=&FFF1
  600RESTORE610:FORZ%=X%TOX%+13:READE%:?Z%=E%:NEXT
  610DATA 1,1, 0,0,0, 2,1,1, 126,0,0,-126, 126,0
  620E%=C%-B%:W%=X%+3:?X%=1
  630FORZ%=B%TOB%+D%:?X%=1+(Z%AND7):?W%=E%?Z%:CALLO%:SOUND3,?X%,?Z%,T%:NEXT
  640ENDPROC
  650 
  660DEFFNpart(Z%,O%)LOCALA%,B%,C%,D%:REPEATREADA%,A$:IFA%<=0 UNTILTRUE:=Z%-1
  670FORB%=1TOLENA$:C%=FNP(MID$(A$,B%,2))+O%:FORD%=1TOA%:?Z%=C%:Z%=Z%+1:NEXT:B%=B%-(MID$(A$,B%+1,1)="#"):NEXT:UNTILFALSE
  680DEFFNLO(X%)=X%AND255
  690DEFFNHI(X%)=(X%AND&FF00)DIV256

ָP :��pugwash
 
&   "FRAK!" for the Acorn Electron!
(#     (C) Aardvark Software 1986
2,Words,music,(chain re-)action by Orlando
< 
F&If you wish to pirate this program
P&we at Aardvark have only one thing
Zto say to you - 
d     "PIRACY is a CRIME - and
n      a PIRATE is a CRIMINAL.
x      There is nothing 'cute'
�      about going to PRISON."
� 
�
��pugwash
�!N$="C D EF G A Bc d ef g a b"
�b%=0:O%=2*48
�)ݤP(A$)=b%+4*�N$,��A$)-4*(�A$,1)="#")
� 
�� 2,GdDdGdDdGdDdGDEF#
�� 2,GdDdGdGG#AdAD#DdEF#
�� 2,GdDdGGABcgcgc#gc#g
�� 2,GdDD#EedA#AD#DF#GgfB
�� 2,cgGgcgGgCgGgcgfc#
�� 2,cgGgcgcc#dgdgdGAB
� 2,CcCcEA#EA#FcFcF#cF#c
� 2,cgAedaGdcgGgcc#dD

� 0,""
"� 1,ggggedA#BddeA#A#GED
,� 1,GGAA#Bdedgggggded
6� 1,ggggedA#BddeA#A#AGG
@� 1,dddf#f#afedddddded
J� 1,ggGGggGGggGeedBG
T� 1,ccCCccCCccef#geee
^� 1,BA#BA#BdddBdBEEEEE
h� 1,BGGGAAGGGGGGGGGG
r� 1,ccBBA#BA#AG#G#GGF#F#GG
|� 1,AAG#G#GAGF#FFEED#D#EE
�� 1,CCDD#EGAGccccAGD#E
�� 1,GGGBBdA#AGGGGGGGG
�� 1,CCccCCccCCcAAGEC
�� 1,CCccCCccCCcAAGD#E
�� 1,CCDD#EGAGDDEFFAGG
�� 1,ccccAGD#ECCCCDDDD
�
� 0,""
�
SIZE=5000
�� L% SIZE,U% SIZE,block 20
�� �dH@:M%=�part(L%,0)
�� �TbA:V%=�part(U%,O%)
�0�X%=0� M%-L%:U%?X%=(U%?X%-L%?X%)�U%?X%<255:�
��
�play(L%,U%,M%-L%,2)
	�play(L%,U%,M%-L%,1)
��
{�}
& 
0 
:��play(B%,C%,D%,T%)
D�A%,X%,Y%,Z%,O%,W%
N%A%=8:X%=block:Y%=�HI(X%):O%=&FFF1
X#��DbB:�Z%=X%�X%+13:�E%:?Z%=E%:�
b,� 1,1, 0,0,0, 2,1,1, 126,0,0,-126, 126,0
lE%=C%-B%:W%=X%+3:?X%=1
v;�Z%=B%�B%+D%:?X%=1+(Z%�7):?W%=E%?Z%:�O%:�3,?X%,?Z%,T%:�
��
� 
�5ݤpart(Z%,O%)�A%,B%,C%,D%:��A%,A$:�A%<=0 ��:=Z%-1
�X�B%=1��A$:C%=�P(�A$,B%,2))+O%:�D%=1�A%:?Z%=C%:Z%=Z%+1:�:B%=B%-(�A$,B%+1,1)="#"):�:��
�ݤLO(X%)=X%�255
�ݤHI(X%)=(X%�&FF00)�256
����� � � � � � � � � � � � � � �F �r �a �k �! �
 �
 �
 �/��
���L��
00000000  0d 00 0a 12 d6 b8 50 20  3a 8b f2 70 75 67 77 61  |......P :..pugwa|
00000010  73 68 0d 00 14 05 20 0d  00 1e 26 20 20 20 22 46  |sh.... ...&   "F|
00000020  52 41 4b 21 22 20 66 6f  72 20 74 68 65 20 41 63  |RAK!" for the Ac|
00000030  6f 72 6e 20 45 6c 65 63  74 72 6f 6e 21 0d 00 28  |orn Electron!..(|
00000040  23 20 20 20 20 20 28 43  29 20 41 61 72 64 76 61  |#     (C) Aardva|
00000050  72 6b 20 53 6f 66 74 77  61 72 65 20 31 39 38 36  |rk Software 1986|
00000060  0d 00 32 2c 57 6f 72 64  73 2c 6d 75 73 69 63 2c  |..2,Words,music,|
00000070  28 63 68 61 69 6e 20 72  65 2d 29 61 63 74 69 6f  |(chain re-)actio|
00000080  6e 20 62 79 20 4f 72 6c  61 6e 64 6f 0d 00 3c 05  |n by Orlando..<.|
00000090  20 0d 00 46 26 49 66 20  79 6f 75 20 77 69 73 68  | ..F&If you wish|
000000a0  20 74 6f 20 70 69 72 61  74 65 20 74 68 69 73 20  | to pirate this |
000000b0  70 72 6f 67 72 61 6d 0d  00 50 26 77 65 20 61 74  |program..P&we at|
000000c0  20 41 61 72 64 76 61 72  6b 20 68 61 76 65 20 6f  | Aardvark have o|
000000d0  6e 6c 79 20 6f 6e 65 20  74 68 69 6e 67 0d 00 5a  |nly one thing..Z|
000000e0  14 74 6f 20 73 61 79 20  74 6f 20 79 6f 75 20 2d  |.to say to you -|
000000f0  20 0d 00 64 20 20 20 20  20 22 50 49 52 41 43 59  | ..d     "PIRACY|
00000100  20 69 73 20 61 20 43 52  49 4d 45 20 2d 20 61 6e  | is a CRIME - an|
00000110  64 0d 00 6e 20 20 20 20  20 20 61 20 50 49 52 41  |d..n      a PIRA|
00000120  54 45 20 69 73 20 61 20  43 52 49 4d 49 4e 41 4c  |TE is a CRIMINAL|
00000130  2e 0d 00 78 20 20 20 20  20 20 54 68 65 72 65 20  |...x      There |
00000140  69 73 20 6e 6f 74 68 69  6e 67 20 27 63 75 74 65  |is nothing 'cute|
00000150  27 0d 00 82 20 20 20 20  20 20 61 62 6f 75 74 20  |'...      about |
00000160  67 6f 69 6e 67 20 74 6f  20 50 52 49 53 4f 4e 2e  |going to PRISON.|
00000170  22 0d 00 8c 05 20 0d 00  96 0d dd f2 70 75 67 77  |".... ......pugw|
00000180  61 73 68 0d 00 a0 21 4e  24 3d 22 43 20 44 20 45  |ash...!N$="C D E|
00000190  46 20 47 20 41 20 42 63  20 64 20 65 66 20 67 20  |F G A Bc d ef g |
000001a0  61 20 62 22 0d 00 aa 10  62 25 3d 30 3a 4f 25 3d  |a b"....b%=0:O%=|
000001b0  32 2a 34 38 0d 00 b4 29  dd a4 50 28 41 24 29 3d  |2*48...)..P(A$)=|
000001c0  62 25 2b 34 2a a7 4e 24  2c bd 97 41 24 29 2d 34  |b%+4*.N$,..A$)-4|
000001d0  2a 28 c2 41 24 2c 31 29  3d 22 23 22 29 0d 00 be  |*(.A$,1)="#")...|
000001e0  05 20 0d 00 c8 19 dc 20  32 2c 47 64 44 64 47 64  |. ..... 2,GdDdGd|
000001f0  44 64 47 64 44 64 47 44  45 46 23 0d 00 d2 1b dc  |DdGdDdGDEF#.....|
00000200  20 32 2c 47 64 44 64 47  64 47 47 23 41 64 41 44  | 2,GdDdGdGG#AdAD|
00000210  23 44 64 45 46 23 0d 00  dc 1a dc 20 32 2c 47 64  |#DdEF#..... 2,Gd|
00000220  44 64 47 47 41 42 63 67  63 67 63 23 67 63 23 67  |DdGGABcgcgc#gc#g|
00000230  0d 00 e6 1c dc 20 32 2c  47 64 44 44 23 45 65 64  |..... 2,GdDD#Eed|
00000240  41 23 41 44 23 44 46 23  47 67 66 42 0d 00 f0 19  |A#AD#DF#GgfB....|
00000250  dc 20 32 2c 63 67 47 67  63 67 47 67 43 67 47 67  |. 2,cgGgcgGgCgGg|
00000260  63 67 66 63 23 0d 00 fa  19 dc 20 32 2c 63 67 47  |cgfc#..... 2,cgG|
00000270  67 63 67 63 63 23 64 67  64 67 64 47 41 42 0d 01  |gcgcc#dgdgdGAB..|
00000280  04 1c dc 20 32 2c 43 63  43 63 45 41 23 45 41 23  |... 2,CcCcEA#EA#|
00000290  46 63 46 63 46 23 63 46  23 63 0d 01 0e 19 dc 20  |FcFcF#cF#c..... |
000002a0  32 2c 63 67 41 65 64 61  47 64 63 67 47 67 63 63  |2,cgAedaGdcgGgcc|
000002b0  23 64 44 0d 01 18 0a dc  20 30 2c 22 22 0d 01 22  |#dD..... 0,"".."|
000002c0  1b dc 20 31 2c 67 67 67  67 65 64 41 23 42 64 64  |.. 1,ggggedA#Bdd|
000002d0  65 41 23 41 23 47 45 44  0d 01 2c 19 dc 20 31 2c  |eA#A#GED..,.. 1,|
000002e0  47 47 41 41 23 42 64 65  64 67 67 67 67 67 64 65  |GGAA#Bdedgggggde|
000002f0  64 0d 01 36 1b dc 20 31  2c 67 67 67 67 65 64 41  |d..6.. 1,ggggedA|
00000300  23 42 64 64 65 41 23 41  23 41 47 47 0d 01 40 1a  |#BddeA#A#AGG..@.|
00000310  dc 20 31 2c 64 64 64 66  23 66 23 61 66 65 64 64  |. 1,dddf#f#afedd|
00000320  64 64 64 64 65 64 0d 01  4a 18 dc 20 31 2c 67 67  |dddded..J.. 1,gg|
00000330  47 47 67 67 47 47 67 67  47 65 65 64 42 47 0d 01  |GGggGGggGeedBG..|
00000340  54 19 dc 20 31 2c 63 63  43 43 63 63 43 43 63 63  |T.. 1,ccCCccCCcc|
00000350  65 66 23 67 65 65 65 0d  01 5e 1a dc 20 31 2c 42  |ef#geee..^.. 1,B|
00000360  41 23 42 41 23 42 64 64  64 42 64 42 45 45 45 45  |A#BA#BdddBdBEEEE|
00000370  45 0d 01 68 18 dc 20 31  2c 42 47 47 47 41 41 47  |E..h.. 1,BGGGAAG|
00000380  47 47 47 47 47 47 47 47  47 0d 01 72 1e dc 20 31  |GGGGGGGGG..r.. 1|
00000390  2c 63 63 42 42 41 23 42  41 23 41 47 23 47 23 47  |,ccBBA#BA#AG#G#G|
000003a0  47 46 23 46 23 47 47 0d  01 7c 1d dc 20 31 2c 41  |GF#F#GG..|.. 1,A|
000003b0  41 47 23 47 23 47 41 47  46 23 46 46 45 45 44 23  |AG#G#GAGF#FFEED#|
000003c0  44 23 45 45 0d 01 86 1a  dc 20 31 2c 43 43 44 44  |D#EE..... 1,CCDD|
000003d0  23 45 47 41 47 63 63 63  63 41 47 44 23 45 0d 01  |#EGAGccccAGD#E..|
000003e0  90 19 dc 20 31 2c 47 47  47 42 42 64 41 23 41 47  |... 1,GGGBBdA#AG|
000003f0  47 47 47 47 47 47 47 0d  01 9a 18 dc 20 31 2c 43  |GGGGGGG..... 1,C|
00000400  43 63 63 43 43 63 63 43  43 63 41 41 47 45 43 0d  |CccCCccCCcAAGEC.|
00000410  01 a4 19 dc 20 31 2c 43  43 63 63 43 43 63 63 43  |.... 1,CCccCCccC|
00000420  43 63 41 41 47 44 23 45  0d 01 ae 19 dc 20 31 2c  |CcAAGD#E..... 1,|
00000430  43 43 44 44 23 45 47 41  47 44 44 45 46 46 41 47  |CCDD#EGAGDDEFFAG|
00000440  47 0d 01 b8 19 dc 20 31  2c 63 63 63 63 41 47 44  |G..... 1,ccccAGD|
00000450  23 45 43 43 43 43 44 44  44 44 0d 01 c2 0a dc 20  |#ECCCCDDDD..... |
00000460  30 2c 22 22 0d 01 cc 0d  53 49 5a 45 3d 35 30 30  |0,""....SIZE=500|
00000470  30 0d 01 d6 1e de 20 4c  25 20 53 49 5a 45 2c 55  |0..... L% SIZE,U|
00000480  25 20 53 49 5a 45 2c 62  6c 6f 63 6b 20 32 30 0d  |% SIZE,block 20.|
00000490  01 e0 19 f7 20 8d 64 48  40 3a 4d 25 3d a4 70 61  |.... .dH@:M%=.pa|
000004a0  72 74 28 4c 25 2c 30 29  0d 01 ea 1a f7 20 8d 54  |rt(L%,0)..... .T|
000004b0  62 41 3a 56 25 3d a4 70  61 72 74 28 55 25 2c 4f  |bA:V%=.part(U%,O|
000004c0  25 29 0d 01 f4 30 e3 58  25 3d 30 b8 20 4d 25 2d  |%)...0.X%=0. M%-|
000004d0  4c 25 3a 55 25 3f 58 25  3d 28 55 25 3f 58 25 2d  |L%:U%?X%=(U%?X%-|
000004e0  4c 25 3f 58 25 29 80 55  25 3f 58 25 3c 32 35 35  |L%?X%).U%?X%<255|
000004f0  3a ed 0d 01 fe 05 f5 0d  02 08 18 f2 70 6c 61 79  |:...........play|
00000500  28 4c 25 2c 55 25 2c 4d  25 2d 4c 25 2c 32 29 0d  |(L%,U%,M%-L%,2).|
00000510  02 09 18 f2 70 6c 61 79  28 4c 25 2c 55 25 2c 4d  |....play(L%,U%,M|
00000520  25 2d 4c 25 2c 31 29 0d  02 12 06 fd a3 0d 02 1c  |%-L%,1).........|
00000530  07 7b e0 7d 0d 02 26 05  20 0d 02 30 05 20 0d 02  |.{.}..&. ..0. ..|
00000540  3a 17 dd f2 70 6c 61 79  28 42 25 2c 43 25 2c 44  |:...play(B%,C%,D|
00000550  25 2c 54 25 29 0d 02 44  16 ea 41 25 2c 58 25 2c  |%,T%)..D..A%,X%,|
00000560  59 25 2c 5a 25 2c 4f 25  2c 57 25 0d 02 4e 25 41  |Y%,Z%,O%,W%..N%A|
00000570  25 3d 38 3a 58 25 3d 62  6c 6f 63 6b 3a 59 25 3d  |%=8:X%=block:Y%=|
00000580  a4 48 49 28 58 25 29 3a  4f 25 3d 26 46 46 46 31  |.HI(X%):O%=&FFF1|
00000590  0d 02 58 23 f7 8d 44 62  42 3a e3 5a 25 3d 58 25  |..X#..DbB:.Z%=X%|
000005a0  b8 58 25 2b 31 33 3a f3  45 25 3a 3f 5a 25 3d 45  |.X%+13:.E%:?Z%=E|
000005b0  25 3a ed 0d 02 62 2c dc  20 31 2c 31 2c 20 30 2c  |%:...b,. 1,1, 0,|
000005c0  30 2c 30 2c 20 32 2c 31  2c 31 2c 20 31 32 36 2c  |0,0, 2,1,1, 126,|
000005d0  30 2c 30 2c 2d 31 32 36  2c 20 31 32 36 2c 30 0d  |0,0,-126, 126,0.|
000005e0  02 6c 1a 45 25 3d 43 25  2d 42 25 3a 57 25 3d 58  |.l.E%=C%-B%:W%=X|
000005f0  25 2b 33 3a 3f 58 25 3d  31 0d 02 76 3b e3 5a 25  |%+3:?X%=1..v;.Z%|
00000600  3d 42 25 b8 42 25 2b 44  25 3a 3f 58 25 3d 31 2b  |=B%.B%+D%:?X%=1+|
00000610  28 5a 25 80 37 29 3a 3f  57 25 3d 45 25 3f 5a 25  |(Z%.7):?W%=E%?Z%|
00000620  3a d6 4f 25 3a d4 33 2c  3f 58 25 2c 3f 5a 25 2c  |:.O%:.3,?X%,?Z%,|
00000630  54 25 3a ed 0d 02 80 05  e1 0d 02 8a 05 20 0d 02  |T%:.......... ..|
00000640  94 35 dd a4 70 61 72 74  28 5a 25 2c 4f 25 29 ea  |.5..part(Z%,O%).|
00000650  41 25 2c 42 25 2c 43 25  2c 44 25 3a f5 f3 41 25  |A%,B%,C%,D%:..A%|
00000660  2c 41 24 3a e7 41 25 3c  3d 30 20 fd b9 3a 3d 5a  |,A$:.A%<=0 ..:=Z|
00000670  25 2d 31 0d 02 9e 58 e3  42 25 3d 31 b8 a9 41 24  |%-1...X.B%=1..A$|
00000680  3a 43 25 3d a4 50 28 c1  41 24 2c 42 25 2c 32 29  |:C%=.P(.A$,B%,2)|
00000690  29 2b 4f 25 3a e3 44 25  3d 31 b8 41 25 3a 3f 5a  |)+O%:.D%=1.A%:?Z|
000006a0  25 3d 43 25 3a 5a 25 3d  5a 25 2b 31 3a ed 3a 42  |%=C%:Z%=Z%+1:.:B|
000006b0  25 3d 42 25 2d 28 c1 41  24 2c 42 25 2b 31 2c 31  |%=B%-(.A$,B%+1,1|
000006c0  29 3d 22 23 22 29 3a ed  3a fd a3 0d 02 a8 13 dd  |)="#"):.:.......|
000006d0  a4 4c 4f 28 58 25 29 3d  58 25 80 32 35 35 0d 02  |.LO(X%)=X%.255..|
000006e0  b2 1b dd a4 48 49 28 58  25 29 3d 28 58 25 80 26  |....HI(X%)=(X%.&|
000006f0  46 46 30 30 29 81 32 35  36 0d ff a2 ff 9a a9 16  |FF00).256.......|
00000700  20 ee ff a9 04 20 ee ff  a9 13 20 ee ff a9 00 20  | .... .... .... |
00000710  ee ff a9 04 20 ee ff a9  00 20 ee ff a9 00 20 ee  |.... .... .... .|
00000720  ff a9 00 20 ee ff a9 13  20 ee ff a9 01 20 ee ff  |... .... .... ..|
00000730  a9 03 20 ee ff a9 00 20  ee ff a9 00 20 ee ff a9  |.. .... .... ...|
00000740  00 20 ee ff a9 46 20 ee  ff a9 72 20 ee ff a9 61  |. ...F ...r ...a|
00000750  20 ee ff a9 6b 20 ee ff  a9 21 20 ee ff a9 0a 20  | ...k ...! .... |
00000760  ee ff a9 0d 20 ee ff a9  0a 20 ee ff a9 2f 8d 00  |.... .... .../..|
00000770  01 a9 0d 8d 01 01 a2 00  a0 01 4c f7 ff           |..........L..|
0000077d
Frak!.m0
Frak!.m1
Frak!.m2
Frak!.m4
Frak!.m5