VOGONS


First post, by auron

User metadata
Rank Oldbie
Rank
Oldbie

i've recently come to notice that just running CTCM is not enough to make the AWE32 music option in games play on the CT4520, despite it saying that 3 devices were configured. while it does appear to play (no "no sound driver" message in descent setup, which appears when the card isn't initialized at all), playback is simply silent. only after running AWEUTIL /S will the music be audible, and i did already check mixerset beforehand to see whether it could be that, and everything was turned up there. this only applies when booting directly to dos, not rebooting to dos from win9x - in that case, the card clearly retains the initialization from windows and AWEUTIL /S is not needed for AWE32 playback.

this might be obvious to some, but the reason i'm confused is that i'm pretty sure the common wisdom has been that AWEUTIL /S is needed just to enable FM playback on AWE32/64 cards. it doesn't usually seem to be referenced regarding EMU8k playback via direct game support (so not GM emulation via TSR), and in fact the AWE64 FAQ says just as much:

13. Does AWEUTIL have to stay memory resident? […]
Show full quote

13. Does AWEUTIL have to stay memory resident?

AWEUTIL serves two purposes; to initialize and control
the reverb and chorus effects of the FM hardware on the SB AWE
card, and to provide NMI MIDI Feedback.

AWEUTIL /S

will initialize and set the reverb and chorus effect of
the FM hardware, and then terminate. It will not stay resident
in memory.

same for AWEUTIL.TXT (CTCM's readme doesn't even make any mention of it at all):

ADVANCED WAVEFFECTS UTILITY ============================= […]
Show full quote

ADVANCED WAVEFFECTS UTILITY
=============================

Your sound directory contains a DOS utility called AWEUTIL which
allows you to perform the following operations on your Advanced
WavEffects audio card:

* Initialize AWE hardware to play music synthesis effects
* Use MIDI Emulation to support computer games
* Control Music Synthesis Effects
* Troubleshooting

[...]

Initializing AWE Hardware to Play Music Synthesis Effects
---------------------------------------------------------

Before you can play music synthesis effects, you need to initialize
the AWE hardware by typing this command line:

AWEUTIL /S

NOTE: This command initializes the AWE hardware only and does not
leave the program resident in system memory.

Using MIDI Emulation to Support Computer Games
----------------------------------------------

Although protected mode software does not support MIDI Emulation, you
can still play music from this software using the 4-operator
synthesizer chip.

AWEUTIL allows you to enable the MIDI Emulation feature of your audio
card. This feature allows games and other software that do not
support wavetable synthesis to play wavetable music from the sound
card. Note that you also need to enable the MFBEN jumper on your
audio card for MIDI Emulation to work.

"music synthesis" is very ambiguous terminology but it's in fact clear this refers to FM synthesis - elsewhere in the file the AWEUTIL chorus/reverb effects are mentioned as only applying to said "music synthesis", and that this "music synthesis" is also what needs to be used when AWEUTIL in TSR mode cannot coexist with DOS extenders. the "MIDI emulation" of course refers to AWEUTIL as TSR to support the GM mode in games. so, again, no documentation of it enabling direct EMU8k support.

is the CT4520 simply an outlier in the AWE32/64 family due to its newer CT8920 chip, or does this behavior actually apply to all AWE cards? i've read that when the EMU8k uses the onboard RAM, two voices are actually used for DRAM refresh+timing, so the full 32 voices are only available with pure ROM playback - so it's perhaps not just because of FM routing like some people think. two sources regarding this: 1 2 maybe CTCM initializes it to the wrong mode and AWEUTIL /S switches it to the correct one?

Last edited by auron on 2024-03-21, 23:21. Edited 4 times in total.

Reply 1 of 4, by MadMac_5

User metadata
Rank Newbie
Rank
Newbie

When I was using an AWE64 on a 486 in pure DOS, I did indeed need to use AWEUTIL to initialize the sound card properly for FM synthesis emulation. I would also often use AWEUTIL /EM:GM or /EM:GS to let it emulate a General MIDI device, as long as I wasn't using a protected mode program afterward. On my newer Windows 98 machine I've been using UNISOUND, and it seems to be initializing the FM synth properly although it doesn't let me use the General MIDI emulation since UNISOUND terminates after it does its config work.

Reply 2 of 4, by dr_st

User metadata
Rank l33t
Rank
l33t
auron wrote on 2024-03-21, 16:00:

AWEUTIL /s needed for EMU8000 initialization on AWE64 CT4520?

Yes. And on any AWE64 as far as I remember.

With that said, I am not sure I ever tried running a game with direct AWE32 support without running AWEUTIL first, since, well, I needed AWEUTIL anyways for FM synthesis in games that do not support AWE synth natively (most games).

https://cloakedthargoid.wordpress.com/ - Random content on hardware, software, games and toys

Reply 3 of 4, by auron

User metadata
Rank Oldbie
Rank
Oldbie

it's probably best practice to always run aweutil /s before any game, given the quality of some of those drivers... if anyone wants to hear some real "advanced" effects, try running the music test in descent 1.4a setup (or maybe any version), then doom2 with AWE support, but you might want to turn down your speakers before doing that.

i'd also say stick to windows with these cards for obvious reasons (GM/soundfonts), but not even that is a panacea with these cards - the AWE mode in duke3d has problems in windows, for example.

Reply 4 of 4, by dr_st

User metadata
Rank l33t
Rank
l33t
auron wrote on 2024-03-21, 21:26:

it's probably best practice to always run aweutil /s before any game, given the quality of some of those drivers...

I agree. Quite a few games leave the sound card in an inconsistent state. AWEUTIL /S resets it successfully most of the time.

https://cloakedthargoid.wordpress.com/ - Random content on hardware, software, games and toys