Vamiga: Audio imperfect on Robocod (James Pond 2)

Created on 26 Apr 2020  路  9Comments  路  Source: dirkwhoffmann/vAmiga

The "bass track" disappears during the music both in the title screen and during the game.

Plays fine in SAE.

Bug

Most helpful comment

Yep, much better!
But still some problems with "Mrs.Paula" 馃檮
Try Road Wars (Melbourne House / Arcadia Systems): no more SFX.
Also the music, that starts immediately on the title screen with high scores, "sounds strange"... still on the bass track 馃槄

Road Wars
Works well in v0.9.2

However you absolutely still deserve the "Pac-Car" 馃槣
Maybe I would prefer a Sinclair C5 Electric Car 馃槂

iu-1

@mithrendal Thank you, Mario is a part of my youth 馃槃

All 9 comments

Very cool, thanks for reporting! Might be related to the remaining issues in Ghosts'n Goblins. I'll look into it.

I can replicate it, and I already have a suspect.

I think it's the innocent looking intreq2 signal which serves as an interrupt request signal inside the audio logic. I think this signal needs to be cleared even if the interrupt request is not served.

Bildschirmfoto 2020-04-26 um 17 22 49

The game is very cool, btw.

Bildschirmfoto 2020-04-26 um 14 55 29

The colors look very modern ... reminds me on Miami Vice Colors.... 馃 oops why I feel that I am repeating me ...

@Gianmarco72 cool avatar picture 馃槃

Seems to be fixed in 0.9.2.1. Title music on this screen sounds much better now.

Bildschirmfoto 2020-04-26 um 18 22 46

Also, I think I deserve that car because I made Crunch Factory work in vAmiga today 馃槀.

DhMK7h8WAAAnoqy

Yep, much better!
But still some problems with "Mrs.Paula" 馃檮
Try Road Wars (Melbourne House / Arcadia Systems): no more SFX.
Also the music, that starts immediately on the title screen with high scores, "sounds strange"... still on the bass track 馃槄

Road Wars
Works well in v0.9.2

However you absolutely still deserve the "Pac-Car" 馃槣
Maybe I would prefer a Sinclair C5 Electric Car 馃槂

iu-1

@mithrendal Thank you, Mario is a part of my youth 馃槃

Just looked at the following two versions of Road Wars:

Road Wars (1988)(Arcadia Systems).adf
Road Wars (1988)(Arcadia Systems)[a2].adf

The first versions has clear issues. It has strange sound and the first splash screen looks like this:

Bildschirmfoto 2020-04-27 um 07 49 01

Same thing in UAE. I think this version is broken altogether 馃ゴ. I listened to the sound a few times in vAmiga and UAE, but it sounded pretty similar to my ears. In general, the audio output of both emulators is not 100% identical, because UAE accurately emulates the Amiga's audio filter whereas vAmiga utilizes a simple Butterworth filter from the shelf. The implementation of the resampling algorithms differ, too.

The second version (indexed with [a2]) seems to load fine in both emulators. Music is much better and there is no broken splash screen.

Bildschirmfoto 2020-04-27 um 08 23 14

Oh, man, this game is difficult. I didn't manage to survive more than 10 seconds. Maybe we really need that slow motion feature 馃.

no more SFX.

OK, confirmed. Just experienced this with a different game. I'll look into it...

Update: Broken in commit f259d26

I got fooled by the HRM. The old (working) vAmiga code issued a volcntrld command when moving from state 101 to 010 or from state 011 to 010 (volcntrld transfers data from the volume latch to the actual volume register):

Bildschirmfoto 2020-04-27 um 14 31 34

As you can see, the HRM only shows a volctrld command on the 101 -> 010 transition, so I removed the one from 011 -> 010. However, this breaks audio in many games.

I told Mrs. Paula to update the volume register again on every 011 -> 010 transition and she promised to do so. In return, she requested that audio panel I was talking about in another thread.

She is very proud to show it to you:

Bildschirmfoto 2020-04-27 um 14 27 27

The panel allows the user to freely mix all four Amiga audio channels. Each channel can be changed individually in volume and distributed freely among the two loudspeakers.

Thank you for the technical details, roughly I understood what the problem was (maybe 馃槄).
However, it's interesting to try to understand how the Amiga's hardware architecture works.

In the meantime I tried the new v0.9.3 and audio seems to be ok, both with Road Wars (my version) and James Pond.
Mrs. Paula seems to be no longer spiteful (we hope so at least 馃槈).

The panel audio is very cool!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dirkwhoffmann picture dirkwhoffmann  路  3Comments

dirkwhoffmann picture dirkwhoffmann  路  4Comments

dirkwhoffmann picture dirkwhoffmann  路  3Comments

dirkwhoffmann picture dirkwhoffmann  路  3Comments

dirkwhoffmann picture dirkwhoffmann  路  3Comments