Home » Personal collection » Commodore disks » disk54b_sound_master_64.d64 » convert
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 » Commodore disks » disk54b_sound_master_64.d64 |
| Filename: | convert |
| Read OK: | ✔ |
| File size: | 03F2 bytes |
| Load address: | 0801 |
| Exec address: | 0000 |
File contents
5 B=0:AD=$4000:DIM LD(10),PD(64):BC=0
7 FORR=0TO64:READ PD(R):NEXT
9 FORR=0TO9:READ LD(R):NEXT
30 POKE54296,10:POKE54277,7:POKE54291,7
40 POKE54278,133:POKE54285,133:POKE54292,133
50 POKE54284,7:READV,P,L
51 IF L>3 THEN L=L AND 254
52 IF L=0 THEN 60
53 IF P<1136 THEN P=1136
55 FORR=0TO64:IFP=PD(R)THENPS=R
56 NEXT
57 FORR=0TO9:IFL=LD(R)THENLS=R
58 NEXT
59 PRINTAD
60 POKEAD+B,PS:POKEAD+5+INT(B/2),PEEK(AD+5+INT(B/2)) OR LS*(1+15*(B AND 1))
69 V=(V-1)*7:B=B+1:IF B=6 THEN B=5
70 POKE54273+V,INT(P/256)
80 POKE54272+V,P-INT(P/256)*256
90 POKE54276+V,17:IFV<>14THENPA=0:V1=L:GOTO50
95 IF V=14 THEN AD=AD+8:B=0:BC=BC+L:IF BC>23 THEN BC=0:POKEAD,$FE:AD=AD+8
100 POKE54276+V,16
105 PA=PA+L:IFPA=V1THENPOKE54276,16:POKE54283,16
110 GOTO50
111 DATA 1,1136,1204,1275,1351,1432,1517,1607,1703,1804,1911,2025,2145,2273
112 DATA 2408,2551,2703,2864,3034,3215,3406,3608,3823,4050,4291,4547,4817,5103
113 DATA 5407,5728,6069,6430,6812,7217,7647,8101,8583,9094,9634,10207,10814
114 DATA 11457,12139,12860,13625,14435,15294,16203,17167,18188,19269,20415
115 DATA 21629,22915,24278,25721,27251,28871,30588,32407,34334,36376,38539,1,1
117 DATA 1,1.5,2,3,4,6,8,12,16,24
' B�0:AD�$4000:� LD(10),PD(64):BC�0 = �R�0�64:� PD(R):� R �R�0�9:� LD(R):� r �54296,10:�54277,7:�54291,7 �( �54278,133:�54285,133:�54292,133 �2 �54284,7:�V,P,L �3 � L�3 � L�L � 254 �4 � L�0 � 60 �5 � P�1136 � P�1136 7 �R�0�64:�P�PD(R)�PS�R 8 � 9 �R�0�9:�L�LD(R)�LS�R % : � - ; �AD j <