Tuesday 21 February 2017

Name that (SID) tune

Back in January 1990 I bought the latest issue of Commodore Disk User for my beloved Commodore 64 and it had a cool new menu screen complete with music and scrolling text.  Oddly this only lasted for one issue and they reverted back to the static menu from the next issue.

Anyway, I really liked the SID tune.




I didn't know the name of the tune and hadn't found it in the High Voltage SID Collection (HVSC) so far.  As the collection contains over 48,000 files it's probably not surprising.

There's a fantastic tool called SID Known (sidknown.exe) by Wilfred Bos which will examine .prg files for known SID tunes by comparing the signature with hashes of the entire HVSC database.

Here's the tool in action on the .d64 disk image for Commodore Disk User 303.

5ad08fc15f9d990168a7e3c0a872dd75  cdu303.d64

1. First use the command line tool c1541 to extract the PRG file for the main menu from the disk image.
2. Run sidknown.exe (with the latest hash database) to check for matches.

Example tutorial:

$ c1541
C1541 Version 4.00.
Copyright 1995-2016 The VICE Development Team.
C1541 is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type `show copying' to see the conditions.
There is absolutely no warranty for C1541.  Type `show warranty' for details.
c1541 #8> attach cdu303.d64

c1541 #8> dir
0 "cdu-january '90 " 33 2a
12    "aNALYTICAL"        usr
19    "sHADOW"            usr
16    "wOODLANDS"         usr
31    "lE gRAT"           usr
45    "1+margo"           prg
42    "2+blackjack"       prg
31    "3+4 in a row"      prg
78    "4+jetrace 2000"    prg
36    "5+frogs in space"  prg
51    "6+l. of darkness"  prg
40    "7+font ed.      "  prg
15    "8+6510+ unass.  "  prg
5     "9+colour r. note"  prg
20    "colour restorer"   prg
1     "scr.code"          prg
5     "file copier"       prg
4     "0+trivia -read- "  prg
13    "trivia install"    prg
162   "trivia.1"          usr
37    "menu"              prg
0 blocks free.
c1541 #8> read menu menu.prg
Reading file `menu' from unit 8.
c1541 #8> quit



$ wine sidknown.exe menu.prg Processing...
502ff4b571b5440d9522dc985c9fd4ea=/menu.prg #1 -> same as: /MUSICIANS/L/Link/TV3_Tune.sid #1

Total time: 00:00:03 (+136 milliseconds)


Gotcha! It correctly matched the following SID tune...
TV3 Tune by Klaus Grøngaard (Link)

Here's its entry on CSDb


No comments:

Post a Comment