Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Composing > Skate or Die Ingame Music on Pal
2010-10-26 22:07
Hok

Registered: Sep 2009
Posts: 8
Skate or Die Ingame Music on Pal

Hello there,

I was wondering if someone might be able to help me out... I am working on a Remember-version of Skate or Die. I want to get the Skate or Die Ingame Tunes running on a Pal C64 the same speed like they run on an Ntsc C64 (using the original Ntsc version of the game as basis). I know there is a Pal original version by Electronic Arts, but the tunes for the Race and the Jam are not sped up at all and I am not sure if the other 3 tunes are fixed 100%.

I know I can speed up the tunes quite easily myself on Pal with some code like this:

count lda#$00
cmp#$05
bne cont
lda#$ff
sta count+1
inc$7f
cont inc count+1
rts

The tune gets its speed by increasing $7f once in the Irq, the player itself is called in an endless loop outside of the Irq and does a dec$7f after calling the player. What this patch does is to increase the speed a second time every 6th Irq-cycle. This works rather ok, but it's not 100%. Sometimes the sound effects are played way too quite, I assume this happens because the attack phases are not hit properly. Moreover, since the sound effects and the tune are played via the same player, the sound effects wouldn't be played synchronously to the gameplay on screen anymore that way.

Does anyone know of/have properly Pal/Ntsc-fixed Skate or Die Ingame Tunes or do you have an idea what I could do better?

I tried fiddling around with the pattern speed in the Race, but I don't get it working 100%; it loses sync even though the speed-byte from voice 1 is the same as the one from voice 2.

Thanks, regards,

Holger.
2010-10-27 03:52
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Just set the CIA timer A to $4025 :)

lda #1 ;enable irq
sta $d01a
lda $dc0e ;enable CIA timer A
ora #%10010001
and #%11110111
sta $dc0e
lda $dd0d
ora #%00000001
and #%11111101
sta $dd0d
lda #$40 ;set speed to NTSC default
sta $dc05
lda #$25
sta $dc04
2010-10-27 08:25
6R6

Registered: Feb 2002
Posts: 244
A correction (hi jan):
If the ntsc music player is a framed based player (Like JCH or Goattracker, or like almost all of them are), then you should set this value on your pal machine:

ldy #$42
ldx #$c6
stx $dc04
sty $dc05
ntsc_dc0e = %01010001
lda #ntsc_dc0e
sta $dc0e

And you also need to setup a irq:
irq inc $d020
jsr $1003
dec $d020
jmp $ea81

You could try. But, i dont think this will work for skate or die, it will probably mess up the raster timing on the screen.
2010-10-27 09:19
Stainless Steel

Registered: Mar 2003
Posts: 966
Personally, I hate that "fixing" of tunes.

I remember the title tune (rob's with the guitar) much slower than how sidplay plays it.
I grew up with those tunes playing on pal speed.

Keep it that way i say.
2010-10-27 17:32
Hok

Registered: Sep 2009
Posts: 8
Well, thanks everyone...

The problem is, if I speed up the whole player, then the sound effects are too fast, too, since tune and sfx are handled by the same player. It might not be that much noteable, still it's not 100%. So I would like to go the other way, fixing the pattern speeds. EOA did this on the Pal original for 3 events themselves (Highjump, Freestyle, Joust). I wonder why they didn't do it for Race and Jam. Either they forgot or they weren't able to. They would have had it so much easier, because they must have had an editor for it or whatever.

@Stainles: I know what you mean and usually I'd agree with you. In this case I thought it would be a nice idea to speed up the tunes, because they sound better like this and many people were asking for it. Maybe I'll make it selectable with a switch before game start. Or, if I cannot get it working 100% the way I want then I'll forget about it and leave it as it used to be.
2010-10-27 18:02
iAN CooG

Registered: May 2002
Posts: 3136
The original PAL release sounds as in the HVSC sid rip, what you used to hear from (bad) cracks was at WRONG speed.
This is getting old. :P
2010-10-27 18:51
Stainless Steel

Registered: Mar 2003
Posts: 966
Quoting iAM CooG
The original PAL release sounds as in the HVSC sid rip, what you used to hear from (bad) cracks was at WRONG speed.
Well, i had only cracks back then. And from this game just that particular one.
2010-10-27 19:02
Rough
Account closed

Registered: Feb 2002
Posts: 1829
Quoting iAN CooG
what you used to hear from (bad) cracks was at WRONG speed.
P


Not bad cracks, but probably the ESI+Hotline (NTSC) one.
2010-10-29 04:37
Rough
Account closed

Registered: Feb 2002
Posts: 1829
@Holger: Difficult to contact you, your e-mail account here is inactive and the e-mail provided on the Remember website is invalid.

got two things..

a) How is your handle spelled: Hok or HOK? need the info for my database, I recognized in the German colours intro your nick is written HOK while it's Hok on CSDb

b) Also I just discovered that in the Remember crack of Ikari Warriors the title pic logo is faulty at the top. ;)

greets
2010-11-01 17:52
Hok

Registered: Sep 2009
Posts: 8
Hi Adam,

your're right, Ikari Warriors picture is damaged, I wonder who screwed it up, well, it was probably me... ;-) Never noticed it so thanks for the hint!

My handle used to be HOK in the beginning, but now I'd rather prefer Hok, so it's up to you which one you enter into your database...
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
Exile/Anubis
Guests online: 121
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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