VOGONS


First post, by deksar

User metadata
Rank Member
Rank
Member

Hi there.

I've an IBM PC 300GL computer which has an internal ESS ES1930S audio card. It has Windows 98SE, also I've ESS DOS drivers installed.

When Windows starts, while loading DOS audio drivers, I see that IRQ of audio changes from time to time. I see IRQ sometimes set as 9, sometimes 10, sometimes 7. How can I set it a fixed nr. for example 7? I need to do that because I'm having freezing issues on Prince of Persia.

Also; how can I see what are free IRQs and which ones are in use, on my system?
Many thanks in advance.

Reply 1 of 13, by skitters

User metadata
Rank Member
Rank
Member
deksar wrote:

how can I see what are free IRQs and which ones are in use, on my system?

Did you check Device Manager in Windows?
If you need instructions, check
https://www.techrepublic.com/article/understa … -in-windows-98/
and scroll about halfway down the page for the part about Device Manager.
Figure C shows the window where you can display IRQ's -- put the dot next to where it says "Interrupt request (IRQ)."

When the sound card's IRQ changes to 9 or 10, is there something other than the printer that takes IRQ 7 and pushes the sound card onto something else? The printer should be able to share IRQ 7 with sound.

What does your autoexec.bat file look like?
Is there a SET BLASTER line?

Reply 2 of 13, by deksar

User metadata
Rank Member
Rank
Member

Hi skitters, many thanks for your prompt and detailed reply!

I have attached the IRQs list, it seems IRQ 7 is empty, and that should be perfect for dos-gaming, as few DOS game titles such as Prince of Persia requires IRQ7. I'd like to move the soundcard (This is an onboard card on IBM), to that IRQ.

My autoexec.bat:

C:\ESSAUDIO.COM -BLASTER
@ECHO OFF
SET DIRCMD=/A/O:GNE/P
SET TMP=C:\WINDOWS\TEMP
SET TEMP=C:\WINDOWS\TEMP
SET PROMPT=$p$g
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
keyb tr,,C:\WINDOWS\COMMAND\keybrd2.sys /id:179
LH C:\cmouse.exe /P

Windows 98 outputs the following values during boot:

ESS PCI AUDIO DOS Device Driver, Version 2.30D
Allegro-1
c:\C:\ESSAUDIO.COM -BLASTER

ESS PCI Audio DOS Device Setup Utility
Current PCI IRQ: 9 PCI IO Base: 7800
DMA Mode is VIA DDMA

SBPro Game Settings:
SB IO=220h IRQ=9 DMA=1
MPU401 Disabled
Game Port Disabled

Thank you!

Attachments

  • IRQs.jpg
    Filename
    IRQs.jpg
    File size
    81.19 KiB
    Views
    2892 views
    File license
    Fair use/fair dealing exception
  • 1.jpg
    Filename
    1.jpg
    File size
    84.74 KiB
    Views
    2892 views
    File license
    Fair use/fair dealing exception

Reply 3 of 13, by deksar

User metadata
Rank Member
Rank
Member
skitters wrote:
deksar wrote:

how can I see what are free IRQs and which ones are in use, on my system?

When the sound card's IRQ changes to 9 or 10, is there something other than the printer that takes IRQ 7 and pushes the sound card onto something else? The printer should be able to share IRQ 7 with sound.

It seems there is no printer port in the IRQs list? I have disabled Serial and Paralel ports in BIOS, to free-up some IRQs, I won't be using those ports at all anyway.

Reply 4 of 13, by skitters

User metadata
Rank Member
Rank
Member

I notice in your bottom picture that it's set to Basic Configuration 0000 on the Resources tab.
Try using the dropdown box to set to a different configuration
and see if that lets you use IRQ 7 instead of IRQ 9.

I don't really know how ESS drivers work for DOS, but it's possible the main card is on IRQ 9 while the emulation, if it were enabled, would be on IRQ 7 or IRQ 5 (similar to what an SBLive might do).

You may need a SET BLASTER= line in the autoexec.bat

When I downloaded a collection of PCI ESS drivers from
http://www.vogonsdrivers.com/getfile.php?file … =60&menustate=0
the readme.txt for the ES1989 mentioned adding lines including lines to the autoexec.bat such as

LH C:\ESSAUDIO.COM
:: SET BLASTER=A220 D1 I5 T4

as well as a line to config.sys that varied with the card.

You say you have an ES1930S, so there may be differences, but I think you'd need a SET BLASTER line in there.

Where did you get your drivers? I don't see any drivers for the ES1930S at vogonsdrivers.

Reply 5 of 13, by deksar

User metadata
Rank Member
Rank
Member

Only "Basic Configuration 0000" exists there. There isn't any another option under the dropdown box there.

It's actually ES1930/ES1989 Driver. Downloaded from:
http://ps-2.kev009.com/pccbbs/commercial_desk … op/d89z10us.exe

Readme text:
http://ps-2.kev009.com/pccbbs/commercial_desk … op/d89z10us.txt

Defining values like "SET BLASTER=A220 D1 I5 T4" doesn't really change the actual values I've posted here during Windows 98 boot post. I'll give it an another try then,
Thanks.

Edit: I've added "SET BLASTER" line into autoexec.bat file to set it as IRQ 7, however as it's seen on the attached screenshot, the IRQ didn't change, still remains as 9.

Attachments

  • win98seboot.jpg
    Filename
    win98seboot.jpg
    File size
    1.46 MiB
    Views
    2872 views
    File license
    Fair use/fair dealing exception

Reply 7 of 13, by deksar

User metadata
Rank Member
Rank
Member
skitters wrote:

Does running essaudio.com manually allow you to change any settings?

Essaudio.com outputs: "STOP USING THIS IN A DOSBOX!" - weirdo..

How to try if it allows changing settings? Tried booting in MS-DOS mode but I have no idea what switch should I use to test it.

Many thanks!

Reply 8 of 13, by LSS10999

User metadata
Rank Oldbie
Rank
Oldbie

As far as I remember the TSR uses an INI file which can be edited using a hex editor to change values. This applies to all ESS PCI audio drivers (Solo/Maestro/Allegro).

The INI file is not readable by text editors as it actually contains raw hex values in little endian regarding I/O, IRQ, DMA, MIDI, FM, etc.

The ESSAUDIO.INI in the ES198X package of VOGONS drivers starts with these bytes:
20 02 01 00 88 03 05 00 01 02 30 03
Apparently these are SB Pro settings values stored in little endian. From left to right:
20 02: I/O Port 220H
01 00: DMA Channel 1
88 03: FM Port 388H
05 00: IRQ 5
01 02: Gameport 201H (can be disabled by setting it 00 00)
30 03: MPU-401 330H (can be disabled by setting it 00 00)

I'm not sure about the remaining parts (which contains mostly 00H with some values).

Reply 11 of 13, by LSS10999

User metadata
Rank Oldbie
Rank
Oldbie
ahtoh wrote:

Any luck with this?
I was not able to change the IRQ number by editing the ini file.

Did you edit it using hex editor? Plus, have you checked if the IRQ in question has been taken by another device? In many cases, for example, if you want to let Sound Blaster (legacy audio) use IRQ 5, the PCI card must take IRQ 5 as well.

If so, you might need to take out all your expansion cards, install it one by one, move cards to different slots if the IRQ got taken, until the IRQ is "naturally" no longer taken. Most often, at least from my experiences, on modern motherboards, the IRQ settings in BIOS would only result in cosmetic effects and cards would still refuse to work even if the IRQ appeared to be no longer occupied anymore.

The hard part would be in case of AGP/PCIe video cards taking the IRQ you needed, which is hard to resolve due to no other slots to spare. Trial and error is needed (involves installing cards in specific order, resetting BIOS PCI configurations, etc.) to get such resolved.

Reply 12 of 13, by ahtoh

User metadata
Rank Member
Rank
Member

Yes I used hex editor.
IRQ5 is free

The problem is actually not the IRQ but the fact that I have no sound in DOS games.
I just thought it could be related to not-default IRQ

As it is now the IRQ is set to 9 but there is no Sound (BLASTER environment var is set to IRQ 2)

Reply 13 of 13, by LSS10999

User metadata
Rank Oldbie
Rank
Oldbie
ahtoh wrote:
Yes I used hex editor. IRQ5 is free […]
Show full quote

Yes I used hex editor.
IRQ5 is free

The problem is actually not the IRQ but the fact that I have no sound in DOS games.
I just thought it could be related to not-default IRQ

As it is now the IRQ is set to 9 but there is no Sound (BLASTER environment var is set to IRQ 2)

IRQ 2 and 9 are the same line, although it's irrelevant here.
You can't just reserve IRQ5 in BIOS. It's the opposite. You'd want to make sure the ESS audio card actually takes IRQ5. Try looking for a PCI slot that does it.
Also, make sure you don't have any other ESS PCI driver directories in your PATH variable (that you might have been running a TSR from the wrong path).

By the way, some old programs were hardcoded to use IRQ 5 or 7 and DMA1. Having a non-standard IRQ or DMA would crash the game. Wolf3D was such example. Back then I had a CT2290 that would default to IRQ10 and DMA3 without running DIAGNOSE to manually configure IRQ and DMA (that card does not have physical jumpers for configuring those), and Wolf3D would not even run at all, although other games work just fine with this non-standard configuration.