VOGONS


First post, by StriderTR

User metadata
Rank Member
Rank
Member

Now that I've had time to really sit down and play around with my DOS 6.22 build, I've ran into a sound issue that's throwing me for a loop. I feel like I've forgotten, or perhaps overlooking, something in terms of configuration.

Build: https://theclassicgeek.blogspot.com/2024/02/a … s-3x-retro.html

Note: Windows 3.11 has been removed and this is now a pure DOS .6.22 build.

For sound, I have two cards, an Opti 82C930 and an AWE64 CT4520. The Opti is installed, but currently not setup, nothing is configured and no drivers are installed. I'm just running the AWE64.

To cut right to the chase, I am finding some games that either have no sound at all, or just freeze when on startup and I am thinking it's the sound causing it. Here are some examples...

I first noticed an issue when selecting Adlib on PETSCii Robots, you simply get no sound. When I select Adlib in other games where that option exists, same result, no sound.

Of course, the DOS4G games all work fine, like Doom and Duke3D.

Wolfenstein 3D just freezes as soon as you launch the exe and you have to reboot. Other games are hit and miss, but almost all have no sound.

The funny thing is I know I had all this working when I initially set up this system and I'm pretty sure I haven't made any changes to the system configuration since that time, other than removing anything pointing to Windows, but that was done after this issue started, and all sounds in Win 3.11 were working fine, I just didn't want Windows anymore. Still, I went through and tried just about every possible configuration on the cards settings and the result is the same as described above. I can post my current autoexec and config if needed. Diagnose says all the hardware is fine, edits made using ctcu.exe.

I'm having one heck of a time figuring out what changed. If it was something I did, or a fault with the card. Before moving to the Opti and seeing what I can get it to do, I wanted to see what help I can get from this very knowledgeable community on the AWE64.

Thanks in advance!

EDIT:

Current autoexec and config, where I left off in my testing.

SET SOUND=C:\SB16
SET BLASTER=A240 I5 D1 H5 P300 E640 T6
SET MIDI=SYNTH:1 MAP:E MODE:0
SET CTCM=C:\SB16
C:\SB16\DIAGNOSE /S
C:\SB16\AWEUTIL /S
C:\SB16\MIXERSET /P /Q
C:\SB16\CTCU.EXE /S
C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\DOS;C:\COREL\WP62
set mouse=C:\MOUSE
LH C:\MOUSE\mouse.exe /Q
DEVICE=C:\SB16\CTCM.EXE
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
REM DEVICE=C:\DOS\EMM386.EXE NOEMS
DOS=HIGH
STACKS=9,256
FILES=40

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 1 of 23, by Joseph_Joestar

User metadata
Rank l33t++
Rank
l33t++
StriderTR wrote on 2024-08-06, 03:33:

For sound, I have two cards, an Opti 82C930 and an AWE64 CT4520. The Opti is installed, but currently not setup, nothing is configured and no drivers are installed.

I think this might be causing your issue. As documented here the OPTi 82C930 will automatically take over A220 I5 D1 if not initialized.

For a while, I also used that card alongside an AWE64 in one my my systems, but I always had to initialize both of them. Specifically, the drivers for the OPTi card needed to be loaded first in AUTOEXEC.BAT and CONFIG.SYS otherwise, the AWE64 wouldn't work correctly. Also, you need to initialize the OPTi card in SBPro mode, and not in WSS mode.

PC#1: Pentium MMX 166 / Soyo SY-5BT / S3 Trio64V+ / Voodoo1 / YMF719 / AWE64 Gold / SC-155
PC#2: AthlonXP 2100+ / ECS K7VTA3 / Voodoo3 / Audigy2 / Vortex2
PC#3: Core 2 Duo E8600 / Foxconn P35AX-S / X800 / Audigy2 ZS
PC#4: i5-3570K / MSI Z77A-G43 / GTX 970 / X-Fi

Reply 2 of 23, by Grzyb

User metadata
Rank l33t
Rank
l33t

You can try to explicitly disable the Opti with UNISOUND.

Zaglądali do kufrów, zaglądali do waliz, nie zajrzeli do dupy - tam miałem klimatyzm.

Reply 3 of 23, by StriderTR

User metadata
Rank Member
Rank
Member

I gave this a try by just pulling the Opti out of the system for now. Sadly, the issue persists.

Tested a few games like Mechwarrior (1989), TMNT2, PETSCii Robots, etc. and they load fine but with no sound.

Games like TMNT1, Castlevania, and Wolfenstien 3D just hard freeze on start or crash to DOS.

Wolf3D spits out an "Divide error" and "Null pointer assignment" then hangs the system while CV spits out "Initsound returns: 2" error and drops to DOS.

Some of these use Adlib, like PETSCii and Castlevania that I know for sure, I wonder if the 133MHz CPU is too fast for Adlib? Could have sworn I read that somewhere...

Looks like I'll have to continue this tomorrow. 😀

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 4 of 23, by Grzyb

User metadata
Rank l33t
Rank
l33t

133 MHz *is* too fast for the original Adlib, and for other cards with OPL2.
AWE64 has CQM, which is more speed-tolerant, though some programs may still exhibit problems.
Try to disable caches...

Zaglądali do kufrów, zaglądali do waliz, nie zajrzeli do dupy - tam miałem klimatyzm.

Reply 5 of 23, by StriderTR

User metadata
Rank Member
Rank
Member

Well, had some time today and tried slowing the system down. Same issues persist.

Disabled caches in the BIOS and using software, as well as slowing down the CPU via software. Disabling caches alone got it down to 43MHz, software slowdown I set it at 33MHz. All of that worked to slow the system down, but had no effect on the problem. It was worth a try.

The search continues... 😀

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 6 of 23, by Riikcakirds

User metadata
Rank Member
Rank
Member

Try reordering the loading in your autoexec.bat (make a backup) to:

1. Load C:\SB16\CTCM.EXE before the others. Also do not use a DEVICE= command to load CTCM, just C:\SB16\CTCM.EXE.

Don't load DIAGNOSE /S (99% sure you do not need this for fully PNP AWE32/64 cards. Only load CTCM to initialize card and it also sets blaster= resource info.

2. Then C:\SB16\AWEUTIL /S (enables adlib and also needed I think for games that natively support EMU chip)

3. Then C:\SB16\MIXERSET /P /Q ( I would run mixerset again after this, without switches to check the volume of all sliders and that wave and midi is not muted) Also double check your input/output ports are not muted for sound.

I don't think you need to load CTCU in you autoexcex.bat. Normally you run this utility only once, then exclude any used resources(io, irq,dma) other non-pnp ISA cards are using so the other util, CTCM, knows not to use them when setting up the SBAWE.

Last edited by Riikcakirds on 2024-08-07, 16:50. Edited 1 time in total.

Reply 7 of 23, by Grzyb

User metadata
Rank l33t
Rank
l33t

You can also try to replace the Creative software with UNISOUND.

Zaglądali do kufrów, zaglądali do waliz, nie zajrzeli do dupy - tam miałem klimatyzm.

Reply 8 of 23, by StriderTR

User metadata
Rank Member
Rank
Member
Riikcakirds wrote on 2024-08-07, 16:32:
Try reordering the loading in your autoexec.bat (make a backup) to: […]
Show full quote

Try reordering the loading in your autoexec.bat (make a backup) to:

1. Load C:\SB16\CTCM.EXE before the others. Also do not use a DEVICE= command to load CTCM, just C:\SB16\CTCM.EXE.

Don't load DIAGNOSE /S (99% sure you do not need this for fully PNP AWE32/64 cards. Only load CTCM to initialize card and it also sets blaster= resource info.

2. Then C:\SB16\AWEUTIL /S (enables adlib and also needed I think for games that natively support EMU chip)

3. Then C:\SB16\MIXERSET /P /Q ( I would run mixerset again after this, without switches to check the volume of all sliders and that wave and midi is not muted) Also double check your input/output ports are not muted for sound.

I don't think you need to load CTCU in you autoexcex.bat. Normally you run this utility only once, then exclude any used resources(io, irq,dma) other non-pnp ISA cards are using so the other util, CTCM, knows not to use them when setting up the SBAWE.

Sadly, none of these changes had any effect.

I will note that CTCM must be loaded as a DEVICE (config.sys) or the card wont initialize.

Thanks for the ideas! Was worth a go. I will mess with it more tomorrow since I have the day off.

Edit: Forgot to mention, nothing is muted, all volumes are currently at max.

Grzyb wrote on 2024-08-07, 16:50:

You can also try to replace the Creative software with UNISOUND.

I just downloaded it and will give it a go! 😀

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 9 of 23, by StriderTR

User metadata
Rank Member
Rank
Member

Update...

I gave UNISOUND a try, and I managed to get a little bit further, but only with a single game, PETSCii Robots.

I REM'ed out everything pointing to the SB16 drivers and setup the UNISOUND driver. It detected the card and setup just fine, and the first game I tested was PETSCii. Hearing the sound and music kick on got my hopes up. Again, all the DOS4G games worked fine, but no other game I tried had any sound, froze the system, or just dumped me back to DOS after launching it.

My time today is limited so I will mess with it more after work and tomorrow. I tried a few different settings combos to see if it made any difference, but so far, nothing.

I'm really baffled as to what's going on because I know I had this all working at one point. I went so far as to move the AWE64 card to a different slot and clean the contacts just to see if it was a connection issue. I'm starting to grasp at any straws I see at this point.

Since many of the games I am trying to play are early 90's or late 80's, I think I am going to try slowing the system down again with the UNISOUND driver running and see if it makes any difference.

Thanks again for all the feedback and help, I'm willing to try anything at this point. 😀

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 10 of 23, by StriderTR

User metadata
Rank Member
Rank
Member

Update #2:

After several hours playing around with UNISOUND and getting no further, I finally decided to pull the AWE64 and reinstall the OPTi card. Setup of the OPTi went smooth and .... same problems.

All DOS4G games run great, even Quake runs with sounds, not a single issue. PETSCii Robots, works great.

Everything else, exactly the same as before. None of the Keens will even start, Duke 1 and 2 start, just with no sound. Wolf3D still won't start. TMNT1 drops back to DOS, TMNT2 starts but then freezes at the character select menu. Dune runs fine, but with no sound.

I am 100% completely baffled as to what's going on. The same basic issues across 2 cards and 3 different sets of drivers, and every possible configuration of those said drivers tells me my problem lies elsewhere, but for the life of me I can't seem to find it.

I'm 99% sure there are no conflicts anywhere, I have everything in the BIOS disabled that can be disabled, LPT, COMS, and USB. I've been grasping at a lot of straws, enabling/disabling EMM386, loading what can be loaded high and low. Disabling CPU cache and slowing it down to 33MHz. I haven't messed with enabling/disabling memory shadows and such yet, I guess that will be the next straw I grasp at, I just didn't figure it would have any effect on these issues, but at this point I have no idea.

I did notice some games report -32MB of RAM, like Sim City 2000, but it works just fine. I would swap out for a 16MB stick of RAM, but 32MB is the smallest I have on hand, I'm also not sure if that could be the issue or not across such a wide range of games.

All of this gives me the feeling my "sound issues" are just a symptom of some other problem I'm just not seeing.

I've attached my current config below for reference.

Any suggestions are welcome.

AUTOEXEC:

SET BLASTER=A220 I5 D1 T4
SET SOUND16=C:\OPTI930
C:\OPTI930\sndinit /b
C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\DOS;C:\COREL\WP62
set mouse=C:\MOUSE
LH C:\MOUSE\mouse.exe /Q
PATH %PATH%;C:\OPTI930

CONFIG:

DEVICE=C:\OPTI930\cdsetup.sys /T:X
DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE
DOS=HIGH
STACKS=9,256
FILES=40

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 11 of 23, by enaiel

User metadata
Rank Member
Rank
Member

What do you have set for "PNP OS Installed"? My AWE64 would not work properly unless I set it to "No" and let the BIOS initialize the card.

#1 VIA C3 Ezra-T 1.0GHz / MSI MS-6368 / Voodoo2+ViRGE GX / SBPro2+YMF744+AWE64+SC-7
#2 Pentium III-S Tualatin 1.40GHz / QDI A10T / Voodoo3 3000+GF4 Ti4200 / Audigy+AU8830+SC-50

Reply 12 of 23, by StriderTR

User metadata
Rank Member
Rank
Member
enaiel wrote on 2024-08-09, 02:04:

What do you have set for "PNP OS Installed"? My AWE64 would not work properly unless I set it to "No" and let the BIOS initialize the card.

It figures that one spot is glared out. 😜

It's set to "no".

To clarify, I am now running the Opti 82C930, not the AWE64, I swapped them out earlier to try and eliminate the AWE64 card as the problem.

To update, I've gotten a little bit further...sort of. I've been playing with this all day today, and after several hours, I've managed to get Wolf3D to start, with sound, only to hard freeze on the "PG13" screen. Not sure what I did to get that working, but nothing else has changed so far.

I have made quite a few changes and ran memmaker to let it do it's thing. It's a good thing I keep my hair so short I can't pull it out... This is driving me crazy... 😜

This is where I currently sit on my config.

SET BLASTER=A220 I5 D1 T4
SET SOUND16=C:\OPTI930
C:\OPTI930\sndinit /b
LH /L:0;1,45456 /S C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\DOS;C:\COREL\WP62
set mouse=C:\MOUSE
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
LH /L:0;1,24304 /S C:\MOUSE\mouse.exe /Q
PATH %PATH%;C:\OPTI930
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE RAM
BUFFERS=15,0
FILES=40
DOS=UMB
LASTDRIVE=E
FCBS=4,0
DEVICE=C:\OPTI930\cdsetup.sys /T:X
DEVICE=C:\DOS\SETVER.EXE
DOS=HIGH
STACKS=9,256

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 13 of 23, by ux-3

User metadata
Rank Oldbie
Rank
Oldbie

I just like to point out that some games pretend to accept sound choices but don't really obey them.

I nearly despaired with Warlord2, which offers a choice of irq 5 or 7, but never worked on 7. Other games never work on 5.
Perhaps try to configure card to IRQ7 and disable printer?

Do you have some jumpered card around? Like an ESS 688?

Retro PC warning: The things you own end up owning you.

Reply 14 of 23, by StriderTR

User metadata
Rank Member
Rank
Member
ux-3 wrote on 2024-08-09, 05:07:
I just like to point out that some games pretend to accept sound choices but don't really obey them. […]
Show full quote

I just like to point out that some games pretend to accept sound choices but don't really obey them.

I nearly despaired with Warlord2, which offers a choice of irq 5 or 7, but never worked on 7. Other games never work on 5.
Perhaps try to configure card to IRQ7 and disable printer?

Do you have some jumpered card around? Like an ESS 688?

Sadly, I have nothing older or with jumpers, just the two cards discussed in this thread. 🙁

I have tried all possible DMA/IRQ combos on both cards.

All ports are disabled in the BIOS, LPT1 (printer), COM1, COM2, USB.

I'm really leaning toward some other problem I have yet to discover and don't think this is just a sound issue anymore. Not persisting across two different cards and 3 different drivers. Or it's a combo of issues, but I hope not.

Frustration has set in, determination is still strong, this is my current selfie....

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 15 of 23, by Joseph_Joestar

User metadata
Rank l33t++
Rank
l33t++

At this point, I suggest running Memtest on that system to check the RAM.

Duke Nukem 2 should definitively work on the AWE64 and the OPTi 82C930. Both cards support ADPCM, so every sound effect should play correctly, and the music is just plain FM synth.

PC#1: Pentium MMX 166 / Soyo SY-5BT / S3 Trio64V+ / Voodoo1 / YMF719 / AWE64 Gold / SC-155
PC#2: AthlonXP 2100+ / ECS K7VTA3 / Voodoo3 / Audigy2 / Vortex2
PC#3: Core 2 Duo E8600 / Foxconn P35AX-S / X800 / Audigy2 ZS
PC#4: i5-3570K / MSI Z77A-G43 / GTX 970 / X-Fi

Reply 16 of 23, by ux-3

User metadata
Rank Oldbie
Rank
Oldbie

Have you tested these games anywhere for sound functionality? Do THESE copies work anywhere else?

Retro PC warning: The things you own end up owning you.

Reply 17 of 23, by StriderTR

User metadata
Rank Member
Rank
Member
Joseph_Joestar wrote on 2024-08-09, 06:17:

At this point, I suggest running Memtest on that system to check the RAM.

Duke Nukem 2 should definitively work on the AWE64 and the OPTi 82C930. Both cards support ADPCM, so every sound effect should play correctly, and the music is just plain FM synth.

I've downloaded Memtest86+ 4.10 and will give it a go!

I have however, made more progress, but I'm not 100% sure as to the cause. I once again disabled both internal and external cache in the BIOS, along with BIOS shadow. I've done this before, but this time, when I booted back into DOS, I was presented with a surprise. Wolf3D working perfectly, full sound working in TMNT2, Duke 2, Dungeon Master 2, and many other games that were giving me trouble. So, I started to re-enable these settings one at a time to see what happened, and to my shock, I managed to re-enable all 3 and nothing stopped working. However some games still don't work or have no sound.

*bangs head on desk* - At least it's progress, I guess. =/

ux-3 wrote on 2024-08-09, 14:16:

Have you tested these games anywhere for sound functionality? Do THESE copies work anywhere else?

I've ran them all in DOSBox and most of them on my EPIA-800 machine (Win95), and they all work fine.

I'm in the process of launching every game on the machine and seeing what I get. I've come across a few that still display the same no sound or crashing.

Duke 1, Dune, Ultima 4 (sound works in setup, but not the game), BattleTech, Dangerous Dave, Dungeon Master 1, and Horror Zombies.

There are more but I'm just removing them from the system since the all either have console versions, or I have them working on my EPIA-800. I just wanted to mess with the DOS versions on this machine. (Alien, Castlevania, Batman, Beverly Hills Cop, Bionic Commando, Gauntlet, Goonies, and a few more.)

I ran out of time last night, but I've got about 20 or so more games to try. 😀

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 18 of 23, by StriderTR

User metadata
Rank Member
Rank
Member

PCI/VGA Palette Snoop...

Had some more time last night so I compared all my BIOS settings to the photos I had taken earlier, and there was one setting I forgot I had disabled, PCI/VGA Palette Snoop. So, I re-enabled it.... and ....my issues returned. Many "older" games either crashed/froze or refused to load. Disabled it, those games all work fine again...

So far, I've re-tested all the DOS4G games I have (again), plus Star Trek 25th, Dungeon Master 1, Immortal, LOTR 1 + 2, PETSCii, Rambo III, Spiderman, MadTV, Prince of Persia, Duke 2, Star Control, Police Quest 2 and 3 , and Wolf3D, all working perfectly. Most of them will not work or be soundless with PCI/VGA Palette Snoop enabled.... so weird.

Still working on sound for a few other older games like Police Quest 1, Horror Zombies, and the original Dune.

Disabling PCI/VGA Palette Snoop has solved a lot of the issues I was attributing to sound. I'll take the win, even if I'm unsure as to exactly why it was causing so many issues to begin with.

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections

Reply 19 of 23, by StriderTR

User metadata
Rank Member
Rank
Member

Update:

All games are still running great!

That being said, I've got a stupid question. Does the AWE64 just have issues with older games? Specifically MIDI it seems, or those looking for default SB settings? Like Wolf 3D, the Keen games, and Petscii Robots (modern)? No sound at all in any of them. Kings Quest VI has speech, but no music.

Currently configured at "SET BLASTER=A220 I5 D1 H6 P330 E620 T6", it works with most all games and software, but no combo of settings seems to work with those 3 games. Or, and I missing something?

Retro Blog: https://theclassicgeek.blogspot.com/
Archive: https://archive.org/details/@theclassicgeek/
3D Things: https://www.thingiverse.com/classicgeek/collections