VOGONS


SBEMU: Sound Blaster emulation on AC97

Topic actions

Reply 1580 of 1724, by thp

User metadata
Rank Member
Rank
Member
Methanoid wrote on 2024-10-02, 15:00:
Falcosoft wrote on 2023-03-17, 10:15:

Since video card's HDMI ports only support digital audio out it's not likely they work. Has anyone tested this?

This is my #1 question for SBemu as most of my GPUs are connected by HDMI for video and sound ... Do i need a special switch for SBemu to force to use Nvidia or AMD HD audio and hence test this?

The HDA code seems to have support for various ATI (AMD) and NVIDIA cards (the graphics cards' audio portion just appears as a HDA device on the PCI bus IIRC):

https://github.com/crazii/SBEMU/blob/75fea771 … d.c#L1241-L1392

I once tried it with a GTX 960 (on PCIe), but after quick testing, couldn't get it working - YMMV, feel free to play around. Also here, using FreeBSD or Linux as reference (in case of NVIDIA, look at nouveau).

I've read somewhere that the graphics card has to be initialised somewhat more than what the VGA BIOS does. In any case, chances are you have onboard HDA in addition to NVIDIA/AMD HDA on the graphics card, in which case you might need to play around with the graphics card index.

Looking at the nouveau "HDMI Audio" support list: https://nouveau.freedesktop.org/FeatureMatrix.html

It says:

HDMI Audio only works for NVA3/A5/A8 (GT21x) GPUs. Some pre-NVA3 setups have been reported, but it's no thanks to nouveau.

So chances are if you try HDMI out with pre-NVA3 and the HDA driver, it might just magically work (or not...).

Last edited by thp on 2024-10-05, 16:40. Edited 1 time in total.

Reply 1581 of 1724, by Methanoid

User metadata
Rank Newbie
Rank
Newbie
thp wrote on 2024-10-03, 10:42:
The HDA code seems to have support for various ATI (AMD) and NVIDIA cards (the graphics cards' audio portion just appears as a H […]
Show full quote
Methanoid wrote on 2024-10-02, 15:00:
Falcosoft wrote on 2023-03-17, 10:15:

Since video card's HDMI ports only support digital audio out it's not likely they work. Has anyone tested this?

This is my #1 question for SBemu as most of my GPUs are connected by HDMI for video and sound ... Do i need a special switch for SBemu to force to use Nvidia or AMD HD audio and hence test this?

The HDA code seems to have support for various ATI (AMD) and NVIDIA cards (the graphics cards' audio portion just appears as a HDA device on the PCI bus IIRC):

https://github.com/crazii/SBEMU/blob/75fea771 … d.c#L1241-L1392

I once tried it with a GTX 960 (on PCIe), but after quick testing, couldn't get it working - YMMV, feel free to play around. Also here, using FreeBSD or Linux as reference (in case of NVIDIA, look at nouveau).

I've read somewhere that the graphics card has to be initialised somewhat more than what the VGA BIOS does. In any case, chances are you have onboard HDA in addition to NVIDIA/AMD HDA on the graphics card, in which case you might need to play around with the graphics card index.

Looking at the nouveau "HDMI Audio" support list: https://nouveau.freedesktop.org/FeatureMatrix.html

It says:

HDMI Audio only works for NVA3/A5/A8 (GT21x) GPUs. Some pre-NVA3 setups have been reported, but it's no thanks to nouveau.

So chances are if you try HDMI out with pre-NVA3 (wihchand the HDA driver, it might just magically work (or not...).

1) I looked at first link and whilst MANY ATI/AMD GPUs are listed (I have an RV630 so will try that later) the Nvidia ones listed are just chipsets so I wonder if NV is covered at all for GPUs
2) The Nouveau stuff I looked at I am doubtful of cos it lists GPU Audio support since Tesla cards and I *think* that Audio didnt come to NV cards until Fermi cards... so I am "suss" on that

I'll test the RV630 (HD2600XT) soon and just ordered a W7000(pro version of R9 270x/7870) to test that as I really want to have the right card for both SBEmu and also Win2k-XP-10 use in a multi purpose machine ....

Reply 1582 of 1724, by Methanoid

User metadata
Rank Newbie
Rank
Newbie

Can't get audio at all under Windows 10 with the RV630 (Radeon HD2600XT) so can't even test SBemu but I did notice SBemu code has support for RV630 as
{"ATI RV630", 0x1002, 0xaa08, AZX_DRIVER_ATIHDMI } but the actual card under Windows10 reports hardware IDs different - HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100

Maybe @crazii has some idea. I hope the W7000 is my saviour for both Win10 and SBemu use!

Reply 1583 of 1724, by thp

User metadata
Rank Member
Rank
Member
Methanoid wrote on 2024-10-06, 14:09:

Can't get audio at all under Windows 10 with the RV630 (Radeon HD2600XT) so can't even test SBemu but I did notice SBemu code has support for RV630 as
{"ATI RV630", 0x1002, 0xaa08, AZX_DRIVER_ATIHDMI } but the actual card under Windows10 reports hardware IDs different - HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100

Have you tried booting in a Linux live distro (USB or CD/DVD) to see if it's detected and working?

Reply 1584 of 1724, by marxveix

User metadata
Rank Member
Rank
Member

Does SBEMU and Nforce3 chipset supported with ALC850, sound works with Win98 (only with Nforce Audio driver), not with realtek ALC850 regular driver ( Intel/Via/Sis are supported). I have also Nvidia and ATi chipset motherboards, why they where less supported by the realtek, if the sound chip/codec is the same?

I will test it out at this Socket 754 motherboard soon. I hope they work. 😀
https://theretroweb.com/motherboards/s/msi-k8 … o-ms-7030-ver-1

30+ MiniGL/OpenGL Win9x files for all Rage3 cards: Re: ATi RagePro OpenGL files

Reply 1585 of 1724, by jtchip

User metadata
Rank Member
Rank
Member
Methanoid wrote on 2024-10-06, 14:09:

Can't get audio at all under Windows 10 with the RV630 (Radeon HD2600XT) so can't even test SBemu but I did notice SBemu code has support for RV630 as
{"ATI RV630", 0x1002, 0xaa08, AZX_DRIVER_ATIHDMI } but the actual card under Windows10 reports hardware IDs different - HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100

That's the HD Audio bus device ID as it starts with HDAUDIO\. What's the PCI device ID? If SBEMU supports it, it should show up with /SCL (run this before you load SBEMU), then you can select the appropriate output device with /SCn where n is the index.

Reply 1586 of 1724, by Methanoid

User metadata
Rank Newbie
Rank
Newbie
jtchip wrote on 2024-10-07, 00:36:
Methanoid wrote on 2024-10-06, 14:09:

Can't get audio at all under Windows 10 with the RV630 (Radeon HD2600XT) so can't even test SBemu but I did notice SBemu code has support for RV630 as
{"ATI RV630", 0x1002, 0xaa08, AZX_DRIVER_ATIHDMI } but the actual card under Windows10 reports hardware IDs different - HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100

That's the HD Audio bus device ID as it starts with HDAUDIO\. What's the PCI device ID? If SBEMU supports it, it should show up with /SCL (run this before you load SBEMU), then you can select the appropriate output device with /SCn where n is the index.

Thanks,I'm getting there. I suspect my RV630 had issues as it only detected 4 PCIE lanes and I got refunded on it on eBay but bought another. Installed today and disabled onboard HDA and Intel IGPU to disable all other sound.

Booted FreeDOS, ran HDPMI32.exe (??, the file that comes with SBemu) and then SBEMU /SCL and it detects the only audio as my RV630 which is great. If I run SBEMU then I either get an error about missing CWSDPMI.exe preventing it running OR my machine just reboots (and then loads Windows as default OS which is expected).

I'm close, just wondering if its cos my FreeDOS doesnt load the JEMMEX (at all) and HDPMI32.exe/SBEMU.exe files automatically

If I can get the RV630 audio to work then I confirm that GPU HDA does work for ATI/AMD (I'm still skeptical about Nvidia) and then my better cards will be deployable for my "perfect" multi-retro-OS system and I will be very happy 😀

Reply 1587 of 1724, by marxveix

User metadata
Rank Member
Rank
Member
marxveix wrote on 2024-10-06, 20:37:

Does SBEMU and Nforce3 chipset supported with ALC850, sound works with Win98 (only with Nforce Audio driver), not with realtek ALC850 regular driver ( Intel/Via/Sis are supported). I have also Nvidia and ATi chipset motherboards, why they where less supported by the realtek, if the sound chip/codec is the same?

I will test it out at this Socket 754 motherboard soon. I hope they work. 😀
https://theretroweb.com/motherboards/s/msi-k8 … o-ms-7030-ver-1

Nforce3 (Realtek ALC850 AC97) sound and music works @ DOS, tested with Duke3D, latest SBEMU 1.0beta4.

30+ MiniGL/OpenGL Win9x files for all Rage3 cards: Re: ATi RagePro OpenGL files

Reply 1588 of 1724, by Methanoid

User metadata
Rank Newbie
Rank
Newbie

Nvidia Quadro K4200 as only sound device in PC. Not detected by SBEMU 1.0beta4 (as I expected as code seems to indicate ONLY Nvidia mobo chipsets detected).

Reply 1589 of 1724, by Methanoid

User metadata
Rank Newbie
Rank
Newbie

ATI Radeon HD2600XT (RV630) supported in code. Only sound device in PC. Detected as Intel HDA by SBEMU 1.0beta4 but no sound at all in Eye of the Beholder (VGA or EGA mode with Sound Blaster sound selected).

Does SBEMU need sound variables set like BLASTER etc?(Its been 25 years since I used DOS!)

Reply 1590 of 1724, by marxveix

User metadata
Rank Member
Rank
Member
Methanoid wrote on 2024-10-07, 17:02:

ATI Radeon HD2600XT (RV630) supported in code. Only sound device in PC. Detected as Intel HDA by SBEMU 1.0beta4 but no sound at all in Eye of the Beholder (VGA or EGA mode with Sound Blaster sound selected).

Does SBEMU need sound variables set like BLASTER etc?(Its been 25 years since I used DOS!)

OF course its a DOS. For my NForce3 i did use set BLASTER=A220 I5 D1 H5 P330.
How it routes sound trough HDMI from dos, what soundcard you have?

30+ MiniGL/OpenGL Win9x files for all Rage3 cards: Re: ATi RagePro OpenGL files

Reply 1591 of 1724, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie
Methanoid wrote on 2024-10-07, 10:40:

Booted FreeDOS, ran HDPMI32.exe (??, the file that comes with SBemu) and then SBEMU /SCL and it detects the only audio as my RV630 which is great. If I run SBEMU then I either get an error about missing CWSDPMI.exe preventing it running OR my machine just reboots (and then loads Windows as default OS which is expected).

did you run HDPMI32.exe with -r option to make it resident? It then should provide DMPI services and programs should not ask for cwsdpmi... If you used -r then it unloaded by some error or got corrupted...

Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA

Reply 1592 of 1724, by DarthSun

User metadata
Rank Member
Rank
Member

I think the HDMI is a dead end, the smooth motherboard HDA is going nicely with the SBEMU/VSBHDA pair, now I push the MSI AMD (780G) page, with ALC888 Full, Retro DOS titles. The XFI and Yamaha Sound in it do not go(DOS 6.22/7.1 too do), it is due to the IRQ deficiency, but the motherboard is complete.
Anyway, HDMI's voice is lagging behind the dedicated cards, just a need for a need if there is nothing else. The motherboard is even weaker, but it is good for retro addresses if it can be revived.
And Freedos is over-complicated syntax, much better is smooth DOS 7.1 if you need FAT32 disk treatment or DOS long fillets with DOSLfn.

The 3 body problems cannot be solved, neither for future quantum computers, even for the remainder of the universe. The Proton 2D is circling a planet and stepping back to the quantum size in 11 dimensions.

Reply 1593 of 1724, by jtchip

User metadata
Rank Member
Rank
Member

Looks like the 1.0 beta 5 archive is missing README.txt, this has instructions on how to load HDPMI32i.exe, the BLASTER environment variable (SBEMU sets that automatically, unless it's already set which means it'll use its settings), and some options for JEMMEX (which is only required for real-mode applications).

Reply 1594 of 1724, by SYZYGY

User metadata
Rank Newbie
Rank
Newbie

Hey all, so when SBEMU is loaded all games FREEZE. I am running FreeDOS 1.3 and the games I am trying are the games installed form either the FreeDOS 1.3 install CD or Bonus CD. I have tried BOOM, FREEDOOM, WING, and QTETRIS: none will start, starting freezes/hangs. Sometimes I can ctrl-alt-delete restart but sometimes the entire PC is frozen/hung and I have to use the power switch to reboot. When SBEMU is NOT loaded, these games run fine. Any suggestions appriciated. Thank you!

ra6zii.jpg

Reply 1595 of 1724, by thp

User metadata
Rank Member
Rank
Member
SYZYGY wrote on 2024-10-08, 12:55:
Hey all, so when SBEMU is loaded all games FREEZE. I am running FreeDOS 1.3 and the games I am trying are the games installed fo […]
Show full quote

Hey all, so when SBEMU is loaded all games FREEZE. I am running FreeDOS 1.3 and the games I am trying are the games installed form either the FreeDOS 1.3 install CD or Bonus CD. I have tried BOOM, FREEDOOM, WING, and QTETRIS: none will start, starting freezes/hangs. Sometimes I can ctrl-alt-delete restart but sometimes the entire PC is frozen/hung and I have to use the power switch to reboot. When SBEMU is NOT loaded, these games run fine. Any suggestions appriciated. Thank you!

ra6zii.jpg

Possibly run HDPMI32I with the "-r" flag to make it resident, so that DPMI apps that get started will use HDPMI instead of their default extender. Might not have an effect on real mode games, but protected mode games.

Reply 1596 of 1724, by SYZYGY

User metadata
Rank Newbie
Rank
Newbie
thp wrote on 2024-10-09, 06:02:
SYZYGY wrote on 2024-10-08, 12:55:
Hey all, so when SBEMU is loaded all games FREEZE. I am running FreeDOS 1.3 and the games I am trying are the games installed fo […]
Show full quote

Hey all, so when SBEMU is loaded all games FREEZE. I am running FreeDOS 1.3 and the games I am trying are the games installed form either the FreeDOS 1.3 install CD or Bonus CD. I have tried BOOM, FREEDOOM, WING, and QTETRIS: none will start, starting freezes/hangs. Sometimes I can ctrl-alt-delete restart but sometimes the entire PC is frozen/hung and I have to use the power switch to reboot. When SBEMU is NOT loaded, these games run fine. Any suggestions appriciated. Thank you!

ra6zii.jpg

Possibly run HDPMI32I with the "-r" flag to make it resident, so that DPMI apps that get started will use HDPMI instead of their default extender. Might not have an effect on real mode games, but protected mode games.

Thanks but sadly that didn’t help. However I now get an error before it freezes/hangs.

96b3t6.jpeg

Reply 1597 of 1724, by Methanoid

User metadata
Rank Newbie
Rank
Newbie

This is one of the most frustrating experiences ever... I've tried FreeDOS and MSDOS... the FreeDOS IMG provided by Crazii seems to have some problems (I raised ticket at GH, no response).

The best "guide" I have found is here https://www.jamesfmackenzie.com/2023/03/22/ho … able-usb-stick/ so now I can boot FreeDOS, I have JEMM and HDPMI32i loaded and I see my FirePro W7000's HDA fine. Blaster emulation shows up with IRQ7 for some reason. But getting a game to test it works is proving a challenge

I tried Doom (Shareware) and it sticks on the DOS4GW loading and when I press a key it errors and asks if I want to abort. Yes, says I, and then text scrolls at FTL speeds up my screen and I have to hard reset
I tried DukeNuked3D (Shareware) and the installer hangs with error 200 (so cannot even try the game)
I tried EOTB and there seems to be no sound in the game and no setup prog to check what settings so I used SET BLASTER=A220 I7 D1 in case it needed it but no sound

Can someone PLEASE tell me a program that (a) works and (b) readily available and (c) allows settings to ensure it will work with IRQ7 rather than more common IRQ5. I just wanna SEE if I can get sound before I invest half my life installing DOS or Win98 to be able to play some old games.

Reply 1598 of 1724, by myne

User metadata
Rank Oldbie
Rank
Oldbie

Why are you so married to irq7?

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic