VOGONS


First post, by wolfsburged

User metadata
Rank Newbie
Rank
Newbie

I've found some adjacent threads on similar ESS audio issues, but I have not been able to resolve this on my Win98SE install.

Laptop is a Compaq Armada M300. Pentium III 500 MHz with built in ES1978 Maestro-2E PCI AudioDrive. Chipset on this is Intel 82440BX/ZX AGPset + PIIX4M. Fresh install of Win98 SE, and installed the original Compaq sound drivers from Softpaq.

Currently the drivers (VXD) are working in Windows. I have a "Maestro DOS Games/FM Devices" entry:

The attachment Sound Drivers.jpg is no longer available

I've found some ESS DOS driver files from the forum and added those to my Autoexec.bat and Config.sys files. At startup I see these load:

The attachment Sound Settings at Boot.jpg is no longer available

These match the available hardware resources in device manager for the "Maestro DOS Games/FM Devices" entry (SB IO 220H, IRQ = 5, DMA = 1)

I am able to select and test Music in DOS games, but not SFX. I have tried all types of sound card type in the games (plain SB, SB 2.0, SB Pro 1.0, SB Pro 2.0) with the matching settings (address 0x220, IRQ 5, 8-bit DMA = 5, 16-bit DMA = 5). Any attempt to play SFX fails, "Playback failed, possibly due to an invalid or conflicting DMA channel":

The attachment Sound Settings 1.jpg is no longer available
The attachment Sound Settings 2.jpg is no longer available

Running MSINFO I don't see any hardware / address conflicts:

The attachment m300 msinfo.TXT is no longer available

I feel like I am close, but not sure what to do next. Other threads I have found are talking about DDMA vs TDMA and PCISET stuff with a focus on the ESS Solo and similar but not exactly the same configurations. I'm not really sure if relevant or where to go with those threads (PCI sound cards and Chipsets from various manufacturers...) and (Re: Compaq N600c: hangs on playing audio in DOS, music works). Should I try to swap to WDM drivers?

Any help appreciated! Thanks!

Reply 1 of 4, by fjasper

User metadata
Rank Newbie
Rank
Newbie

Just stumbled upon this thread as I am having the same problems with my Armada M300.
Any solutions to the ESS / Dos compatibility issue yet?

Reply 2 of 4, by wolfsburged

User metadata
Rank Newbie
Rank
Newbie

No, but I am still trying to get it to work.

I think the main issue right now is that despite what is showing under Windows, when I run Maestro.com through autoexec.bat it shows that the IRQ is 11 instead of 5. There is an INI file that is supposed to define these settings but it is a binary file and I can't tell if it is set up right, I think that might be the key to the issue right now.

If you figure something out let me know, and if I get it working I will post the results here.

Reply 3 of 4, by wolfsburged

User metadata
Rank Newbie
Rank
Newbie

Update: still stuck, but feel like I am moving in the right direction...

If I go under Device Manager in Windows, there is the entry "ESS Device Manager" which appears to have the main resource allocation for the card. It's resource allocation is IRQ 11 and IO range 3400-34FF.
The Device Manager entry "Maestro DOS Games/FM Devices" defines the resources that are supposed to be used for SB emulation. Right now those are showing IO range 0220-022F (SB), IO range 0388-038B (FM/music), IRQ 5 (SB), DMA 1 (SB).

The file mstrinf.ini on the C:\ root appears to be getting written to with these same resource allocations on each boot. I have inspected it with a hex editor and according to Google this is the mapping:

Byte Offset:	Typical Value (Hex):	Decoded Meaning
00 - 03: 00 00 00 00 Padding / Reserved
04 - 05: 20 02 Sound Blaster Base Address (0x0220)
06 - 07: 01 00 DMA Channel (1)
08 - 09: 88 03 FM Synthesis / AdLib Port (0x0388)
10 - 11: 05 00 IRQ 5
12 - 13: 00 02 High DMA or hardware flags
14 - 15: 40 03 MPU-401 MIDI Base Address (0x0340)
16 - 23 00 00 ... 00 Trailing Padding / Reserved

Right now my config.sys calls AECU.SYS and my autoexec.bat calls Maestro.com and SET BLASTER = A220 I5 D1 T4

When it boots and I see the ESS driver load, it shows the IRQ 11, which I think is correctly identifying the main card's IRQ. What I can't tell for sure but assume is happening is that the IRQ for SB emulation is grabbing IRQ 5 as configured.

The DMA mode is being report as PC/PCI. I feel like this is specifically the issue right now. My assumption from other reading is that I want to try to force this to something like DDMA or TDMA. The M300 uses an Intel 440BX chipset that seems like it should support DDMA, and TMDA should be acceptable as well. From what I can tell PC/PCI may require hardware level design to enable this to work, and I can't figure out if that is the case here. But my Sound FX test software errors are all about DMA issues.

I have tried modifying the ini file in the hex editor to force the DMA mode to change. The other ESS cards seem to have more common and slightly different INI formats. But I am guessing that the 12-13 values are what drives the DMA selection. One issue is that the INI file seems to get written to each boot, and I can't find a way to select the DMA options from the device configuration such as to make the INI file get written with a different value. Right now I have just made the INI file read only to try to preserve my changes.

Google seems to think that the DMA mode configs are:

Value (Hex)	:Legacy DMA Mode Type
01: DDMA (Distributed DMA)
02: PCPCI (PCI DMA / Protocol)
04: TDMA (Transparent DMA)

Issue being when I change the INI file to any of these values, I am still getting the Maestro.COM running at boot indicating that the DMA mode is still PC/PCI..

Playing around with PCISET utility and the datasheet for this card as well and starting to understand that, but still not sure where I am going and no progress yet.

Reply 4 of 4, by wolfsburged

User metadata
Rank Newbie
Rank
Newbie

Poking around with PCISET and the ESS 1978 Datasheet: https://theretroweb.com/chip/documentation/es … 48465549832.pdf

These are all results I get from DOS command prompt running in Win 98 after loading the Maestro.COM & INI file noted in post above.

With the mstrinf.ini file as such (trying to force DDMA):

00 00 00 00 20 02 01 00 88 03 05 00 00 01 40 03 00 00 00 00 00 00 00 00

PCISET 1978 125d 41 00000000 0000000
Indicates 41h: 0001.0111
I decode this as:
Legacy Audio Enabled (0)
Serial IRQ Disabled (0)
MIDI IRQ Select - READ ONLY (010)
SB IRQ Reserved (111) * I was expecting this to be 000 for IRQ 5*

PCISET 1978 125d 40 0000000 00000000
Indicates 40h: 0100.1111
SB DMA 1 (01)
I/O Aliasing Disabled (0)
MPU-401 IRQ Disabled (0)
MPU-401 I/O Enabled (1)
Game Port Enabled (1)
FM Synthesis Enabled (1)
SB Channel Enabled (1)

PCISET 1978 125d 51 00000000 0000000
Indicates 51h: 0000.0000
SB IRQ Mask Disabled (0)
PIC Snoop Mode 1 Disable (0)
PIC Snoop Mode 2 Disable (0)
High Performance Game Port Mode Disabled (0)
Safe Guard TDMA Mode Disabled (0)
Distributed DMA (000) *This is what I would expect/want based on my .INI file, but is not what the Maestro.com output shows on boot*

This sort of implies that the DMA mode has changed to DDMA, but programs are still reporting DMA error when testing Sound FX...

PCISET 1978 125d 50 00000000 0000000
Indicates 50h: 0101.1000
Posted Write Disabled (0)
Emulate ISA Timing on PCI - Use PCI Timing (1)
Reserved (0)
MPU-401 Decode x0340 (11)
SB Decode 0x0220 (0)
Subtractive Decoding disabled (0)
Write Enable for PCI SID/SVID - Ready Only (0)

When I try another variation of the INI file:
With the mstrinf.ini file as such (trying to force TDMA):

00 00 00 00 20 02 01 00 88 03 05 00 00 04 40 03 00 00 00 00 00 00 00 00

PCISET 1978 125d 51 00000000 0000000
Indicates 51h: 0000.0000
SB IRQ Mask Disabled (0)
PIC Snoop Mode 1 Disable (0)
PIC Snoop Mode 2 Disable (0)
High Performance Game Port Mode Disabled (0)
Safe Guard TDMA Mode Disabled (0)
Distributed DMA (000) *This has not changed; either does not mean what I think and/or the INI config change is not doing what I thinik*

So all that being said I am still confused. I feel like things are really close but not right still...