VOGONS


First post, by bmwsvsu

User metadata
Rank Member
Rank
Member

I have a Lenovo M70E desktop PC and I'm trying to get DOS sound working on a Yamaha YMF744 PCI sound card. I've read through the various YMF744 threads on this forum (there's quite a bit of info) but still I'm at a loss and not having much luck. I know there's a few experts on this particular card who regularly use these forums, so I'm hoping one of you can help me.

Here is all the info I can provide:

-The chipset on the board is Intel G41/ICH7.
-1 GB of ram
Now some hopefully helpful screenshots:

screen1.jpg
screen2.jpg

Some notes:

-DOS music works fine in both Windows 98 DOS mode as well as rebooting into real DOS mode. I had no problem getting the Duke Nukem 3d music to work

-Sound effects do not work AT ALL in any games I tried in real DOS mode. Same is mostly true under Windows 98 DOS with one lone exception - of the 10 games or so I tired, I did get sound effects working in ONE LONE game - the Apogee game Hocus Pocus. I got both music and sound effects to work in this game under Windows 98 DOS, though only music in real DOS.

-Running DSDMA.EXE in DOS mode causes the system to reboot

-I have no options in the BIOS for reserving IRQ's, and I have not successfully been able to free up IRQ 5 no matter what I disable in the devices in the BIOS or if I move the sound card to the other PCI slot (I have 2). And I can't disable the USB ports altogether to free it up or else my keyboard and mouse won't work as I have no PS/2 ports (in fact when I tried this I had to jump-reset the BIOS since my kb/mouse quit working entirely).

-I noticed that the legacy sound device under Windows 98 is not assigned an IRQ at all. It gets a DMA of 1 but no IRQ (usually a soundblaster-compatible card shows an IRQ in the resources), and even when I look at the entire list of IRQ settings, I see no legacy device (with the Windows sound device taking IRQ 11).

===========================
SO, am I wasting my time here or is it possible to get this to work, either in pure DOS mode or even just under Windows 98 DOS?

Reply 1 of 15, by Kamerat

User metadata
Rank Oldbie
Rank
Oldbie

Read this and the posts below: YMF744+DSDMA+DOS+P965(and other PCIe chipsets)=success

DOS Sound Blaster compatibility: PCI sound cards vs. PCI chipsets
YouTube channel

Reply 2 of 15, by bmwsvsu

User metadata
Rank Member
Rank
Member

I've read through that. I apologize, I'm a bit of a beginner here.

Still have no idea where to start or what I should be trying. I have 1 GB of ram in my system - I can't go any less as they literally don't make anything smaller in this ram type. I wouldn't even know where to begin trying to use JEMMEX to manage ram. When I try to use it it tells me I already have a memory manager running (namely - emm386). Again, all stuff beyond my comprehension.

Also as I noted, I cannot free up IRQ 5 on my motherboard no matter what I try.

Reply 3 of 15, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++

Try editing the SETUPDS.INI to change the IRQ to 7 instead of 5 but my guess is that DSDMA is freaking out the board because of having more than 512MB of RAM.

What is the brand and model of motherboard you are using?

Please also post the contents of config.sys.

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 4 of 15, by bmwsvsu

User metadata
Rank Member
Rank
Member

Motherboard is a Lenovo-branded L-IG41m

No luck with the DS.ini file. No matter what I set it to, running SETUPDS.EXE /s always yields IRQ5, even though running it to display info (SETUPDS.EXE /d) yields whatever IRQ the BIOS assigns it (currently 11)

config.sys has only 2 lines - DEVICE setting HIMEN.SYS as well as EMM386.EXE /FRAME=NONE.

If I disable literally everything I can get away with disabling in the BIOS (basically everything except USB) it will give the sound card an IRQ of 4, and in that instance some games (such as DOOM) actually play fine under Windows 98 DOS. The problem with IRQ 4 is that a lot of games that require manual configuration won't let you choose 4. And if I enable literally anything else in the BIOS, it gets pushed down to IRQ 10 or higher and a lot of games won't run with that high of an IRQ. The USB ports are holding on to IRQ 5 with a kung-fu grip.

Reply 5 of 15, by Kamerat

User metadata
Rank Oldbie
Rank
Oldbie

You can try using the YMFIRQ utility to change the PCI IRQ of the YMF744: http://vsynchmame.mameworld.info/ymf724_dos.zip

Don't care about the IRQ 5 that SETUPDS shows, you have to use the PCI IRQ in your games instead.

DOS Sound Blaster compatibility: PCI sound cards vs. PCI chipsets
YouTube channel

Reply 6 of 15, by bmwsvsu

User metadata
Rank Member
Rank
Member

Looks like the bottom line here is that the PCI IRQ can only be 4 or else 10+ depending on what devices I do or do not have enabled in the BIOS. The onboard USB always takes IRQ 3 and 5 and then from there other devices take 4, 6, etc. If I have the front USB ports enabled, they get IRQ 4. If I disable USB entirely, I cannot use USB at all, even if I have a USB PCI card installed. So IRQ 5 or 7 for the sound card appear to be out of the question - as such, even if I were able to get real DOS sound, compatibility would still be quite limited.

Compatibility in real DOS mode on this machine was never a top priority - quite frankly I'm surprised how well I was able to get Windows 98SE working. So I guess the games that do work under Windows 98 DOS mode will just be an added bonus to the wide variety of 98/XP-era games that do play fine.

Reply 7 of 15, by bmwsvsu

User metadata
Rank Member
Rank
Member

UPDATE - The short version is I GOT THIS WORKING.

The long version:

Upon installing a network card in the other PCI slot, my sound card magically took IRQ 5, albeit shared with one of the USB devices.

By adding JEMMEX.EXE to my config.sys folder with 2 options - MAXEXT set to 256000 and also NOVME, I was then able to successfully run DSDMA from the Yamaha DOS folder and upon doing that, I successfully got full audio working in Duke Nukem 3d. I haven't tested anything else yet but it was nice to finally have audio and no more of that stupid DMA conflict error!

The issue this causes, however, is that with JEMMEX in my config.sys file, Windows 98 will no longer boot. So I added 2 user-selectable menu items in the config.sys file - one for DOS and one for Windows. If the user chooses Windows, then nothing else is run. If they choose DOS, however, then the JEMMEX line executes.

Right now with this being a DOS/98/XP hybrid machine, booting up is kind of messy since you first have to choose XP or 98, and then from there if you choose 98, you have several more things you have to choose whether you want DOS or 98. If you want DOS, you have to hit F8 immediately, choose command prompt only, and then choose DOS from the config.sys menu described above. If you want 98, you don't hit F8, but then have to choose 98 from the config.sys menu. It all works correctly (and DSDMA doesn't cause any problems by being added to the autoexec file because even though it would normally crash without JEMMEX loaded, if it tries to run under 98 it simply fails to load because of no memory manager being loaded and Windows 98 goes on its merry way).

If I come up with a more elegant boot option solution, I'll post full details here.

On a side note, restarting from 98 directly to DOS (selecting reboot to DOS during Windows 98 shutdown) causes the system to crash. Not a big deal since DOS runs fine from the command prompt option from the F8 startup menu, but an odd quirk nonetheless.

Reply 8 of 15, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++

Sweet!

What about using HIMEMX instead of JEMMEX ?

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 10 of 15, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++
gdjacobs wrote:

HIMEMX and JEMMEX have different purposes.

Ok.. then HIMEMX (so you can limit the amount of RAM seen by the OS, high memory, and Extended memory).

And then EMM386 for Expanded memory.

There has got to be a better way to do it then to have to have a special boot process because Windows 98 doesn't like JEMMEX.

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 11 of 15, by bmwsvsu

User metadata
Rank Member
Rank
Member

I have some ideas how to clean up the boot. I think the easiest way to do this from the dual-boot screen (XP/98) is to have it so that if you choose 98, it automatically boots straight to DOS (MSDOS.SYS can be configured to make this the default option) and then from there a menu can automatically run where you choose 98 or DOS and all the appropriate stuff loads based on that choice. Ideally I want it so upon boot, you only have to choose XP or 98, then if you choose 98, you then choose DOS or Windows. Maximum of 2 menus as well as no need to press F8.

Reply 12 of 15, by gdjacobs

User metadata
Rank l33t++
Rank
l33t++
cyclone3d wrote:
Ok.. then HIMEMX (so you can limit the amount of RAM seen by the OS, high memory, and Extended memory). […]
Show full quote
gdjacobs wrote:

HIMEMX and JEMMEX have different purposes.

Ok.. then HIMEMX (so you can limit the amount of RAM seen by the OS, high memory, and Extended memory).

And then EMM386 for Expanded memory.

There has got to be a better way to do it then to have to have a special boot process because Windows 98 doesn't like JEMMEX.

I suspect Win98 requires EMM386. IIRC, Win 3.x did as well versus JEMM386.

All hail the Great Capacitor Brand Finder

Reply 13 of 15, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++
gdjacobs wrote:

I suspect Win98 requires EMM386. IIRC, Win 3.x did as well versus JEMM386.

Yes, it does.. and here is why:
https://en.wikipedia.org/wiki/EMM386

Windows can't take over memory management from JEMMEX.

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 14 of 15, by bmwsvsu

User metadata
Rank Member
Rank
Member

Ok so I've managed to get the boot process cleaned up.

First menu upon turning on the computer:

menu1.gif

If you choose Windows XP, then it boots into XP. If you choose 98 or DOS, then you get a second menu:

menu2.gif

And that is it. I edited boot.ini on the XP side to change the wording on the first menu as shown above to reflect the DOS option and also add "98" as opposed to the generic "Microsoft Windows."

boot.ini

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP" /noexecute=optin /fastdetect
C:\ = "Windows 98 or DOS"

On the Windows 98 side, I edited MSDOS.SYS, CONFIG.SYS, and AUTOEXEC.BAT.

MSDOS.SYS

[Paths]
WinDir=C:\WINDOWS
WinBootDir=C:\WINDOWS
HostWinBootDrv=C

[Options]
BootMulti=0
BootGUI=0
DoubleBuffer=1
AutoScan=1
WinVer=4.10.2222
;
;The following lines are required for compatibility with other programs.
;Do not remove them (MSDOS.SYS needs to be >1024 bytes).
***** (removed for this post, but they're still in the file) ******
Network=0

config.sys

[MENU]
MENUITEM=WIN, Windows 98
MENUITEM=DOS, DOS
[COMMON]
[WIN]
[DOS]
Device=C:\Windows\JEMMEX.exe MAXEXT=256000 NOVME

autoexec.bat

GOTO %config%

:DOS
SET BLASTER=A220 I5 D1 T4
copy C:\DS-XG\DOS4GW.EXE \
chcp 437
C:\DS-XG\SETUPDS.EXE /S
del \DOS4GW.EXE
C:\DS-XG\DSDMA.EXE
GOTO END


:WIN
WIN
:END

Reply 15 of 15, by ludicrous_peridot

User metadata
Rank Member
Rank
Member

Hello. I am running a G41/ICH7 machine with a YMF744B-R card and would like to ask for advice and help on Westwood Studios games.

While FM and MIDI work fine, I am unable to get digitized samples work correctly at all. I can hear sound and speech, but it gets cut off (Lands of Lore Talkie) and sometimes (Dune II intro) does not start at all after being cut off this way, or the game locks up eventually at a certain point during the introduction (Kyrandia I and Kyrandia II talkies). This is the same in DOS, Windows 98SE and with Windows versions of the games that utilize a Westwood vxd for digitized samples playback.

I run DMKIT 150 to test sound and it plays test digital sounds ok. Also other games (Cryo's Dune Talkie, Doom, Apogee s/w like Wacky Wheels) run and sound fine.

EDIT: After havinh poked around with the games a bit more I suspect the issue is not related to sound setup as such, but rather to the fact I am trying to run them on a modern architecture. So will open a separate thread for the question.

Still, will appreciate if someone who had positive experience with these games on this particular hw setup shared that. Thanks!

GA-G41M-Combo G41/ICH7 - Core 2 Quad Q9550 - DDR3 1033 - Radeon RX570 - YMF744 (Cobra) - X3MB (Buran)