VOGONS


SBEMU: Sound Blaster emulation on AC97

Topic actions

Reply 1700 of 1724, by digger

User metadata
Rank Oldbie
Rank
Oldbie

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Reply 1701 of 1724, by DarthSun

User metadata
Rank Member
Rank
Member
digger wrote on 2025-01-27, 12:55:

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Is there a binary translated file? The Make -F DJGPP -P4.Mak command does not run.

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 1702 of 1724, by Falcosoft

User metadata
Rank l33t
Rank
l33t
DarthSun wrote on 2025-01-27, 14:41:
digger wrote on 2025-01-27, 12:55:

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Is there a binary translated file? The Make -F DJGPP -P4.Mak command does not run.

Do you mean a release? Yes, there is:
https://github.com/Cacodemon345/VSBHDASF/releases

Website, Facebook, Youtube
Falcosoft Soundfont Midi Player + Munt VSTi + BassMidi VSTi
VST Midi Driver Midi Mapper

Reply 1703 of 1724, by DarthSun

User metadata
Rank Member
Rank
Member
Falcosoft wrote on 2025-01-27, 14:43:
DarthSun wrote on 2025-01-27, 14:41:
digger wrote on 2025-01-27, 12:55:

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Is there a binary translated file? The Make -F DJGPP -P4.Mak command does not run.

Do you mean a release? Yes, there is:
https://github.com/Cacodemon345/VSBHDASF/releases

Thanks. I'll try Ryzen 3800x / motherboard sound+SB0060 sound cards today.

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 1704 of 1724, by Cacodemon345

User metadata
Rank Newbie
Rank
Newbie
DarthSun wrote on 2025-01-27, 14:41:
digger wrote on 2025-01-27, 12:55:

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Is there a binary translated file? The Make -F DJGPP -P4.Mak command does not run.

You need DJGPP make and JWasm v2.17+. If JWasm (or any program) outputs garbage into the screen and crashes during compilation you need to run HDPMI32i with "-a -r" option before trying again.

If that still doesn't help, post the output in my thread.

Reply 1705 of 1724, by MoneySquirrel

User metadata
Rank Newbie
Rank
Newbie

I just tried VSBHDASF on a Dell D600 laptop and...wow! Wavetable music worked with Duke3d, Doom, Descent, Warcraft2, Dark Forces, Tie Fighter and Simcity Classic. Quite the technical feat! Dark Forces did require the cpuspd slowdown utility or it would crash on startup.

Reply 1706 of 1724, by tauro

User metadata
Rank Member
Rank
Member

As it been said before on this thread, if all the efforts were concentrated on a single project it would make much more sense and development would move faster. So hopefully this is a step on that direction.

Reply 1708 of 1724, by myne

User metadata
Rank Oldbie
Rank
Oldbie
tauro wrote on 2025-01-30, 21:24:

As it been said before on this thread, if all the efforts were concentrated on a single project it would make much more sense and development would move faster. So hopefully this is a step on that direction.

That's the story of Linux.
The kernel has a dictator, and it makes progress rapidly compared to the rest of the userspace which doesn't.

Android has a dictatorship, and its market share grew rapidly.
Steamos does too.

But for most open source, individuals have their own opinions and personal differences which leads to many slow growing branches of the same thing.

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

Reply 1709 of 1724, by DoutorHouse

User metadata
Rank Member
Rank
Member
digger wrote on 2025-01-27, 12:55:

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Thank you so much for maintaining SBEMU!!! Been trying it on lots of different computers and it works really well with most games I installed (except for Warcraft II, where music seems to go up and down all the time...).

I'm just having a weird problem with an HP t5145 Thin Client I just got (VIA VX800 with Realtek ALC262 AC'97 codec enhanced audio controller).

SBEMU works fine with it (Intel HDA) but whenever I reboot the computer using ALT-CTRL-DEL or pressing the computer's button, it just makes the keyboard and mouse hang. I have to press the power button again to restart it, and DOS 6.22 and SBEMU work again. I've been trying lots of different options (different IRQs, disabling everything in BIOS, etc) but no matter what I try, this always happens. Also tried QEMM386.SYS but it completely hangs the machine... It's not a big deal, as SBEMU works really nice on this system but it's being caused by JemmEX (5.84 and also 5.85). It doesn't happen if it doesn't load JemmEX... Any suggestions? Should I add some option to the JEMMEX line on CONFIG.SYS? Maybe exclude some memory region?

Here are my AUTOEXEC.BAT and CONFIG.SYS files:

SET BLASTER=A220 I5 D1 H5 P330 T6
C:\SBEMU\HDPMI32I -r -x
C:\SBEMU\JLOAD C:\SBEMU\QPIEMU.DLL
C:\SBEMU\SBEMU
@ECHO OFF
PROMPT $p$g
PATH=C:\DOS
SET TEMP=C:\DOS
MODE CON CODEPAGE PREPARE=((850) C:\DOS\EGA.CPI)
MODE CON CODEPAGE SELECT=850
LH /L:2,17264 KEYB PO,,C:\DOS\KEYBOARD.SYS

DEVICE=C:\SBEMU\JEMMEX.EXE
BUFFERS=15,0
FILES=40
DOS=UMB
LASTDRIVE=H
FCBS=1,0
DOS=HIGH
COUNTRY=351,,C:\DOS\COUNTRY.SYS
DEVICEHIGH /L:2,15792 =C:\DOS\DISPLAY.SYS CON=(EGA,,1)
STACKS=0,0
DEVICEHIGH /L:2,14848 =C:\MOUSE\MOUSE.COM /L=GB

Any suggestions for this particular system? 😀

Thank you so much for any help!!!

Reply 1710 of 1724, by vico

User metadata
Rank Member
Rank
Member
DoutorHouse wrote on 2025-02-11, 22:00:
Thank you so much for maintaining SBEMU!!! Been trying it on lots of different computers and it works really well with most game […]
Show full quote
digger wrote on 2025-01-27, 12:55:

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Thank you so much for maintaining SBEMU!!! Been trying it on lots of different computers and it works really well with most games I installed (except for Warcraft II, where music seems to go up and down all the time...).

I'm just having a weird problem with an HP t5145 Thin Client I just got (VIA VX800 with Realtek ALC262 AC'97 codec enhanced audio controller).

SBEMU works fine with it (Intel HDA) but whenever I reboot the computer using ALT-CTRL-DEL or pressing the computer's button, it just makes the keyboard and mouse hang. I have to press the power button again to restart it, and DOS 6.22 and SBEMU work again. I've been trying lots of different options (different IRQs, disabling everything in BIOS, etc) but no matter what I try, this always happens. Also tried QEMM386.SYS but it completely hangs the machine... It's not a big deal, as SBEMU works really nice on this system but it's being caused by JemmEX (5.84 and also 5.85). It doesn't happen if it doesn't load JemmEX... Any suggestions? Should I add some option to the JEMMEX line on CONFIG.SYS? Maybe exclude some memory region?

Here are my AUTOEXEC.BAT and CONFIG.SYS files:

SET BLASTER=A220 I5 D1 H5 P330 T6
C:\SBEMU\HDPMI32I -r -x
C:\SBEMU\JLOAD C:\SBEMU\QPIEMU.DLL
C:\SBEMU\SBEMU
@ECHO OFF
PROMPT $p$g
PATH=C:\DOS
SET TEMP=C:\DOS
MODE CON CODEPAGE PREPARE=((850) C:\DOS\EGA.CPI)
MODE CON CODEPAGE SELECT=850
LH /L:2,17264 KEYB PO,,C:\DOS\KEYBOARD.SYS

DEVICE=C:\SBEMU\JEMMEX.EXE
BUFFERS=15,0
FILES=40
DOS=UMB
LASTDRIVE=H
FCBS=1,0
DOS=HIGH
COUNTRY=351,,C:\DOS\COUNTRY.SYS
DEVICEHIGH /L:2,15792 =C:\DOS\DISPLAY.SYS CON=(EGA,,1)
STACKS=0,0
DEVICEHIGH /L:2,14848 =C:\MOUSE\MOUSE.COM /L=GB

Any suggestions for this particular system? 😀

Thank you so much for any help!!!

Try VSBHDA or VSBHDASF

Reply 1711 of 1724, by DoutorHouse

User metadata
Rank Member
Rank
Member
vico wrote on 2025-02-12, 00:10:
DoutorHouse wrote on 2025-02-11, 22:00:
Thank you so much for maintaining SBEMU!!! Been trying it on lots of different computers and it works really well with most game […]
Show full quote
digger wrote on 2025-01-27, 12:55:

FYI for everyone following SBEMU: Vogons user Cacodemon345 forked VSBHDA into another project called VSBHDASF, and added a software-based wavetable synthesizer with Soundfont support to it.

Pretty cool. And having a single emulation TSR that emulates Sound Blaster DAC, FM synthesis and General MIDI wavetable synthesis with MPU-401 emulation really begins to get tantalizingly close to a single universal DOS sound emulation solution for modern machines.

Thank you so much for maintaining SBEMU!!! Been trying it on lots of different computers and it works really well with most games I installed (except for Warcraft II, where music seems to go up and down all the time...).

I'm just having a weird problem with an HP t5145 Thin Client I just got (VIA VX800 with Realtek ALC262 AC'97 codec enhanced audio controller).

SBEMU works fine with it (Intel HDA) but whenever I reboot the computer using ALT-CTRL-DEL or pressing the computer's button, it just makes the keyboard and mouse hang. I have to press the power button again to restart it, and DOS 6.22 and SBEMU work again. I've been trying lots of different options (different IRQs, disabling everything in BIOS, etc) but no matter what I try, this always happens. Also tried QEMM386.SYS but it completely hangs the machine... It's not a big deal, as SBEMU works really nice on this system but it's being caused by JemmEX (5.84 and also 5.85). It doesn't happen if it doesn't load JemmEX... Any suggestions? Should I add some option to the JEMMEX line on CONFIG.SYS? Maybe exclude some memory region?

Here are my AUTOEXEC.BAT and CONFIG.SYS files:

SET BLASTER=A220 I5 D1 H5 P330 T6
C:\SBEMU\HDPMI32I -r -x
C:\SBEMU\JLOAD C:\SBEMU\QPIEMU.DLL
C:\SBEMU\SBEMU
@ECHO OFF
PROMPT $p$g
PATH=C:\DOS
SET TEMP=C:\DOS
MODE CON CODEPAGE PREPARE=((850) C:\DOS\EGA.CPI)
MODE CON CODEPAGE SELECT=850
LH /L:2,17264 KEYB PO,,C:\DOS\KEYBOARD.SYS

DEVICE=C:\SBEMU\JEMMEX.EXE
BUFFERS=15,0
FILES=40
DOS=UMB
LASTDRIVE=H
FCBS=1,0
DOS=HIGH
COUNTRY=351,,C:\DOS\COUNTRY.SYS
DEVICEHIGH /L:2,15792 =C:\DOS\DISPLAY.SYS CON=(EGA,,1)
STACKS=0,0
DEVICEHIGH /L:2,14848 =C:\MOUSE\MOUSE.COM /L=GB

Any suggestions for this particular system? 😀

Thank you so much for any help!!!

Try VSBHDA or VSBHDASF

Tried both but the problem is with JemmEX... Also, with VSBHDAF sound gets super low...

Reply 1712 of 1724, by Nemo1985

User metadata
Rank Oldbie
Rank
Oldbie
DoutorHouse wrote on 2025-02-12, 07:17:

Tried both but the problem is with JemmEX... Also, with VSBHDAF sound gets super low...

Let's try to troubleshoot the issue.
You don't have many stuff loaded but I would begin with rem the mouse driver, also I noticed you are using very specific memory locations to load the stuff (the switch /L:address) those are memmaker settings usually.
Third thing you should take a look of jemmex switches, I found at least one which can be tried ( ALTBOOT this option is meant to select an alternate reboot handler, if the standard handler doesn't work. The current implementation sends a "system reset" command to the keyboard controller) for your issues.
If you can't resolve the issue Baron is active on the github project page.

Reply 1713 of 1724, by DoutorHouse

User metadata
Rank Member
Rank
Member
Nemo1985 wrote on 2025-02-12, 07:49:
Let's try to troubleshoot the issue. You don't have many stuff loaded but I would begin with rem the mouse driver, also I notice […]
Show full quote
DoutorHouse wrote on 2025-02-12, 07:17:

Tried both but the problem is with JemmEX... Also, with VSBHDAF sound gets super low...

Let's try to troubleshoot the issue.
You don't have many stuff loaded but I would begin with rem the mouse driver, also I noticed you are using very specific memory locations to load the stuff (the switch /L:address) those are memmaker settings usually.
Third thing you should take a look of jemmex switches, I found at least one which can be tried ( ALTBOOT this option is meant to select an alternate reboot handler, if the standard handler doesn't work. The current implementation sends a "system reset" command to the keyboard controller) for your issues.
If you can't resolve the issue Baron is active on the github project page.

Thank you so much for replying!
I actually tried restarting the computer with a very minimal configuration. Ended up noticing that it's being indeed caused by JemmEX...

Tried with the ALTBOOT switch you suggested but the problem persists... I mean, everything works great, as expected, it's just that minor annoyance of having to actually shut down the computer and restart it after every time I use SBEMU... I also thought of using MSD.EXE to check which memory zones are being used but I have no idea what to look for, or what to exclude...

Reply 1714 of 1724, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

I have similar problem. When I have jemm and sbemu/vsbhda loaded (I use quickboot option for jemm) then pressing ctrl+alt+del cause instant hang instead of reboot. Even worse it mess up the system to unusable state even hard reset button doesn't help. It cause reset but but during POST it hangs at disks detection - HDD LED lights forever. The only possible recover from this state is power cycle.
But if I press HW reset button instead ctrl+alt+del then system reboots normally.

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

Reply 1715 of 1724, by georgel

User metadata
Rank Member
Rank
Member
RayeR wrote on 2025-02-12, 23:28:

...even hard reset button doesn't help. It cause reset but but during POST it hangs at disks detection - HDD LED lights forever.

You seem knowledgeable in hardware, obviously this means that Asian designers of your motherboard had done mistakes in their job.

Reply 1716 of 1724, by BinaryDemon

User metadata
Rank Oldbie
Rank
Oldbie
RayeR wrote on 2025-02-12, 23:28:

I have similar problem. When I have jemm and sbemu/vsbhda loaded (I use quickboot option for jemm) then pressing ctrl+alt+del cause instant hang instead of reboot. Even worse it mess up the system to unusable state even hard reset button doesn't help. It cause reset but but during POST it hangs at disks detection - HDD LED lights forever. The only possible recover from this state is power cycle.
But if I press HW reset button instead ctrl+alt+del then system reboots normally.

Maybe reset CMOS?

Reply 1717 of 1724, by BinaryDemon

User metadata
Rank Oldbie
Rank
Oldbie
georgel wrote on 2025-02-13, 13:11:
BinaryDemon wrote on 2025-02-13, 12:49:

Maybe reset CMOS?

CMOS means Complementary Metal-Oxide Semiconductor. It is a technology for making gates/chips. You cannot reset that. (EDIT by Dominus: removed insult)

https://www.howtogeek.com/805136/what-is-cmos/

It's the copy of your BIOS memory that the computer actually uses. It can get corrupted like any other storage. I dont care if you disagree with my advice, but no need to be insulting.

Last edited by Dominus on 2025-02-13, 19:42. Edited 1 time in total.

Reply 1718 of 1724, by Baron von Riedesel

User metadata
Rank Member
Rank
Member
DoutorHouse wrote on 2025-02-12, 07:17:

Tried both but the problem is with JemmEX...

I should probably mention that it's almost certainly not JemmEx causing your problems.

Qemm, for example, displays this screen when an error in v86-mode happens:

The attachment 01.webp is no longer available

So Qemm boldly claims that it's "not a Qemm error". Jemm is perhaps a bit less talkative in this regard, but claims the same - and the core information is even better than Qemm's, because it displays the full 32-bit register set.
If you are knowledgeable, you might try to install jdeb386 - that's a PL0 debugger for Jemm. It will stop when the error occurs and you may examine the state of the machine.
However, to ensure that you can see the output even if the crashing program is in graphics mode, you might have to redirect jdeb386's output to a serial connection... 😀

Reply 1719 of 1724, by Garehard

User metadata
Rank Newbie
Rank
Newbie

great Project, but i got with my SB Live only a high pitched sound. opl3 music is fine.
changed irq from 5 to 7, but that doesnt solve the problem. any ideas?