Home » CEEFAX disks » telesoftware11.adl » 01-01-89/TINKLES

01-01-89/TINKLES

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 » CEEFAX disks » telesoftware11.adl
Filename: 01-01-89/TINKLES
Read OK:
File size: 04D8 bytes
Load address: FFFF1900
Exec address: FFFF8023
File contents
   10REM Tinkles
   20REM by George Speller
   30REM (c) The Micro User
   40MODE7:PROCinit:PROCtext
   50REPEAT Q%=P%:PROCtone
   60PROCsound:PROCtime
   70UNTIL FALSE:END
   80DEF PROCtone:X%=ADVAL(1)
   90P%=256-X%/127:ENDPROC
  100DEF PROCsound
  110timex%=time%:D%=ABS(P%-Q%)
  120IF D%<time%*1.5 count%=count%+1:IF count%>time%*10 timex%=0
  130channel%=channel%+1
  140IF channel%>3 channel%=1+(B$="2")
  150SOUND channel%,3-(D%>20)-(D%>30),P%,timex%
  160IF B$="1" AND D%>10 SOUND0,3,3-(D%>20)-(D%>30),timex%
  170ENDPROC
  180DEF PROCinit:*FX4,1
  190VDU23;11,0;0;0;0;:channel%=0
  200ENVELOPE1,10,0,0,0,10,200,200,100,-10,-10,-10,126,20
  210ENVELOPE2,10,0,0,0,10,200,200,50,-10,-10,-10,126,20
  220ENVELOPE3,10,0,0,0,10,200,200,30,-10,-10,-10,126,20
  230time%=1:K%=1:B$="0":*FX15,3
  240C$=CHR$4:timex%=0:ENDPROC
  250DEF PROCtime
  260A$=INKEY$0:IF A$="" ENDPROC
  270time%=time%+(INKEY-42 AND time%>0)-(INKEY-58 AND time%<100)
  280K%=K%+(INKEY-26 AND K%>1)-(INKEY-122 AND K%<100)
  290IF INSTR("012",A$)>0 B$=A$
  300PRINTTAB(10,10)time%,K%
  310PRINTTAB(19,12)B$:ENDPROC
  320DEF PROCtext
  330PRINT''CHR$136CHR$131"Tinkles"
  340PRINTCHR$134"Change note length by pressing up or"
  350PRINTCHR$134"down arrows."
  360PRINTCHR$134"Change interval by pressing left or"
  370PRINTCHR$134"right arrows"
  380PRINTTAB(17,9)"Length","Interval"
  390PRINTTAB(17,11)"Percussion"
  400PRINTTAB(10,10)time%,K%
  410PRINTTAB(0,19)CHR$131"Select percussion"
  420PRINTCHR$131"0 or space...none"
  430PRINTCHR$131"1...for sudden changes"
  440PRINTCHR$131"2...constant"
  450PRINTCHR$131CHR$136"I think....!"
  460ENDPROC


� Tinkles
� by George Speller
� (c) The Micro User
(�7:�init:�text
2� Q%=P%:�tone
<�sound:�time
F	� �:�
P� �tone:X%=�(1)
ZP%=256-X%/127:�
d� �sound
ntimex%=time%:D%=�(P%-Q%)
x=� D%<time%*1.5 count%=count%+1:� count%>time%*10 timex%=0
�channel%=channel%+1
�$� channel%>3 channel%=1+(B$="2")
�*� channel%,3-(D%>20)-(D%>30),P%,timex%
�2� B$="1" � D%>10 �0,3,3-(D%>20)-(D%>30),timex%
��
�� �init:*FX4,1
��23;11,0;0;0;0;:channel%=0
�1�1,10,0,0,0,10,200,200,100,-10,-10,-10,126,20
�0�2,10,0,0,0,10,200,200,50,-10,-10,-10,126,20
�0�3,10,0,0,0,10,200,200,30,-10,-10,-10,126,20
�time%=1:K%=1:B$="0":*FX15,3
�C$=�4:timex%=0:�
�� �time
A$=�0:� A$="" �
3time%=time%+(�-42 � time%>0)-(�-58 � time%<100)
(K%=K%+(�-26 � K%>1)-(�-122 � K%<100)
"� �"012",A$)>0 B$=A$
,�10,10)time%,K%
6�19,12)B$:�
@� �text
J�''�136�131"Tinkles"
T/�134"Change note length by pressing up or"
^�134"down arrows."
h.�134"Change interval by pressing left or"
r�134"right arrows"
|�17,9)"Length","Interval"
��17,11)"Percussion"
��10,10)time%,K%
�"�0,19)�131"Select percussion"
��131"0 or space...none"
�!�131"1...for sudden changes"
��131"2...constant"
��131�136"I think....!"
��
�
00000000  0d 00 0a 0d f4 20 54 69  6e 6b 6c 65 73 0d 00 14  |..... Tinkles...|
00000010  17 f4 20 62 79 20 47 65  6f 72 67 65 20 53 70 65  |.. by George Spe|
00000020  6c 6c 65 72 0d 00 1e 18  f4 20 28 63 29 20 54 68  |ller..... (c) Th|
00000030  65 20 4d 69 63 72 6f 20  55 73 65 72 0d 00 28 12  |e Micro User..(.|
00000040  eb 37 3a f2 69 6e 69 74  3a f2 74 65 78 74 0d 00  |.7:.init:.text..|
00000050  32 11 f5 20 51 25 3d 50  25 3a f2 74 6f 6e 65 0d  |2.. Q%=P%:.tone.|
00000060  00 3c 10 f2 73 6f 75 6e  64 3a f2 74 69 6d 65 0d  |.<..sound:.time.|
00000070  00 46 09 fd 20 a3 3a e0  0d 00 50 13 dd 20 f2 74  |.F.. .:...P.. .t|
00000080  6f 6e 65 3a 58 25 3d 96  28 31 29 0d 00 5a 13 50  |one:X%=.(1)..Z.P|
00000090  25 3d 32 35 36 2d 58 25  2f 31 32 37 3a e1 0d 00  |%=256-X%/127:...|
000000a0  64 0c dd 20 f2 73 6f 75  6e 64 0d 00 6e 1c 74 69  |d.. .sound..n.ti|
000000b0  6d 65 78 25 3d 74 69 6d  65 25 3a 44 25 3d 94 28  |mex%=time%:D%=.(|
000000c0  50 25 2d 51 25 29 0d 00  78 3d e7 20 44 25 3c 74  |P%-Q%)..x=. D%<t|
000000d0  69 6d 65 25 2a 31 2e 35  20 63 6f 75 6e 74 25 3d  |ime%*1.5 count%=|
000000e0  63 6f 75 6e 74 25 2b 31  3a e7 20 63 6f 75 6e 74  |count%+1:. count|
000000f0  25 3e 74 69 6d 65 25 2a  31 30 20 74 69 6d 65 78  |%>time%*10 timex|
00000100  25 3d 30 0d 00 82 17 63  68 61 6e 6e 65 6c 25 3d  |%=0....channel%=|
00000110  63 68 61 6e 6e 65 6c 25  2b 31 0d 00 8c 24 e7 20  |channel%+1...$. |
00000120  63 68 61 6e 6e 65 6c 25  3e 33 20 63 68 61 6e 6e  |channel%>3 chann|
00000130  65 6c 25 3d 31 2b 28 42  24 3d 22 32 22 29 0d 00  |el%=1+(B$="2")..|
00000140  96 2a d4 20 63 68 61 6e  6e 65 6c 25 2c 33 2d 28  |.*. channel%,3-(|
00000150  44 25 3e 32 30 29 2d 28  44 25 3e 33 30 29 2c 50  |D%>20)-(D%>30),P|
00000160  25 2c 74 69 6d 65 78 25  0d 00 a0 32 e7 20 42 24  |%,timex%...2. B$|
00000170  3d 22 31 22 20 80 20 44  25 3e 31 30 20 d4 30 2c  |="1" . D%>10 .0,|
00000180  33 2c 33 2d 28 44 25 3e  32 30 29 2d 28 44 25 3e  |3,3-(D%>20)-(D%>|
00000190  33 30 29 2c 74 69 6d 65  78 25 0d 00 aa 05 e1 0d  |30),timex%......|
000001a0  00 b4 12 dd 20 f2 69 6e  69 74 3a 2a 46 58 34 2c  |.... .init:*FX4,|
000001b0  31 0d 00 be 1e ef 32 33  3b 31 31 2c 30 3b 30 3b  |1.....23;11,0;0;|
000001c0  30 3b 30 3b 3a 63 68 61  6e 6e 65 6c 25 3d 30 0d  |0;0;:channel%=0.|
000001d0  00 c8 31 e2 31 2c 31 30  2c 30 2c 30 2c 30 2c 31  |..1.1,10,0,0,0,1|
000001e0  30 2c 32 30 30 2c 32 30  30 2c 31 30 30 2c 2d 31  |0,200,200,100,-1|
000001f0  30 2c 2d 31 30 2c 2d 31  30 2c 31 32 36 2c 32 30  |0,-10,-10,126,20|
00000200  0d 00 d2 30 e2 32 2c 31  30 2c 30 2c 30 2c 30 2c  |...0.2,10,0,0,0,|
00000210  31 30 2c 32 30 30 2c 32  30 30 2c 35 30 2c 2d 31  |10,200,200,50,-1|
00000220  30 2c 2d 31 30 2c 2d 31  30 2c 31 32 36 2c 32 30  |0,-10,-10,126,20|
00000230  0d 00 dc 30 e2 33 2c 31  30 2c 30 2c 30 2c 30 2c  |...0.3,10,0,0,0,|
00000240  31 30 2c 32 30 30 2c 32  30 30 2c 33 30 2c 2d 31  |10,200,200,30,-1|
00000250  30 2c 2d 31 30 2c 2d 31  30 2c 31 32 36 2c 32 30  |0,-10,-10,126,20|
00000260  0d 00 e6 1f 74 69 6d 65  25 3d 31 3a 4b 25 3d 31  |....time%=1:K%=1|
00000270  3a 42 24 3d 22 30 22 3a  2a 46 58 31 35 2c 33 0d  |:B$="0":*FX15,3.|
00000280  00 f0 14 43 24 3d bd 34  3a 74 69 6d 65 78 25 3d  |...C$=.4:timex%=|
00000290  30 3a e1 0d 00 fa 0b dd  20 f2 74 69 6d 65 0d 01  |0:...... .time..|
000002a0  04 13 41 24 3d bf 30 3a  e7 20 41 24 3d 22 22 20  |..A$=.0:. A$="" |
000002b0  e1 0d 01 0e 33 74 69 6d  65 25 3d 74 69 6d 65 25  |....3time%=time%|
000002c0  2b 28 a6 2d 34 32 20 80  20 74 69 6d 65 25 3e 30  |+(.-42 . time%>0|
000002d0  29 2d 28 a6 2d 35 38 20  80 20 74 69 6d 65 25 3c  |)-(.-58 . time%<|
000002e0  31 30 30 29 0d 01 18 28  4b 25 3d 4b 25 2b 28 a6  |100)...(K%=K%+(.|
000002f0  2d 32 36 20 80 20 4b 25  3e 31 29 2d 28 a6 2d 31  |-26 . K%>1)-(.-1|
00000300  32 32 20 80 20 4b 25 3c  31 30 30 29 0d 01 22 18  |22 . K%<100)..".|
00000310  e7 20 a7 22 30 31 32 22  2c 41 24 29 3e 30 20 42  |. ."012",A$)>0 B|
00000320  24 3d 41 24 0d 01 2c 14  f1 8a 31 30 2c 31 30 29  |$=A$..,...10,10)|
00000330  74 69 6d 65 25 2c 4b 25  0d 01 36 10 f1 8a 31 39  |time%,K%..6...19|
00000340  2c 31 32 29 42 24 3a e1  0d 01 40 0b dd 20 f2 74  |,12)B$:...@.. .t|
00000350  65 78 74 0d 01 4a 18 f1  27 27 bd 31 33 36 bd 31  |ext..J..''.136.1|
00000360  33 31 22 54 69 6e 6b 6c  65 73 22 0d 01 54 2f f1  |31"Tinkles"..T/.|
00000370  bd 31 33 34 22 43 68 61  6e 67 65 20 6e 6f 74 65  |.134"Change note|
00000380  20 6c 65 6e 67 74 68 20  62 79 20 70 72 65 73 73  | length by press|
00000390  69 6e 67 20 75 70 20 6f  72 22 0d 01 5e 17 f1 bd  |ing up or"..^...|
000003a0  31 33 34 22 64 6f 77 6e  20 61 72 72 6f 77 73 2e  |134"down arrows.|
000003b0  22 0d 01 68 2e f1 bd 31  33 34 22 43 68 61 6e 67  |"..h...134"Chang|
000003c0  65 20 69 6e 74 65 72 76  61 6c 20 62 79 20 70 72  |e interval by pr|
000003d0  65 73 73 69 6e 67 20 6c  65 66 74 20 6f 72 22 0d  |essing left or".|
000003e0  01 72 17 f1 bd 31 33 34  22 72 69 67 68 74 20 61  |.r...134"right a|
000003f0  72 72 6f 77 73 22 0d 01  7c 1e f1 8a 31 37 2c 39  |rrows"..|...17,9|
00000400  29 22 4c 65 6e 67 74 68  22 2c 22 49 6e 74 65 72  |)"Length","Inter|
00000410  76 61 6c 22 0d 01 86 18  f1 8a 31 37 2c 31 31 29  |val"......17,11)|
00000420  22 50 65 72 63 75 73 73  69 6f 6e 22 0d 01 90 14  |"Percussion"....|
00000430  f1 8a 31 30 2c 31 30 29  74 69 6d 65 25 2c 4b 25  |..10,10)time%,K%|
00000440  0d 01 9a 22 f1 8a 30 2c  31 39 29 bd 31 33 31 22  |..."..0,19).131"|
00000450  53 65 6c 65 63 74 20 70  65 72 63 75 73 73 69 6f  |Select percussio|
00000460  6e 22 0d 01 a4 1c f1 bd  31 33 31 22 30 20 6f 72  |n"......131"0 or|
00000470  20 73 70 61 63 65 2e 2e  2e 6e 6f 6e 65 22 0d 01  | space...none"..|
00000480  ae 21 f1 bd 31 33 31 22  31 2e 2e 2e 66 6f 72 20  |.!..131"1...for |
00000490  73 75 64 64 65 6e 20 63  68 61 6e 67 65 73 22 0d  |sudden changes".|
000004a0  01 b8 17 f1 bd 31 33 31  22 32 2e 2e 2e 63 6f 6e  |.....131"2...con|
000004b0  73 74 61 6e 74 22 0d 01  c2 1b f1 bd 31 33 31 bd  |stant"......131.|
000004c0  31 33 36 22 49 20 74 68  69 6e 6b 2e 2e 2e 2e 21  |136"I think....!|
000004d0  22 0d 01 cc 05 e1 0d ff                           |".......|
000004d8
01-01-89/TINKLES.m0
01-01-89/TINKLES.m1
01-01-89/TINKLES.m2
01-01-89/TINKLES.m4
01-01-89/TINKLES.m5