dosbox-staging / dosbox-staging

DOSBox Staging is a modern continuation of DOSBox with advanced features and current development practices.
https://www.dosbox-staging.org/
Other
1.31k stars 155 forks source link

Clicking noise in Rex Nebular and the Cosmic Gender Bender using SB and AdLib #3487

Open macaon opened 8 months ago

macaon commented 8 months ago

Are you using the latest Dosbox-Staging Version?

Different version than latest?

No response

What Operating System are you using?

Other

If Other OS, please describe

Windows 11, Pop!_OS 22.04, SteamOS Holo 6.1.52-valve16-1-neptune-61

Relevant hardware info

AMD Ryzen 7800X3D+RTX3080, Intel i5-5300U+Intel HD5500, Steam Deck AMD APU

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

Constant clicking sound during gameplay after starting the game. Audible from the very first scene, but varies in intensity/volume depending on scene/other sounds being played.

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Install latest stable version (I have tested both Windows and Linux builds of 0.81.0, as well as the Linux build of 0.82.0-alpha-287-gc6a1c
  2. Install Rex Nebular from floppy images (I have tested with my own physical copy, as well as verified US release and UK v8.44 version from GoodOldDays
  3. increase cycles or game will be slow (I've tested most options here. 12000 should be enough, but I have tested higher values).
  4. navigate to C:\MPS\REX and run INSTALL.EXE to configure sound if needed. I have reproduced the clicking with AdLib, SoundBlaster (orig.), SoundBlaster Pro (early) and SoundBlaster Pro (later).

Download URL of affected game or software

https://archive.org/details/001709-RexNebularAndTheCosmicGenderBender

Your configuration

default dosbox-staging.conf without modifications

Provide a Log

https://gist.github.com/macaon/a7e936f995f276b79b9b93bfaadf93cd

Code of Conduct & Contributing Guidelines

macaon commented 8 months ago

Clicking noise is also present using the default SB16. The noise is not present in DOSBox 0.74-3.

johnnovak commented 8 months ago

Clicking noise is also present using the default SB16. The noise is not present in DOSBox 0.74-3.

Thanks for this, it's a good report. Maybe the game writes to the AdLib registers in a weird way and we're handling that slightly differently than other DOSBoxes. Definitely a weird outlier as I haven't experienced this in any other game.