Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any chance to make it work with SBEMU? #159

Closed
Ethaniel-404 opened this issue Dec 30, 2023 · 6 comments
Closed

Any chance to make it work with SBEMU? #159

Ethaniel-404 opened this issue Dec 30, 2023 · 6 comments
Labels
help wanted Extra attention is needed sound

Comments

@Ethaniel-404
Copy link

I know SBEMU is a weird creature, but it has reached a decent level of compatibility. Now, FastDoom is a much more convenient way to execute Doom under MS-DOS, but every time I try to configure the emulated sound card on setup, FastDoom can't find it. Could you check this in the future? Thanks, as always.

@viti95 viti95 added the sound label Jan 1, 2024
@viti95
Copy link
Owner

viti95 commented Jan 1, 2024

Good question. Initially, I attempted to incorporate native AC-97 audio support into FastDoom, but it proved to be too complex for my current skill level. The idea was to avoid any kind of emulation. I plan to explore adding support for it; I now have a SBEMU compatible device, allowing me to conduct tests.

Nevertheless, any help on this matter would be greatly appreciated.

@dougvj
Copy link
Contributor

dougvj commented Jan 4, 2024

This would pair well with my test playing at 1280x1024, which requires hardware at the level the ISA bus becomes scarce

@viti95 viti95 added the help wanted Extra attention is needed label Jan 9, 2024
@viti95
Copy link
Owner

viti95 commented Jan 30, 2024

Baron von Riedesel (VOGONS): Well, I played a bit with Fastdoom and can say that it partially works with both SBEMU and VSBHDA. There are a few issues:

  • hdpmi32i should be loaded with the -x option, since the DOS32A extender isn't happy if too much free memory is offered
  • if Soundblaster FM music is enabled, a crash will happen. Soundblaster SFX works, though!
  • It must be ensured that hdpmi is used as DPMI host for Fastdoom. I achieved this by entering "JEMMEX NOVCPI" before launching fastdoom.

I also compiled Fastdoom with Watcom v1.9, creating a HX binary instead of DOS32A - it works.

@viti95
Copy link
Owner

viti95 commented Jan 30, 2024

I've tested this myself using this method and DOS32A, it works but OPL music crashes (both Adlib and Sound Blaster). PCM music works though.

https://youtu.be/lwKfzuXirxY?si=I4sM6JCd_JPZYr7_

@Ethaniel-404
Copy link
Author

Ethaniel-404 commented Jan 30, 2024

Baron von Riedesel (VOGONS): Well, I played a bit with Fastdoom and can say that it partially works with both SBEMU and VSBHDA. There are a few issues:

  • hdpmi32i should be loaded with the -x option, since the DOS32A extender isn't happy if too much free memory is offered
  • if Soundblaster FM music is enabled, a crash will happen. Soundblaster SFX works, though!
  • It must be ensured that hdpmi is used as DPMI host for Fastdoom. I achieved this by entering "JEMMEX NOVCPI" before launching fastdoom.

I also compiled Fastdoom with Watcom v1.9, creating a HX binary instead of DOS32A - it works.

Yes! This actually works. I didn't understood at first: The idea is to start SBEMU normally, and then execute «JEMMEX NOVCPI» before FastDoom, instead of adding NOVCPI to Jemmex inside config.sys. That's how it worked for me.

Not only that, I was able to combine FastDoom, SBEMU and the USB mouse driver by Bret Johnson.

Enhanced, high speed Doom launcher + Sound Blaster emulation + USB mouse, all under pure DOS. This is insane, and I love it. All I need right now is the sound package for PCM mode.

@viti95
Copy link
Owner

viti95 commented Feb 20, 2024

Crazii has fixed SBEMU support, it will be available on the next release

@viti95 viti95 closed this as completed Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed sound
Projects
None yet
Development

No branches or pull requests

3 participants