Go back one pageReturn to front of my home page

Startip 2
Tim Follin

Whereas David Whittaker accomplished some great 48k and 128k pieces of music, the next time you hear some realistic five channel music from your Spectrum or Spectrum emulator, just bear in mind one name: "Tim Follin". Tim was the musical wizard who accomplished some great sounding five channel sonics from the Sinclair 48k Spectrum, with some of the finest layered dinamic's ever to grace the Sinclair Spectrum's 48k's internal speaker. Tim was always one step ahead: he fine tuned his techniques to absolute perfection. His multi channel compisitions began with the likes of the musical masterpieces of such computer games as the Agent X I and II theme and also Chronos on the Sinclair Spectrum, which were all released on the Mastronic label. However, it was Tim's music in "Agent X II" in which he truly perefected his multi channel sound routines with the best sounding sonics to ever grace the Sinclair 48k Spectrum. Whatsmore who could ever think you could get a drum snare out of Sinclair's 48k Spectrum?

I provide Tim's machine code route as printed in a "Your Sinclair magazine in the year 1987, as a fitting tribute. Hopefully he does not mind. It was published under the heading of "Star Tip 2" which was printed in the "program pitstop" section of the magazine".

His piece of code demonstrates some very clever trickery by squeezing four channel music out of the Sinclair 48k Spectrum. The machine code for this routine starts at address 40000, and is 1340 bytes long. I also provide the routine in TAP and TZX formats for you to load into your Spectrum emulator if you wish to save yourself some typing (download it by clicking the links below).

Click here to download! (TAP format)

Click here to download! (TZX format)

His routine provided here is how it was originally printed in Your Sinclair (raw machine code printed as a huge hex dump). For entering this hex dump you will of course, require 'Your Sinclair' Magazine's 'Hex Loader' which was a BASIC program for entering their huge machine code hex dumps which appeared in the magazine each month which readers would often send into the magazine. The YS hexloader program I do not have, but you can find it in the 'Program Pitstop' section of the magazine. Type in the hex loader program and run it. Next, you will be asked to enter a start address, so type in 40000 [ENTER]. Now enter the 16 lines of hex for this line then press [ENTER]. You will be asked for the checksum for this line (it appears in the listing below after the equals sign). For 40008 and all subsequent lines thereafter just type in the 16 lines of hex for each line and the checksum (the number after the equals sign). When you have finished typing in this huge hex dump, quit the YS hexloader program, by entering STOP [return]. Then make sure you have a blank casette handy and save all the machine code with SAVE "TUNECODE" CODE 40000,1340.

If you do not have 'Your Sinclair' magazine's hexloader program to type in the machine code below, then do not worry! I have also provided a machine code disassembly suitable for an assembler such as Devpac with numerical values printed in hex or decimal (depending upon what your assembler prefers).

I include his composition also as an MP3 for those that do not have a Spectrum or Spectrum emulator which you can download by clicking this link (0.5 megabytes) which you can load into any suitable MP3 player such as Windows Media player.

ADDR: HEX DUMP:                 CHKSUM:
40000 F3 21 E8 03 22 5A 9D DD = 1013
40008 21 62 9D DD 7E 00 3C C2 = 889
40016 7C 9C DD 23 DD 66 01 DD = 1081
40024 6E 00 22 57 9D DD 23 DD = 865
40032 23 DD 7E 00 32 5C 9D DD = 902
40040 7E 01 32 5A 9D DD 7E 02 = 773
40048 32 5F 9D DD 23 DD 23 DD = 1035
40056 23 C3 4B 9C 3A 5A 9D 32 = 816
40064 5B 9D 3A 5C 9D 32 5D 9D = 855
40072 ED 4B 57 9D DD 66 00 DD = 1100
40080 6E 01 DD 56 02 1E 0A 3E = 522
40088 01 32 59 9D 32 5E 9D CD = 803
40096 BA 9C AF DB FE 2F E6 1F = 1298
40104 C2 B8 9C DD 23 DD 23 DD = 1267
40112 23 DD 7E 00 A7 C2 4B 9C = 974
40120 FB C9 C5 3A 59 9D 4F 25 = 1069
40128 20 11 AF D3 FE 41 10 FE = 1024
40136 3E 10 D3 FE 91 47 10 FE = 1029
40144 DD 66 00 2D 20 11 AF D3 = 803
40152 FE 41 10 FE 3E 10 D3 FE = 1132
40160 91 47 10 FE DD 6E 01 15 = 839
40168 20 11 AF D3 FE 41 10 FE = 1024
40176 3E 10 D3 FE 91 47 10 FE = 1029
40184 DD 56 02 1D C2 4F 9D 1E = 798
40192 0A 3A 5E 9D A7 CA 2F 9D = 892
40200 3A 5D 9D 3D 32 5D 9D C2 = 863
40208 4F 9D 3A 5C 9D 32 5D 9D = 843
40216 3A 59 9D 3C 32 59 9D FE = 914
40224 0F C2 4F 9D 3D 32 59 9D = 802
40232 AF 32 5E 9D C3 4F 9D 3A = 965
40240 5B 9D 3D 32 5B 9D C2 4F = 880
40248 9D 3A 5A 9D 32 5B 9D 3A = 818
40256 59 9D 3D 47 3A 5F 9D B8 = 872
40264 CA 4F 9D 78 32 59 9D C1 = 1047
40272 0B 78 B1 C2 BA 9C C9 00 = 1045
40280 96 0C 80 80 00 00 00 01 = 419
40288 00 00 FF 60 09 02 01 0A = 373
40296 41 52 6D 3D 52 6D 41 52 = 655
40304 6D 49 52 6D FF 00 96 01 = 779
40312 96 01 57 62 83 FF 00 96 = 872
40320 FA 00 0F 57 62 83 FF 60 = 932
40328 09 04 01 0A 53 5D 7C 46 = 394
40336 5D 7C 3E 5D 7C 46 5D 7C = 783
40344 5D 5D 7C 63 5D 7C 5D 53 = 802
40352 7C 63 53 7C 6E 53 7C 7C = 871
40360 53 7C 8C 53 7C 7C 53 7C = 885
40368 6F 53 7C 53 53 7C FF 60 = 959
40376 09 04 01 0A 64 85 C8 59 = 546
40384 85 C8 54 85 C8 42 84 C7 = 1147
40392 54 85 C8 59 85 C8 64 85 = 1072
40400 C8 70 86 C8 4B 96 E1 54 = 1180
40408 96 E1 5F 96 E1 64 96 E1 = 1320
40416 71 96 E1 7F 97 E1 71 96 = 1254
40424 E1 64 96 E1 4E 9D EB 58 = 1258
40432 9D EB 4E 9D EB 42 9C EA = 1318
40440 46 9C EB 58 9C EB 4E 9D = 1175
40448 EB 58 9D EB 4E 9D EB 63 = 1284
40456 9D EB 69 9D EB 84 9D EB = 1413
40464 76 9D EB 76 9D EB 76 9D = 1295
40472 EB 76 9D EB 58 63 C7 58 = 1219
40480 53 C6 57 41 C5 57 37 C3 = 967
40488 58 63 C7 58 53 C6 57 41 = 907
40496 C5 57 37 C3 53 63 C7 53 = 998
40504 53 C6 53 41 C5 53 37 C3 = 959
40512 53 63 C7 53 53 C6 53 41 = 894
40520 C5 53 37 C3 63 63 DF 63 = 1050
40528 5E DF 63 4A DF 63 3E DF = 1097
40536 63 63 DF 63 5E DF 63 4A = 1010
40544 DF 63 3E DF 5D 63 DF 5D = 1115
40552 5E DF 5D 4A DF 5D 3E DF = 1085
40560 5D 63 DF 5D 5E DF 5D 4A = 992
40568 DF 5D 3E DF 6F 63 C7 6F = 1121
40576 53 C6 6F 41 C5 6F 37 C3 = 1015
40584 84 63 C7 84 53 C6 84 41 = 1060
40592 C5 84 37 C3 7D 63 DF 7D = 1151
40600 5E DF 7D 4A DF 7D 3E DF = 1149
40608 94 63 DF 94 5E DF 94 4A = 1157
40616 DF 94 3E DF 84 63 C7 84 = 1218
40624 53 C6 84 41 C5 84 37 C3 = 1057
40632 6F 63 C7 6F 53 C6 6F 41 = 977
40640 C5 6F 37 C3 63 63 C7 63 = 1054
40648 53 C6 63 41 C5 63 37 C3 = 991
40656 63 63 C7 63 53 C6 63 41 = 941
40664 C5 63 37 C3 63 63 C7 5E = 1037
40672 53 C6 63 41 C5 5E 37 C3 = 986
40680 63 63 C7 5E 53 C6 63 41 = 936
40688 C5 5E 37 C3 5D 5D D2 75 = 1054
40696 58 D2 5C 45 CF 58 3A D0 = 1020
40704 5D 5D D2 75 58 D2 5C 45 = 972
40712 CF 58 3A D0 5D 5D D2 75 = 1074
40720 58 D2 5C 45 CF 58 3A D0 = 1020
40728 5C 5C 8B 75 58 8B 5C 45 = 828
40736 8B 58 3A 8B 63 63 DE 63 = 943
40744 5E DE 63 4A DD 62 3E DC = 1090
40752 63 63 DE 63 5E DE 63 4A = 1008
40760 6F 62 3E DC 63 63 94 63 = 936
40768 5E F8 63 4A 94 62 3E F8 = 1071
40776 63 63 F8 63 5E F8 63 4A = 1060
40784 F8 62 3E F8 FF 60 09 01 = 1017
40792 01 0D 63 63 F8 63 5E F8 = 901
40800 63 4A F8 62 3E F8 63 63 = 1027
40808 F8 63 5E F8 63 4A F8 62 = 1208
40816 3E F8 6F 63 F8 6F 5E F8 = 1221
40824 6F 4A F8 6F 3E F8 6F 63 = 1064
40832 F8 6F 5E F8 6F 4A F8 6F = 1245
40840 3E F8 FF C0 12 01 01 0D = 740
40848 4A 59 DE 53 63 DC 59 6F = 987
40856 DE 53 63 DC 63 7C F9 58 = 1184
40864 6F F9 4A 58 F9 58 6F F9 = 1215
40872 FF 60 09 01 01 0D 57 68 = 566
40880 83 68 68 83 83 68 83 62 = 934
40888 68 83 68 68 83 83 68 83 = 940
40896 62 6F 94 6F 6F 94 94 6F = 986
40904 94 58 6F 94 6F 6F 94 94 = 1013
40912 6F 94 57 68 83 68 68 83 = 920
40920 83 68 83 62 68 83 68 68 = 907
40928 83 83 68 83 62 6F 94 6F = 965
40936 6F 94 94 6F 94 76 6F 94 = 1043
40944 6F 6F 94 94 6F 94 FF 60 = 1128
40952 09 01 1E 01 6F 94 DE 6F = 633
40960 94 DE 6F 94 DE 6F 94 DE = 1332
40968 7D A6 DE 6F 94 DE 7D A6 = 1285
40976 DE 6F 94 DE 5D 8C DE 6F = 1269
40984 8C DE 6F 8C DE 6F 8C DE = 1308
40992 7D 8C DE 6F 8C DE 5D 8C = 1193
41000 DE 6F 8C DE 53 7C DE 63 = 1223
41008 7C DE 7C 7C DE 95 7C DE = 1311
41016 7C 7C DE 63 7C DE 53 7C = 1122
41024 DE 5D 7C DE 63 7C DE 7C = 1230
41032 7C DE 6F 6F DE 6F 6F DE = 1234
41040 6F 6F DE 6F 6F DE 6F 6F = 1110
41048 DE 6F 6F DE 6F 6F DE 6F = 1221
41056 6F DE 6F 6F DE FF C0 12 = 1242
41064 01 00 00 E0 E1 E2 E0 E1 = 1125
41072 E2 FF 60 09 01 00 28 5D = 720
41080 7C 93 E0 E1 E2 E0 E1 E2 = 1621
41088 5D 7C 93 E0 E1 E2 E0 E1 = 1488
41096 E2 5D 7C 93 E0 E1 E2 FF = 1520
41104 80 25 01 00 1E 62 7C A5 = 583
41112 FF 60 09 01 00 02 3D 7A = 546
41120 B8 45 6E B8 49 7A B8 36 = 980
41128 6D A3 3D 61 A3 41 6D A3 = 930
41136 3D 7A B8 45 6E B8 49 7A = 925
41144 B8 36 6D A3 3D 61 A3 41 = 896
41152 6D A3 FF C0 12 01 00 28 = 778
41160 E0 E1 E2 E0 E1 E2 FF 60 = 1701
41168 09 01 00 28 5D 7C 93 E0 = 638
41176 E1 E2 E0 E1 E2 5D 7C 93 = 1490
41184 E0 E1 E2 E0 E1 E2 5D 7C = 1567
41192 93 E0 E1 E2 FF 80 25 01 = 1243
41200 00 1E 52 6D 82 FF 60 09 = 711
41208 01 00 02 3D 7A B8 45 6E = 549
41216 B8 49 7A B8 36 6D A3 3D = 950
41224 61 A3 41 6D A3 45 8A CF = 1011
41232 4E 7C CF 53 8B D0 3D 7A = 1072
41240 B8 45 6E B8 49 7A B8 4E = 1004
41248 9C EA 58 8C EA 5E 9D EB = 1338
41256 45 8A CF 4E 7C CF 53 8B = 1045
41264 D0 3D 7A B8 45 6E B8 49 = 1011
41272 7A B8 36 6D A3 3D 61 A3 = 953
41280 41 6D A3 30 60 90 36 56 = 765
41288 90 39 60 90 36 56 90 30 = 773
41296 60 90 36 56 90 39 60 90 = 821
41304 36 56 90 30 60 90 36 56 = 712
41312 90 39 60 90 36 56 90 30 = 773
41320 60 90 36 56 90 39 60 90 = 821
41328 36 56 90 FF 00 96 00 80 = 817
41336 01 39 60 90 00 00 00 00 = 298


[ Valid HTML4.01 ]