VOGONS


Reply 20 of 23, by clb

User metadata
Rank Oldbie
Rank
Oldbie

I have a 80 MHz Cyrix 486 PC, with Sound Blaster AWE64 Gold. Commander Keen 1-6 and Wolfenstein 3D work without issues, both with and without VGA Palette Snoop enabled.

As part of developing CRT Terminator on this system, I regularly flip PCI VGA Palette Snoop between enabled and disabled states, and have not seen it affect audio on the AWE64 Gold in either way.

Original Adlib card had a famous timing sensitivity requirement. Their original programming manual documented this: https://bochs.sourceforge.io/techspec/adlib_sb.txt


After writing to the register port, you must wait twelve cycles before
sending the data; after writing the data, eighty-four cycles must elapse
before any other sound card operation may be performed.

The AdLib manual gives the wait times in microseconds: three point three
(3.3) microseconds for the address, and twenty-three (23) microseconds
for the data.

The most accurate method of producing the delay is to read the register
port six times after writing to the register port, and read the register
port thirty-five times after writing to the data port.

My understanding is that most games that use Adlib reproduced this recommendation faithfully. I.e. codebases will issue 6 and 35 reads respectively to the Adlib Address port to implement these waits.

How long the waits actually end up being depends on the system's ISA bus speed.

However, on this PC I have first hand verified that when I put an Adlib card to this system, the waits are needed. But on an AWE64 Gold, these waits are not needed at all. (just double checked). Adlib music works fine on Commander Keen: Foray in the Forest on the AWE64 Gold even by stripping out all the waits. So I would be a bit surprised if the issue you are seeing would be an Adlib sound timing sensitivity thing, as AWE64 Gold does not seem to need any waits. (I'd presume that AWE64 Non-Gold wouldn't need the waits then either)

Reply 21 of 23, by clb

User metadata
Rank Oldbie
Rank
Oldbie

In CONFIG.SYS I have

DEVICEHIGH=C:\SB16\DRV\CTSB16.SYS /UNIT=0 /BLASTER=A:220 I:5 D:1 H:5
DEVICEHIGH=c:\SB16\DRV\CTMMSYS.SYS

and in AUTOEXEC.BAT I have

SET SOUND=C:\SB16
SET BLASTER=A220 I5 D1 H5 P330 E620 T6
SET MIDI=SYNTH:1 MAP:E MODE:0
SET CTCM=C:\CTCM
C:\SB16\DIAGNOSE /S /W=C:\WINDOWS
C:\CTCM\CTCU /S /W=C:\WINDOWS
C:\SB16\AWEUTIL /S
C:\SB16\MIXERSET /P /Q
LH=C:\DRIVERS\UNISOUND\UNISOUND.COM /VC99 /V99 /VW99 /VF99

Reply 22 of 23, by StriderTR

User metadata
Rank Oldbie
Rank
Oldbie

So, the whole VGA pallet snoop thing was causing those games I mentioned to freeze up or not load at all. Once I disabled that, haven't had any stability issues what so ever.

With the current "issue", it's just sound related, and only on the AWE64. The Opti card (SB Pro) works flawlessly in all respects. I just prefer the sound of the AWE64 over the Opti, and wanted to just use that one card instead of running two in the system moving forward.

I don't mind losing Wolf 3D, I've played that into the ground over the years. I bought Petscii Robots for DOS to play it on real hardware, though I can play it on my Win95 machine because that system used SB Pro sound as well. KQVI I can play on ScummVM, but I just "want" to play it on this DOS machine. So, it's not like I can't live without these few games, all the others seem to work great with no sound issues.

I'm just investigating to see if it's an issue I can correct or not. 😀

I completely forgot to try out Unisound. It worked for Petscii Robots before I discovered pallet snoop is weird on my system. I'll give that another go tonight and see what happens.

Retro Blog & Builds: https://theclassicgeek.blogspot.com/
3D Things: https://www.thingiverse.com/classicgeek/collections
Wallpapers & Art: https://www.deviantart.com/theclassicgeek

Reply 23 of 23, by StriderTR

User metadata
Rank Oldbie
Rank
Oldbie
clb wrote on 2025-01-08, 20:58:

LH=C:\DRIVERS\UNISOUND\UNISOUND.COM /VC99 /V99 /VW99 /VF99

I had removed unisound since it wasn't needed on the Opti. Can confirm, it corrects my AWE64 sound issues. 😀

Thanks for the reminder!

Retro Blog & Builds: https://theclassicgeek.blogspot.com/
3D Things: https://www.thingiverse.com/classicgeek/collections
Wallpapers & Art: https://www.deviantart.com/theclassicgeek