Frogger '07 volume level

Basic and Machine Language

Moderator: Moderators

Post Reply
rga24
Vic 20 Drifter
Posts: 38
Joined: Thu May 06, 2010 2:26 am

Frogger '07 volume level

Post by rga24 »

Frogger '07 is a *brilliant* game but the music distorts on a real VIC-20 because the volume level is set too high. Does anyone know how to modify the code so that the volume is set to 8 (for example) instead of 15?
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

What? Maybe it's your hardware that needs to be adjusted instead?
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Re: Frogger '07 volume level

Post by nbla000 »

rga24 wrote:Frogger '07 is a *brilliant* game but the music distorts on a real VIC-20 because the volume level is set too high. Does anyone know how to modify the code so that the volume is set to 8 (for example) instead of 15?
In effect the value of $900E location is $de = %11011110 so volume is %1110 = #14.

Yes it could be changed of course but we need to look on the code... better a Victragic fix...

PS: The last Victragic post was on 18/10/2009 :?
Mega-Cart: the cartridge you plug in once and for all.
rga24
Vic 20 Drifter
Posts: 38
Joined: Thu May 06, 2010 2:26 am

Re: Frogger '07 volume level

Post by rga24 »

nbla000 wrote: In effect the value of $900E location is $de = %11011110 so volume is %1110 = #14.

Yes it could be changed of course but we need to look on the code... better a Victragic fix...

PS: The last Victragic post was on 18/10/2009 :?
Yes I wasn't sure what the actual Frogger '07 volume level is, I should have put "15 I assume", so in fact it's 14. Is there any enveloping of the volume level at all?

I noticed discussions of Frogger '07 mods got lost in a quagmire of NTSC fix requests, which would be a lot of work so I'm not surprised things went quiet.

This really would be quite a simple mod in comparison so I'm hoping someone else might be able to do it with just a hex editor, perhaps by setting breakpoints in an emulator.

The volume level of 8 would suit the particular VIC-20 I'm using here; a more comprehensive study is needed to examine the levels at which other VIC-20s start distorting with three tone channels enabled.

An indication of which memory locations need altering would be useful so that anyone can put their own preferred volume level in there instead. It definitely distorts quite a bit on my VIC as it is.
davidv_
Vic 20 Hobbyist
Posts: 136
Joined: Wed Apr 26, 2006 4:08 pm

Re: Frogger '07 volume level

Post by davidv_ »

rga24 wrote: The volume level of 8 would suit the particular VIC-20 I'm using here; a more comprehensive study is needed to examine the levels at which other VIC-20s start distorting with three tone channels enabled.
Yes indeed, eslapion and I had a go a figuring our that clipping for emulation purposes(both with a schematic analysis and with a scope), indeed volume 8 seems like a safe bet for correct headroom of 3 tones+noise.

I hope to post more details on my blog when i get a chance.
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Re: Frogger '07 volume level

Post by nbla000 »

rga24 wrote:An indication of which memory locations need altering would be useful so that anyone can put their own preferred volume level in there instead. It definitely distorts quite a bit on my VIC as it is.
I will look on it but do not expect it very soon :wink:

Btw did someone hear Victragic lately ?
Mega-Cart: the cartridge you plug in once and for all.
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Re: Frogger '07 volume level

Post by Pedro Lambrini »

nbla000 wrote: Btw did someone hear Victragic lately ?
He seems to be another who's gone elsewhere... Still no sign of carlsson... :(
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Re: Frogger '07 volume level

Post by Boray »

Pedro Lambrini wrote:
nbla000 wrote: Btw did someone hear Victragic lately ?
He seems to be another who's gone elsewhere... Still no sign of carlsson... :(
I saw carlsson posting on a Swedish commodore forum some days ago...
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
Jeff-20
Denial Founder
Posts: 5759
Joined: Wed Dec 31, 1969 6:00 pm

Post by Jeff-20 »

I think more than a few members have been chased away for one reason or another. Usually it's the ones rumored to be more combative (I wouldn't know because I don't hang out on other Commodore forums). I think Carlsson left after that recent censorship argument. In fact, I think several members involved in that conflict have went elsewhere. The funny thing is he'd probably come back if he were aware of this.
High Scores, Links, and Jeff's Basic Games page.
rga24
Vic 20 Drifter
Posts: 38
Joined: Thu May 06, 2010 2:26 am

Re: Frogger '07 volume level

Post by rga24 »

nbla000 wrote:
rga24 wrote:An indication of which memory locations need altering would be useful so that anyone can put their own preferred volume level in there instead. It definitely distorts quite a bit on my VIC as it is.
I will look on it but do not expect it very soon :wink:

Btw did someone hear Victragic lately ?
I figured out how to do it myself, here are the locations that need changing.

3ab6 A9 CE LDA #$CE make this #$C8
3b11 A9 DE LDA #$DE make this #$D8
3bc1 A9 DE LDA #$DE make this #$D8

And that's it!
rga24
Vic 20 Drifter
Posts: 38
Joined: Thu May 06, 2010 2:26 am

Re: Frogger '07 volume level

Post by rga24 »

rga24 wrote:I figured out how to do it myself, here are the locations that need changing.

3ab6 A9 CE LDA #$CE make this #$C8
3b11 A9 DE LDA #$DE make this #$D8
3bc1 A9 DE LDA #$DE make this #$D8

And that's it!
POKE 15031, 200
POKE 15122, 216
POKE 15298, 216

I have a patched version of the d64 file ready for uploading somewhere.
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

I could put it up on my Skydrive if you like. :)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
rga24
Vic 20 Drifter
Posts: 38
Joined: Thu May 06, 2010 2:26 am

Post by rga24 »

Pedro Lambrini wrote:I could put it up on my Skydrive if you like. :)
It's here:

http://www.mediafire.com/file/c16ky6wk1 ... 7-vol8.zip
User avatar
Pedro Lambrini
Vic 20 Scientist
Posts: 1132
Joined: Mon Dec 01, 2008 11:36 am

Post by Pedro Lambrini »

And here's a more permanent link just in case the Mediafire one dies:

http://cid-c0ebae7cfc051a83.office.live ... 7-vol8.zip

:)
"...That of the Eastern tribe being like a multitude of colours as if a rainbow had settled upon its brow..." Daniels 1:3
Post Reply