VOGONS


SBEMU: Sound Blaster emulation on AC97

Topic actions

Reply 1720 of 1732, by vico

User metadata
Rank Member
Rank
Member
Garehard wrote on 2025-02-15, 13:07:

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?

You may get better results with your SBLive! by using VSBHDA or VSBHDASF:
https://github.com/Baron-von-Riedesel/VSBHDA
https://github.com/Cacodemon345/VSBHDASF

Reply 1721 of 1732, by pirsen

User metadata
Rank Newbie
Rank
Newbie

1.0 beta5 (Latest) on think client Hp t5540.
O.S. Ms-Dos 6.22

AUTOEXEC.BAT

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

CONFIG.SYS

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

Tested games:

Prince of Persia 1.1
The simpsons
Doom
Bubble
The lionking

100% working

Reply 1722 of 1732, by Sly_Botts

User metadata
Rank Member
Rank
Member

Downloaded and tested today. Working good so far on my P4 system. I boot into DOS 7 from win 98. My audigy 2 doesn't like pure DOS on this mobo. SBEMU has been a good way to run pure DOS.

CPU: Intel Pentium 4 Prescott 3.2Ghz (OC to 3.6Ghz)
MOBO: ASUS P4P800-X
RAM - 2x1GB PC3200 DDR 2.5-3-3-7
GPU - ATI RADEON x800 PRO 256MB AGP
SOUND - Audigy 2 ZS
PSU - Corsair CX450
SSD - Crucial BX500 2.5 SSD 240GB
HDD - 40GB IDE
ODD - Generic SATA DVD ROM
OS - Windows XP 32-bit SP3, Windows 98 SE

Games tested:
UDoom
Wolf3d
Monkey Island 2
Duke3d
Wing Commander 2

I created a USB stick version as well. It booted fine on my P4 system but would not boot on my 12700k cpu/Asus z690-a mobo system. Some kind of error relating too "bad or missing command interpreter" error. Also CD-ROM drives will not work unless I'm guessing your system has an ide CD-ROM.

It is possible to commit no errors and still lose. That is not a weakness, that is life.

Reply 1724 of 1732, by SonyUSA

User metadata
Rank Newbie
Rank
Newbie

Hello!

I recently acquired a Dell with 1GHZ P3, 512MB RAM, AC97'esque audio, Matrox dual AGP card, and CD-ROM. I got Windows 98SE installed with SBEMU in pure DOS, however the two games I tried have sped up/high pitched sound for voices and music...

Return to Zork - .iso mounted with shsucdx
Space Quest 6 (DOS) - real CD in CD drive

I tried the forked SBEMU, VSBHDASF, but it had the opposite effect and everything seemed much LOWER pitched/slowed down. I can't seem to find anyone talking about this issue so I'm not sure where to go. I chose SB Pro in config for both games

In Win98, SQ6 runs and sounds fine, it just seems to be a bug or something with SBEMU. It's on default settings Port 220 IRQ 5 DMA 1. I tried the SETBLAST.exe and it confirms the setup and plays the test sounds.

Reply 1725 of 1732, by ludicrous_peridot

User metadata
Rank Member
Rank
Member

Some feedback testing the 1.1 versions.
The alpha version from May, 4th, 2024 seems to not play every sound in BlackZone. Interestingly, the version from April, 30th found in github works well! Currently using VDPMI.EXE from May, 4th with it.

Both versions sadly ignore /SCFM flag. It works with 1.0 lineages versions on my machine, but with 1.1 hardware OPL does not seem to work.

Appreciate 1.1 may not be the main focus for the team, but hope very much for a new testing build that allows hardware FM playback.

Having a blast with emulated FM music, running the game on "bare mrtal" in the meantime. Thanks a lot for that.

GA-G41M-Combo G41/ICH7 - Core 2 Quad Q9550 - DDR3 1033 - Radeon RX570 - YMF744 (Cobra) - X3MB (Buran)
Beetle/M/i815+ICH2 - Celeron 566Mhz - Opti 924 (Typhoon Media)

Reply 1726 of 1732, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

What is VDPMI.EXE / where it come from?

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

Reply 1727 of 1732, by ludicrous_peridot

User metadata
Rank Member
Rank
Member

Re-reading my previous post, it may come through as somewhat nonsensical, so let me try again.

Firstly this is about the 1.1 version of SBEMU.EXE which comes with a new DPMI host that @Crazii has presented as preview alpha a year ago. VDPMI, then host in question, is part of the package.
The reason I am bringing it up is because the game I am trying to run on the machines in my signature (Black Zone) would not work with HDPMI SBEMU/VSBHA nor with DSDMA via Yamaha DOS drivers. It - the game - is also speed sensitive, so while I can run it on the machine with Opti card, I don't enjoy the results so much - either it sounds completely off, or it plays too slow.

With machine that has Yamaha, I can use SBEMU 1.1 to run the game with sound, and without a need to use slowdown utility, however I have two issues:

1. If I use the version found following the link, then only selected digital sound effects can be heard in the game.
2. If I use a different version (from April, 30th, 2024) found in github , then I can hear all sounds, but FM volume gets annoyingly high for while the digital sounds effects (interestingly those, which are unheard in 1. above) are being played. It is a bit weird, because:
- in DOSBox this does not happen
- on the machine with Opti when run without SBEMU this does not happen
- in other programs (e.g. liballegro ASetup) this doesn't happen on the same machine and with the same version of SBEMU

I was thinking that, probably, a workaround could be using different sound cards for FM music and digital sound.
However, my finding with the 1.1 version was that using /SCFM option resulted in expected output from the utility, but then the same sound card was used for FM as specified with /SC.

I know this may be a long shot hoping for this to be addressed, but who knows, maybe a newer version of 1.1 lineage was produced, but not shared publicly for testing?

GA-G41M-Combo G41/ICH7 - Core 2 Quad Q9550 - DDR3 1033 - Radeon RX570 - YMF744 (Cobra) - X3MB (Buran)
Beetle/M/i815+ICH2 - Celeron 566Mhz - Opti 924 (Typhoon Media)

Reply 1728 of 1732, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

Aha, I missed ver. 1.1. It's not listed in 1st post of this megathread neither on main GitHub. But there are more forks that makes it a bit chaotic...
Well, so VDPMI is some attempt to implement own DPMI server that should solve some compatability issues of other DMPI servers... Wouldn't be better just patch more the HDPMI as it's most recent and still alive project? I know that complete asm source may not be easily readable for everyone (like e.g. cwsdpmi is written in BorlandC + a bit of asm, that is more understandable for me). At least it would be nice if both DPMI servers can be loaded and unloaded dynamically to change them at runtime without reboot...

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

Reply 1729 of 1732, by SoftLight

User metadata
Rank Newbie
Rank
Newbie
will1384 wrote on 2024-05-12, 04:18:
SBEMU on my "HP T510 Thin Client" is also defaulting to 220, IRQ7 and DMA1, I am using "SBEMU - 1.0-beta4", I have tried FreeDO […]
Show full quote
MoneySquirrel wrote on 2024-05-12, 01:04:

What irq, dma, etc is sbemu using? Mine defaults to a220, i7, d1. The doom setup doesn't complain? Have you tried just music and no sound, and vice versa? Are you using the beta4 release of sbemu? You may want to try an earlier version too. Also, maybe try the freedos bootdisk in case it's related to that dos 7.1 install. Is anything else being loaded in your config.sys?

SBEMU on my "HP T510 Thin Client" is also defaulting to 220, IRQ7 and DMA1, I am using "SBEMU - 1.0-beta4", I have tried FreeDOS and that did not help, I also tried QEMM but it locks up the "HP T510 Thin Client".

DOOM with no sound of any kind works.

DOOM with only music works.

DOOM with only sound and no music crashes.

Hi guys! I registered here to reply to this message. I hope it's not too late. Maybe this will help someone else. I have HP thin client t5545. And I faced just the same problem using SBEMU 1.0 beta 5 for some id games: Doom and Heretic. My configuration was: set BLASTER=220 I5 D1 H5 P330 T6. I configured sound output using id's 'setup.exe' and received a configuration (e.g. heretic.cfg). Then the game would only start if the option to output only music or no sounds at all was selected. I was scratching my head because other games like Duke3D worked just fine.

The solution turned out to be very simple. If you open the configuration file created by the setup.exe utility (e.g. heretic.cfg, doom.cfg), you will see that the audio output ports in it are incorrect! So we have 'snd_sbport 544' and 'snd_mport 816'. This is terribly strange! Just change it to 'snd_sbport 220' and 'snd_mport 388' and the game will be like a charm!
I want to thank crazii again for the great SBEMU that breathed new life into our retro hardware.

Reply 1730 of 1732, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

Hm the values you wrote are decimal values of usual hex representation of sb/midi ports:
snd_sbport 544 - 544d = 220h
snd_mport 816 - 816d = 330h

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

Reply 1731 of 1732, by CMR779

User metadata
Rank Newbie
Rank
Newbie

I've got it working on a Via Epia ME6000G. Anybody know of any good test programs to check it with?