VOGONS


SBEMU: Sound Blaster emulation on AC97

Topic actions

Reply 440 of 1370, by Stainlesscat

User metadata
Rank Newbie
Rank
Newbie
crazii wrote on 2023-04-05, 10:13:
Good News! With the HP T5530, I fixed the bug for VT833 and now it's working - just overlooked a tiny bug. Tested with a few gam […]
Show full quote

Good News!
With the HP T5530, I fixed the bug for VT833 and now it's working - just overlooked a tiny bug.
Tested with a few games all working, except that duke3d will freeze on exit, I don't think it's caused by SBEMU, probably VGA related, but I forgot to verify it without SBEMU, you guys can find it out.

SBEMU_VT8233_Fix.zip

i'm here to report back that SBEMU is now working fine on my setup with an VIA chipset.
crazii man, you doing here the lord's work. 😁

Reply 441 of 1370, by MBH

User metadata
Rank Newbie
Rank
Newbie

Me too, can confirm its working on VT8237R+!

Crazii, you know you are a genius and a legend alive? Great work! Thank you so much!

But there are still some glitches, duke3d is crashing some seconds after start of the game, being still in main menu. It's not related to some loading process but time related. If you skip the intro you can enter main menu otherwise it will crash in intro. And MechWarrior 2 can't find sound hardware in setup. But anyway, great work!

Last edited by MBH on 2023-04-05, 14:20. Edited 1 time in total.

Reply 442 of 1370, by georgel

User metadata
Rank Member
Rank
Member
crazii wrote on 2023-04-05, 11:26:

When writing SBEMU, I have to search & learn documents about SB to make it work. I think Gravis would be the same, I believe the documents/programming guides can be found on the web, but I'm not ready to to that right now. Maybe later when SBEMU is more stable & compatible. It'll be good if you can help adding the GUS support 😁.

The guide should be the DOSBox source itself. You are already using it for sound blaster emulation so why not add it for GUS...

Reply 443 of 1370, by Riikcakirds

User metadata
Rank Member
Rank
Member

On my Audigy1 SE this only works when I enable the 'SB' command line switch in JEMMEX. What does that switch actually do, it says 'SoundBlaster driver compatibility mode' but not how it works.

Reply 444 of 1370, by bregolin

User metadata
Rank Member
Rank
Member

Worked on my Teco TR3541 thin client with VT8233R, awesome!

crazii wrote on 2023-04-05, 10:13:
Good News! With the HP T5530, I fixed the bug for VT833 and now it's working - just overlooked a tiny bug. Tested with a few gam […]
Show full quote

Good News!
With the HP T5530, I fixed the bug for VT833 and now it's working - just overlooked a tiny bug.
Tested with a few games all working, except that duke3d will freeze on exit, I don't think it's caused by SBEMU, probably VGA related, but I forgot to verify it without SBEMU, you guys can find it out.

SBEMU_VT8233_Fix.zip

IBM Aptiva 2162 - P55 166 MMX, 32MB, CS4237B + Wavetable, ATI Mach64 2MB / Win98SE
Custom PIII 750, 64MB, SB AWE64, Voodoo 3 3000 AGP / Win98SE
Sony Vaio z505 SuperSlim - PIII 550, 192MB, YMF744, NeoMagic 256AV+ / Win98SE

Reply 445 of 1370, by urbanus

User metadata
Rank Newbie
Rank
Newbie
crazii wrote on 2023-04-05, 10:13:
Good News! With the HP T5530, I fixed the bug for VT833 and now it's working - just overlooked a tiny bug. Tested with a few gam […]
Show full quote

Good News!
With the HP T5530, I fixed the bug for VT833 and now it's working - just overlooked a tiny bug.
Tested with a few games all working, except that duke3d will freeze on exit, I don't think it's caused by SBEMU, probably VGA related, but I forgot to verify it without SBEMU, you guys can find it out.

SBEMU_VT8233_Fix.zip

SBEMU now works on the following laptop with this latest version.

The only issue is in Duke3D that the sound is a bit "fast", but not in other games tested so far (Doom e.g.).
Example: https://youtu.be/RrivvmKsScc

Laptop: Windows XP laptop with Intel Celeron 1.4 ghz running Windows 98SE 😀

Previous post: Re: SBEMU: Sound Blaster emulation on AC97

Reply 446 of 1370, by ViTi95

User metadata
Rank Member
Rank
Member
urbanus wrote on 2023-04-05, 20:01:
... The only issue is in Duke3D that the sound is a bit "fast", but not in other games tested so far (Doom e.g.). Example: https […]
Show full quote

...
The only issue is in Duke3D that the sound is a bit "fast", but not in other games tested so far (Doom e.g.).
Example: https://youtu.be/RrivvmKsScc
...

🤣 that accelerated Duke voice is funny

https://www.youtube.com/@viti95

Reply 447 of 1370, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
MBH wrote on 2023-04-05, 13:03:

But there are still some glitches, duke3d is crashing some seconds after start of the game, being still in main menu. It's not related to some loading process but time related. If you skip the intro you can enter main menu otherwise it will crash in intro.

I didn't got crash on the duke3d intro, during about a minute's testing in the intro. weird. But I also have glitches/speddown when loading games - that might be the IRQ sharing of USB & sound card because I'm using a USB stick to boot the thin client. The thin client has 32M Flash with WinCE installed so I didn't bother to install DOS on in.

Toshiba Satellite Pro 4300 - YMF744, Savage IX
Toshiba Satellite 2805-S501 - YMF754, GeForce 2Go
IBM Thinkpad A21p - CS4624, Mobility Radeon 128
main: Intel NUC11PHKi7C Phantom Canyon: i7-1165G7 RTX2060 64G 2T760PSDD

Reply 448 of 1370, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
georgel wrote on 2023-04-05, 13:18:
crazii wrote on 2023-04-05, 11:26:

When writing SBEMU, I have to search & learn documents about SB to make it work. I think Gravis would be the same, I believe the documents/programming guides can be found on the web, but I'm not ready to to that right now. Maybe later when SBEMU is more stable & compatible. It'll be good if you can help adding the GUS support 😁.

The guide should be the DOSBox source itself. You are already using it for sound blaster emulation so why not add it for GUS...

There're now two parts I directly used from DOSBox, the OPL emulation and the ADPCM decoding. I also read the SB emulation codes of DOSBox for help, but not directly use it. Either way I still need to dig a bit more to know how to use/make the GUS emulation. I'll do it when I'm ready. 😁

Toshiba Satellite Pro 4300 - YMF744, Savage IX
Toshiba Satellite 2805-S501 - YMF754, GeForce 2Go
IBM Thinkpad A21p - CS4624, Mobility Radeon 128
main: Intel NUC11PHKi7C Phantom Canyon: i7-1165G7 RTX2060 64G 2T760PSDD

Reply 449 of 1370, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
urbanus wrote on 2023-04-05, 20:01:

The only issue is in Duke3D that the sound is a bit "fast", but not in other games tested so far (Doom e.g.).

It might be a bug of the VT8233 driver, or a general SB emulation bug. what's the setup parameters of duke3d? bit/channel/sample rate settings? and what's the SB type you're emulating?

Toshiba Satellite Pro 4300 - YMF744, Savage IX
Toshiba Satellite 2805-S501 - YMF754, GeForce 2Go
IBM Thinkpad A21p - CS4624, Mobility Radeon 128
main: Intel NUC11PHKi7C Phantom Canyon: i7-1165G7 RTX2060 64G 2T760PSDD

Reply 450 of 1370, by theelf

User metadata
Rank Oldbie
Rank
Oldbie

Hi!! ijust discover, and im starting to test in all my computers

THANKS A LOT

i have 2 question please

1- i did not succed to use with qemm, qemm load ok, but not sbemu, any triks? i found qemm much better than jemm

2- the scroll in some games is choppy, for example Pinball Fantasies, work ok witout sbemu, but as sooni activate sound blaster the scroll became bad

Any ideas?

Thanks!!!

Reply 451 of 1370, by eM-!3

User metadata
Rank Newbie
Rank
Newbie

I have a Termtek TK-3770 and I confirm that after latest VT8233 patch it works! I wasn't able to run Doom, Duke 3D (sound setup works) and History Line. I think many problems might be due to Jemmex not being compatible enough. I always had a lot of problems with it.

Reply 452 of 1370, by urbanus

User metadata
Rank Newbie
Rank
Newbie
crazii wrote on 2023-04-06, 04:17:
urbanus wrote on 2023-04-05, 20:01:

The only issue is in Duke3D that the sound is a bit "fast", but not in other games tested so far (Doom e.g.).

It might be a bug of the VT8233 driver, or a general SB emulation bug. what's the setup parameters of duke3d? bit/channel/sample rate settings? and what's the SB type you're emulating?

The music has a normal pace, its only the sound effects that are fast. But in setup the center channel is normal, but right and left is fast.

Settings in pics, except for the one showing that I use 22khz (also tried 44khz, doesn't matter).

Attachments

Reply 454 of 1370, by jtchip

User metadata
Rank Member
Rank
Member
crazii wrote on 2023-04-05, 10:13:

With the HP T5530, I fixed the bug for VT833 and now it's working - just overlooked a tiny bug.

I'm a bit late to to the party but I can confirm that it now works fine with the VT8237R+ in the Jetway J7F2. Thanks, amazing work!

Another positive compatibility report, it also works fine with the eBox-3350DX2 with a Vortex86DX2, which has an integrated HDA controller, detected as :

Intel HDA: Vortex86MX (17F33010) -> Realtek (10EC0262) (max 192kHz/24bit/8ch)

Reply 455 of 1370, by jtchip

User metadata
Rank Member
Rank
Member
urbanus wrote on 2023-04-06, 15:36:

Settings in pics, except for the one showing that I use 22khz (also tried 44khz, doesn't matter).

Looks like you configured Duke3D to use an SB16 but SBEMU to emulate an SB Pro, it needs to be T6 for SB16.

@crazii, I checked the SBEMU source and 2 /T mappings are not correct:

//T1~T6 maps
static const char* MAIN_SBTypeString[] =
{
"0",
"1.0",
"1.5",
"2.0",
"Pro",
"Pro",
"16",
};

T1 is SB 1.0/1.5 and T2 is SB Pro 1.0 with dual OPL2 (based on this page and this post) so this bit:

    if(MAIN_Options[OPT_TYPE].value < 4) //SB2.0 and before

should be .value == 1 || .value == 3 (summarising).

Reply 456 of 1370, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
theelf wrote on 2023-04-06, 06:12:
Hi!! ijust discover, and im starting to test in all my computers […]
Show full quote

Hi!! ijust discover, and im starting to test in all my computers

THANKS A LOT

i have 2 question please

1- i did not succed to use with qemm, qemm load ok, but not sbemu, any triks? i found qemm much better than jemm

2- the scroll in some games is choppy, for example Pinball Fantasies, work ok witout sbemu, but as sooni activate sound blaster the scroll became bad

Any ideas?

Thanks!!!

1 - there might be bugs. what's the message of the sbemu error?
2 - probably due to a poor CPU, what's the frequency of you CPU?

Toshiba Satellite Pro 4300 - YMF744, Savage IX
Toshiba Satellite 2805-S501 - YMF754, GeForce 2Go
IBM Thinkpad A21p - CS4624, Mobility Radeon 128
main: Intel NUC11PHKi7C Phantom Canyon: i7-1165G7 RTX2060 64G 2T760PSDD

Reply 457 of 1370, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
jtchip wrote on 2023-04-06, 23:21:
Looks like you configured Duke3D to use an SB16 but SBEMU to emulate an SB Pro, it needs to be T6 for SB16. […]
Show full quote
urbanus wrote on 2023-04-06, 15:36:

Settings in pics, except for the one showing that I use 22khz (also tried 44khz, doesn't matter).

Looks like you configured Duke3D to use an SB16 but SBEMU to emulate an SB Pro, it needs to be T6 for SB16.

@crazii, I checked the SBEMU source and 2 /T mappings are not correct:

//T1~T6 maps
static const char* MAIN_SBTypeString[] =
{
"0",
"1.0",
"1.5",
"2.0",
"Pro",
"Pro",
"16",
};

T1 is SB 1.0/1.5 and T2 is SB Pro 1.0 with dual OPL2 (based on this page and this post) so this bit:

    if(MAIN_Options[OPT_TYPE].value < 4) //SB2.0 and before

should be .value == 1 || .value == 3 (summarising).

Thanks for the report and it helps. I was reading from another website and guess it was not accurate.

Toshiba Satellite Pro 4300 - YMF744, Savage IX
Toshiba Satellite 2805-S501 - YMF754, GeForce 2Go
IBM Thinkpad A21p - CS4624, Mobility Radeon 128
main: Intel NUC11PHKi7C Phantom Canyon: i7-1165G7 RTX2060 64G 2T760PSDD

Reply 458 of 1370, by Joakim

User metadata
Rank Oldbie
Rank
Oldbie

This software is so cool. Thanks crazii. Please let me know if there is a way to make a small financial donation.

For someone who is not that knowledgeable about DOS, I would like recommendations on what games to test. Maybe it is possible to set up a floppy with some shareware games. A methodical testing method is always good. (It's an occupational hazard.)

Reply 459 of 1370, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
Baron von Riedesel wrote on 2023-04-04, 14:20:
crazii wrote on 2023-04-04, 09:24:

I merge the -x[n] code from your repo and I tested with system shock, it still exited on "not enough memory to make email cursor", weird. I then tested with Quake, the quake banner shows exact free memory according to the -x[n] option on each change of the [n] value, that means the options is working. Is there any additional modification needed?

Not with the version I tried - it's v1.6, located as a bonus on an CD inserted in a computer magazine.

I was testing with this demo version: https://archive.org/details/SSHOCK
tried with -x2 to -x5 none of them works.

Toshiba Satellite Pro 4300 - YMF744, Savage IX
Toshiba Satellite 2805-S501 - YMF754, GeForce 2Go
IBM Thinkpad A21p - CS4624, Mobility Radeon 128
main: Intel NUC11PHKi7C Phantom Canyon: i7-1165G7 RTX2060 64G 2T760PSDD