Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user tomek ! (Registered 2024-11-24) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > SID ID wanted
2006-06-13 13:01
Scout

Registered: Dec 2002
Posts: 1570
SID ID wanted

Who made the tune you hear in the intro of this demo? -> Welcome

Thanx!
---
Commodore 64 Scenemusic Podcast
http://8bitmayhem.blogspot.com/
 
... 8 posts hidden. Click here to view all posts....
 
2006-06-14 20:31
j0x

Registered: Mar 2004
Posts: 215
Quote: @j0x: Amazing zip search tool you seem to have there. Did it scan through the whole HVSC in .5 seconds?

Not quite.

In the example shown, it uses about 0.5 seconds to load (from cache) the zip file and about 1.5 seconds to search through it). It's the gross (as opposed to net) "real" time that's the practical number. In the example, about 2.5 seconds.

On my machine, first run is about 5 seconds (although I've never measured this), subsequent runs are about 2-2.5 seconds on my machine, depending on the length of the pattern to search for.

I've been using it a lot lately, doing HVSC archeology :)

/Stefan
2006-06-14 20:37
j0x

Registered: Mar 2004
Posts: 215
Quote: How does this zip search pattern thing work?..

It's very simple. I load an uncompressed zip file to memory, then scan through the data of each of the files, looking for the specified pattern.

A pattern may contain wildcard nybbles, so:
a9008d2.d0

matches
a9 00    lda #$00
8d 2. d0 sta $xxxx

where $xxxx is $d020, $d021, $d022, ..., $d02f

Using wildcards it's possible to look for relocated code, etc.

The problem with searching through the HVSC collection using the straight-forward approach is that it takes forever to load each sid-file individually. Since the HVSC is distributed as an uncompressed zipfile inside a compressed zipfile, this method is not too inconvenient, and rather quick.

The pattern itself must be found manually.

/Stefan
2006-06-16 07:55
Laxity

Registered: Aug 2005
Posts: 459
Ok, but is it a custom tool you've written yourself?
2006-06-16 08:42
j0x

Registered: Mar 2004
Posts: 215
Quote: Ok, but is it a custom tool you've written yourself?

Yup
2006-06-16 09:36
TNT
Account closed

Registered: Oct 2004
Posts: 189
A long time ago I wrote Amiga program for Nemesis1 to calculate ID for SIDs. It worked by patching sidplay.library and calculating CRC32 from the emulated output. It managed to ID dozen or so SIDs in second... Those were the times :)
2006-06-16 17:47
Laxity

Registered: Aug 2005
Posts: 459
Ok cool.. Are you using some library to access the zip-file?

2006-06-16 19:54
Hein

Registered: Apr 2004
Posts: 942
Cool. Woopsadaysee... nice tune. Darn, wish I could find the demo from HSP where we used that same tune as well, it gave it a happy mood..

Jeff, what did you do in 1988? Suck on your moms titty?
2006-06-16 20:55
Scout

Registered: Dec 2002
Posts: 1570
Quote: Cool. Woopsadaysee... nice tune. Darn, wish I could find the demo from HSP where we used that same tune as well, it gave it a happy mood..

Jeff, what did you do in 1988? Suck on your moms titty?


Hein,

It's in the intro of HSP's Mega-Strike
---
Commodore 64 Scenemusic Podcast
http://8bitmayhem.blogspot.com/
2006-06-17 00:30
j0x

Registered: Mar 2004
Posts: 215
Quote: Ok cool.. Are you using some library to access the zip-file?



Nope, banging the bytes by hand. That's why it doesn't accept compressed data. I could have used zlib, but it works fine as it is.

/Stefan
2006-06-17 07:07
Soren

Registered: Dec 2001
Posts: 547
@Hein: not quite... I'm not that young, so I was actually trying to suck your dick a bit but realised that it also was small back then :-) (j/k)..... (just trying to say that I'm not much younger than you ;-)
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Slaxx/Q/HF/MYD!
cobbpg
Lavazza/Censor Design
Dano/Padua
trident
Airwolf/F4CG
Magic/Nah-Kolor
Mojzesh/TGR🇬🇧
hedning/G★P
t0m3000/hf^boom!^ibx
mutetus/Ald ^ Ons
Smasher/F4CG
iAN CooG/HVSC
Perff/No Name
Vent
Beast/Crescent
Dr. TerrorZ
Frostbyte/Artline De..
Warlord
Low Spirit
icon/The Silents, Sp..
zscs
csabanw
katon/Lepsi De
Laddh
psych
Guests online: 125
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 The Demo Coder  (9.6)
8 Wonderland XIV  (9.6)
9 Comaland 100%  (9.6)
10 No Bounds  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Mikael  (9.6)
4 Carrion  (9.6)
5 Sulevi  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.053 sec.