VOGONS


SBEMU: Sound Blaster emulation on AC97

Topic actions

Reply 2040 of 2054, by Angel Of Nemesis

User metadata
Rank Newbie
Rank
Newbie

Hi, motherboard ASUS P5KPL-SE with Yamaha DS-XG and SB Live! 5.1. I’m trying to turn on the Sound Blaster and getting this error. If it matters, here’s the line: JemmEx X=CC00-CFFF X2MAX-8192 NOEMS NOVME NOINVLPG /MAXEXT=262144 (This is part of the FreeDOS modified config).

The attachment IMG.PNG is no longer available

Reply 2041 of 2054, by DoZator

User metadata
Rank Member
Rank
Member
DoZator wrote on 2026-11-24, 09:57:

It is obvious that "SETUPDS /s" works before returning to Windows and changes all the necessary registers in one pass. Perhaps this is the peculiarity. We’ll need to try doing this using "RU" instead of "SETUPDS". But I already anticipate that in this case, we might also need to apply the registers twice in a row. We’ll need to take a register dump after "SETUPDS /s", and then try applying it using RU to verify this.

It might be the same with other sound cards. I would check this first.

In general, I checked this myself, and when returning to Windows, this method (with double register restoration) doesn’t work in this case. It only helps to revive the sound card after Windows so that it is detected by SBEMU and works correctly with it in MS-DOS mode. However, to return to Windows, it turned out that you need exactly "setupds /s", and a simple manual rewriting of the registers doesn’t produce the expected effect (even twice or three times). "setupds /s" in this case works some kind of special magic.. (I find it hard to even imagine what exactly it does and how it can be ported to all other sound cards that don’t have a built-in DOS configuration tool).

Reply 2042 of 2054, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
Angel Of Nemesis wrote on 2026-11-24, 17:44:

Hi, motherboard ASUS P5KPL-SE with Yamaha DS-XG and SB Live! 5.1. I’m trying to turn on the Sound Blaster and getting this error. If it matters, here’s the line: JemmEx X=CC00-CFFF X2MAX-8192 NOEMS NOVME NOINVLPG /MAXEXT=262144 (This is part of the FreeDOS modified config).

The attachment IMG.PNG is no longer available

Based on the screen message, it crashes on the QEMM qpi installation for OPL port 388-38B, when perform a linear memory copy (ds base=0, limit=0xFFFFFFFF) there is a page fault (#PF , 0Eh)
and the error 06 for page fault indicates writing to a non-present page.

It seem that you don't use "DOS=UMB" so SBEMU allocated UMB from Jemm via XMS. but There's bug because of my recently changes. But that code is disabled in the newest commit.
it still need fix if it's enabled in the future, please wait for the fix.

For now you can use DOS=UMB to temporarily fix it.

EDIT: you can try the latest rc4 release.
the new release also removed all dos memory usage like the vdpmi build, except that it still hooks IVT entry 2Dh.

Last edited by crazii on 2026-11-25, 04:38. Edited 1 time in total.

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 2043 of 2054, by Plombo

User metadata
Rank Newbie
Rank
Newbie
crazii wrote on 2026-11-23, 09:54:
Plombo wrote on 2026-11-19, 20:02:
  • The SB16 driver installer (sbbasic.exe from here) detects "sbemu /T6" as a Sound Blaster 16 (good), but crashes with a VDPMI error during installation. The installer does work with SBEMU+QEMM+HDPMI, so this is a VDPMI issue.
  • Going back to VDPMI and running Windows after this, it's unable to load the SB16 driver, so I still don't get any sound. Windows says to make sure the file exists, but I'm guessing it's actually the driver failing somehow?

I tested the sbbasic driver it installs fine for me. the diagnose.exe reports some error probably because sb16 emulation is not complete. the mixer utility works fine.
why you need the Sb16 driver? sbemu works without it. is it that you try to make it work in windows?

Yes, it's for the Windows 3.1 driver. The SB16 DOS driver isn't needed, as you say. It's odd that the installer worked for you with VDPMI, but not for me.

I do think the installer issue is less important than the Windows 3.1 drivers not being able to detect the card. In addition to the issue I described with the SB16 driver, the SB 1.0 and SB 1.5 drivers that are included with Windows 3.11 also can't detect the card. They bring up a dialog saying "the port setting does not match those on the card", even when the correct port and IRQ (220/7) are selected in the dialog. I also tried switching SBEMU from /T6 to /T1, and the same thing still happens. So there seems to be some wider issue with SBEMU and the SB detection methods used by Windows 3.1 drivers.

Reply 2044 of 2054, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

I load the realmode NIC driver in autoexec usually only for boot menu path launching Windows98 in autoexec:

REM Load realmode NDIS2 driver RTGND.DOS for RTL8111E
C:\WINDOWS\net start

If I use JEMM or previous VDPMI + XHDD.SYS then network driver loads fine. It hanged only with the latest VDS disabled version (I only changed VIntFlag=0 in config for himemex+ramdsk64).

some AI explanation that seems to match our observation (fallback to PIO):

How the BIOS Uses VDS for INT 13h Disk DMA
To execute a bus-mastering DMA disk read or write inside an INT 13h handler (or an Option ROM like a SCSI/SATA controller BIOS), the BIOS follows a strict sequence:
1. Check for VDS. Before starting a disk transfer, the INT 13h handler checks bit 5 of byte 0040:007Bh in the BDA.
• If clear: The CPU is in pure Real Mode. The BIOS calculates the physical address directly (Segment * 16 + Offset) and programs the disk controller's DMA engine.
• If set: A VDS provider is active, and the BIOS must translate the buffer address via INT 4Bh.
2. Lock the Buffer (INT 4Bh, AX = 8103h or 8105h).
• Scatter/Gather (AX = 8105h). Modern bus-master IDE/SATA and SCSI controllers use Physical Region Descriptor (PRD) tables. The BIOS fills an EDDS with the caller's ES:BX buffer address and calls INT 4Bh (AX = 8105h). VDS locks the pages and returns an array of physical addresses and byte lengths, which the BIOS writes directly into the controller's PRD table.
• Contiguous / Bounce Buffer (AX = 8103h). If the controller requires a single contiguous block, the BIOS uses a standard DDS and calls INT 4Bh (AX = 8103h) with flags allowing VDS to automatically allocate and copy to/from an internal DMA buffer if the target memory isn't physically contiguous.
3. Execute the Hardware DMA Transfer.
The BIOS programs the disk controller's bus-master registers with the physical addresses returned by VDS and triggers the read or write command.
4. Unlock the Buffer (INT 4Bh, AX = 8104h or 8106h).
Once the disk controller signals completion via IRQ, the BIOS calls the corresponding VDS unlock function (8104h for DDS, 8106h for EDDS). If a bounce buffer was used during a disk read, VDS copies the data from the physical buffer back into the caller's virtual buffer before releasing the lock. www.os2museum.com
5. Fallback to PIO.
If VDS returns an error (for example, insufficient DMA buffer space or an unsupported memory region), a well-behaved BIOS INT 13h routine falls back to Programmed I/O (PIO) using REP INSW/REP OUTSW, which uses virtual CPU addresses and requires no physical address translation.
(Note: Because implementing full VDS scatter/gather logic inside a cramped motherboard BIOS ROM was complex, many early PCI IDE BIOSes skipped VDS and used PIO for INT 13h, leaving bus-master DMA to protected-mode OS drivers. SCSI Option ROMs and later BIOSes with full UDMA support implemented this exact flow.)

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

Reply 2045 of 2054, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
Plombo wrote on Yesterday, 02:15:
crazii wrote on 2026-11-23, 09:54:
Plombo wrote on 2026-11-19, 20:02:
  • The SB16 driver installer (sbbasic.exe from here) detects "sbemu /T6" as a Sound Blaster 16 (good), but crashes with a VDPMI error during installation. The installer does work with SBEMU+QEMM+HDPMI, so this is a VDPMI issue.
  • Going back to VDPMI and running Windows after this, it's unable to load the SB16 driver, so I still don't get any sound. Windows says to make sure the file exists, but I'm guessing it's actually the driver failing somehow?

I tested the sbbasic driver it installs fine for me. the diagnose.exe reports some error probably because sb16 emulation is not complete. the mixer utility works fine.
why you need the Sb16 driver? sbemu works without it. is it that you try to make it work in windows?

Yes, it's for the Windows 3.1 driver. The SB16 DOS driver isn't needed, as you say. It's odd that the installer worked for you with VDPMI, but not for me.

I do think the installer issue is less important than the Windows 3.1 drivers not being able to detect the card. In addition to the issue I described with the SB16 driver, the SB 1.0 and SB 1.5 drivers that are included with Windows 3.11 also can't detect the card. They bring up a dialog saying "the port setting does not match those on the card", even when the correct port and IRQ (220/7) are selected in the dialog. I also tried switching SBEMU from /T6 to /T1, and the same thing still happens. So there seems to be some wider issue with SBEMU and the SB detection methods used by Windows 3.1 drivers.

I don't think it will work in windows, either in 3.x std mode or 386enhanced mode.
the std mode uses vcpi that out of the control of v86monitor or dpmi. the enhanced mode even get rid of the original emm/v86 monitor.

a driver is needed and I plan to write it after the full alsa is present.

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 2046 of 2054, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
RayeR wrote on Yesterday, 02:39:
I load the realmode NIC driver in autoexec usually only for boot menu path launching Windows98 in autoexec: […]
Show full quote

I load the realmode NIC driver in autoexec usually only for boot menu path launching Windows98 in autoexec:

REM Load realmode NDIS2 driver RTGND.DOS for RTL8111E
C:\WINDOWS\net start

If I use JEMM or previous VDPMI + XHDD.SYS then network driver loads fine. It hanged only with the latest VDS disabled version (I only changed VIntFlag=0 in config for himemex+ramdsk64).

some AI explanation that seems to match our observation (fallback to PIO):

How the BIOS Uses VDS for INT 13h Disk DMA
To execute a bus-mastering DMA disk read or write inside an INT 13h handler (or an Option ROM like a SCSI/SATA controller BIOS), the BIOS follows a strict sequence:
1. Check for VDS. Before starting a disk transfer, the INT 13h handler checks bit 5 of byte 0040:007Bh in the BDA.
• If clear: The CPU is in pure Real Mode. The BIOS calculates the physical address directly (Segment * 16 + Offset) and programs the disk controller's DMA engine.
• If set: A VDS provider is active, and the BIOS must translate the buffer address via INT 4Bh.
2. Lock the Buffer (INT 4Bh, AX = 8103h or 8105h).
• Scatter/Gather (AX = 8105h). Modern bus-master IDE/SATA and SCSI controllers use Physical Region Descriptor (PRD) tables. The BIOS fills an EDDS with the caller's ES:BX buffer address and calls INT 4Bh (AX = 8105h). VDS locks the pages and returns an array of physical addresses and byte lengths, which the BIOS writes directly into the controller's PRD table.
• Contiguous / Bounce Buffer (AX = 8103h). If the controller requires a single contiguous block, the BIOS uses a standard DDS and calls INT 4Bh (AX = 8103h) with flags allowing VDS to automatically allocate and copy to/from an internal DMA buffer if the target memory isn't physically contiguous.
3. Execute the Hardware DMA Transfer.
The BIOS programs the disk controller's bus-master registers with the physical addresses returned by VDS and triggers the read or write command.
4. Unlock the Buffer (INT 4Bh, AX = 8104h or 8106h).
Once the disk controller signals completion via IRQ, the BIOS calls the corresponding VDS unlock function (8104h for DDS, 8106h for EDDS). If a bounce buffer was used during a disk read, VDS copies the data from the physical buffer back into the caller's virtual buffer before releasing the lock. www.os2museum.com
5. Fallback to PIO.
If VDS returns an error (for example, insufficient DMA buffer space or an unsupported memory region), a well-behaved BIOS INT 13h routine falls back to Programmed I/O (PIO) using REP INSW/REP OUTSW, which uses virtual CPU addresses and requires no physical address translation.
(Note: Because implementing full VDS scatter/gather logic inside a cramped motherboard BIOS ROM was complex, many early PCI IDE BIOSes skipped VDS and used PIO for INT 13h, leaving bus-master DMA to protected-mode OS drivers. SCSI Option ROMs and later BIOSes with full UDMA support implemented this exact flow.)

So is it OK for you to disable VDS provided the NIC driver problem is gone?
I think it is the easiest path. and with less effort to hack.

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 2047 of 2054, by Plombo

User metadata
Rank Newbie
Rank
Newbie
crazii wrote on Yesterday, 04:46:

I don't think it will work in windows, either in 3.x std mode or 386enhanced mode.
the std mode uses vcpi that out of the control of v86monitor or dpmi. the enhanced mode even get rid of the original emm/v86 monitor.

a driver is needed and I plan to write it after the full alsa is present.

Ah, that would do it! I hadn't realized that 386 Enhanced Mode disables the original EMM/v86 monitor. I will look forward to your driver, then 😀

Does ALSA refer to the Advanced Linux Sound Architecture? Is the idea to have broad compatibility with any Linux sound driver? If so, that sounds quite ambitious.

Reply 2048 of 2054, by Angel Of Nemesis

User metadata
Rank Newbie
Rank
Newbie

EDIT: you can try the latest rc4 release.
the new release also removed all dos memory usage like the vdpmi build, except that it still hooks IVT entry 2Dh.

Thank you very much, everything is working now!

The attachment IMG.png is no longer available

Reply 2049 of 2054, by DarthSun

User metadata
Rank Member
Rank
Member

This is a frighteningly good project—seriously, the retro titles run incredibly well on semi-modern hardware (I’ve tested it on five such machines). It’s underrated here in Hungary; people tend to dismiss it as just some "puzzle-like" emulation. But then again, what do you expect? In my home country, those who don't really understand the subject label it a "cheap" or "gimmicky" project—even though, in my view, it’s ultra-professional. They simply lack the expertise. Besides, any new invention is "new" to physicists, and we know how they tend to resist—clinging stubbornly to their own established dogmas.

---Furthermore, even here on Vogons, there have been negative posts regarding this emulation. Just take a look at my recent thread, *The king of operating systems and compatibility*; some extremely ill-informed people commented there, claiming it was "fake" or "useless." In reality, its compatibility is now absolutely massive. Hats off to the developers—you can essentially build a machine that bridges the gap from 1984 all the way to 2026, effectively serving as a replacement for "real" retro hardware.

This is a monumental achievement—something I couldn't have possibly predicted ten years ago. On behalf of all retro enthusiasts: a huge, massive thank you!!!

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 2050 of 2054, by crazii

User metadata
Rank Oldbie
Rank
Oldbie
Plombo wrote on Yesterday, 05:26:

Does ALSA refer to the Advanced Linux Sound Architecture? Is the idea to have broad compatibility with any Linux sound driver? If so, that sounds quite ambitious.

Yes, it's Advanced Linux Sound Architecture. it might be ambitious, but think about this:

I'm a C++ programmer in real life, but hadn't touched "DOS programming" for 20 years when SBEMU started. Even when I was doing "DOS programming" as a student, it is just some Tetris games using Borland BGI, or some TUI of window/menus to imitate Borland TurboVision because I thought it is cool and fun. I did little "low-level" programming. - That for me is ambitious enough when the project starts, I DID NOT EVEN KNOW WHAT AN IO PORT TRAP IS. 🤣 I have to learn everything on the fly.

DarthSun wrote on Yesterday, 18:28:

This is a frighteningly good project—seriously, the retro titles run incredibly well on semi-modern hardware (I’ve tested it on five such machines). It’s underrated here in Hungary; people tend to dismiss it as just some "puzzle-like" emulation. But then again, what do you expect? In my home country, those who don't really understand the subject label it a "cheap" or "gimmicky" project—even though, in my view, it’s ultra-professional. They simply lack the expertise. Besides, any new invention is "new" to physicists, and we know how they tend to resist—clinging stubbornly to their own established dogmas.

---Furthermore, even here on Vogons, there have been negative posts regarding this emulation. Just take a look at my recent thread, *The king of operating systems and compatibility*; some extremely ill-informed people commented there, claiming it was "fake" or "useless." In reality, its compatibility is now absolutely massive. Hats off to the developers—you can essentially build a machine that bridges the gap from 1984 all the way to 2026, effectively serving as a replacement for "real" retro hardware.

This is a monumental achievement—something I couldn't have possibly predicted ten years ago. On behalf of all retro enthusiasts: a huge, massive thank you!!!

Ha, it is of course "fake" because there is not real SB at all, "emulation" is "fake" in some way. and also "useless" if you use DOSBox or other EMU/VM, not on bare metal DOS.
That's just different points of views. But if the "fake" means the whole emulation is fake, then there's serious misunderstandings.

SBEMU is not that "professional". When I started SBEMU, there are some initial boring testing & experiments, which takes very much time. It was also because I was enjoying using RHIDE for retro coding, it was fun, bringing me god good memories on using Torubo/Borland C but it is much less inconvenient for "real coding". And after It works, I didn't bother to change the ugly testing code, because I treated it as a hobby project after all.

On the other hand, VDPMI is "more" professional compared to SBEMU, if it is not unprofessional at all. It is written from scratch (some initial code from USBDDOS but that part of code used by VDPMI was written from scratch by me too), using pure 32bit C programming, with trick & hacks and a little of ASM code. it's more like coding in modern C (or C99 that Openwatcom has).

BTW, the idea of using MPXPlay+DPMI+QEMM is NOT from me; the credit should be given to a very experienced DOS user in VOGONS forum who guide me to the right direction. Unfortunately I forgot his name and failed to find his original post by searching for multiple times. if you happen to find that post, please let me know, thanks.

I think the idea existed already for long, it's just that it needs "commitment" just like the guy said, who gave me the the guidance before I started SBEMU. And that's probably why for years it didn't exist. but SOME PROGRAMMERS SURELY KNEW HOW TO IMPLEMENT IT.
I am just happen to be the one who really want to make it real, that's all. It's all just about my dream for years and good memories those DOS games brought to my childhood.

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 2051 of 2054, by eM-!3

User metadata
Rank Newbie
Rank
Newbie
crazii wrote on Today, 06:13:
Ha, it is of course "fake" because there is not real SB at all, "emulation" is "fake" in some way. and also "useless" if you use […]
Show full quote
DarthSun wrote on Yesterday, 18:28:

This is a monumental achievement—something I couldn't have possibly predicted ten years ago. On behalf of all retro enthusiasts: a huge, massive thank you!!!

Ha, it is of course "fake" because there is not real SB at all, "emulation" is "fake" in some way. and also "useless" if you use DOSBox or other EMU/VM, not on bare metal DOS.
That's just different points of views. But if the "fake" means the whole emulation is fake, then there's serious misunderstandings.

SBEMU is not that "professional". When I started SBEMU, there are some initial boring testing & experiments, which takes very much time. It was also because I was enjoying using RHIDE for retro coding, it was fun, bringing me god good memories on using Torubo/Borland C but it is much less inconvenient for "real coding". And after It works, I didn't bother to change the ugly testing code, because I treated it as a hobby project after all.

On the other hand, VDPMI is "more" professional compared to SBEMU, if it is not unprofessional at all. It is written from scratch (some initial code from USBDDOS but that part of code used by VDPMI was written from scratch by me too), using pure 32bit C programming, with trick & hacks and a little of ASM code. it's more like coding in modern C (or C99 that Openwatcom has).

BTW, the idea of using MPXPlay+DPMI+QEMM is NOT from me; the credit should be given to a very experienced DOS user in VOGONS forum who guide me to the right direction. Unfortunately I forgot his name and failed to find his original post by searching for multiple times. if you happen to find that post, please let me know, thanks.

I think the idea existed already for long, it's just that it needs "commitment" just like the guy said, who gave me the the guidance before I started SBEMU. And that's probably why for years it didn't exist. but SOME PROGRAMMERS SURELY KNEW HOW TO IMPLEMENT IT.
I am just happen to be the one who really want to make it real, that's all. It's all just about my dream for years and good memories those DOS games brought to my childhood.

Some people have interest in retro things only when they are strictly from the MS-DOS era: both hardware and software. Some people are happy with full emulation like DosBox. There is a huge middle ground with SBEMU and VDPMI inside of it.

I didn't try VDPMI yet but overall this project is the greatest single thing to come out for DOS in this century, even knowing that it's based on already working solution from MPXPlay. Great that you still want to make it even better than it already is. Yeah, for sure we will see now rise in AI projects and some of them may become great. Good times because there wasn't much happening in DOS world for years.

Reply 2052 of 2054, by ockiller

User metadata
Rank Newbie
Rank
Newbie

I join the thanks train. I agree that it's the biggest breakthrough for DOS bare metal compatibility, where previously having a fully functional ISA slot was kind of mandatory. So we had to rely on aging, dubiously reliable (capacitor plague, ...), and more and more collectable and expensive hardware. Even with the dISAppointment project, the story ends with Intel Haswell generation. Removing this bottleneck makes your current and very modern Zen 5 / Blackwell rig totally viable for native DOS gaming. Having a single box that does everything is not only practical, it's free! And limiting emulation as much as possible has this satisfactory feeling of using the hardware at its best. Duke 3D in 1600x1200 at 500 fps (lol) is the luxury we dreamed of 30 years ago and it finally happened.

The ONLY downside of emulating audio, or any piece of hardware, is that for speed sensitive games, you can't reduce CPU performance to those _86 levels or below, you need some horsepower and it's not compatible even with games like Descent (unpatched). I wonder if it would be possible to slow down only some code, like a way to know that the currently executed code is from the game or from SBEMU/VDPMI (which wouldn't be slowed down)?

Reply 2053 of 2054, by DarthSun

User metadata
Rank Member
Rank
Member
ockiller wrote on Today, 12:05:

I join the thanks train. I agree that it's the biggest breakthrough for DOS bare metal compatibility, where previously having a fully functional ISA slot was kind of mandatory. So we had to rely on aging, dubiously reliable (capacitor plague, ...), and more and more collectable and expensive hardware. Even with the dISAppointment project, the story ends with Intel Haswell generation. Removing this bottleneck makes your current and very modern Zen 5 / Blackwell rig totally viable for native DOS gaming. Having a single box that does everything is not only practical, it's free! And limiting emulation as much as possible has this satisfactory feeling of using the hardware at its best. Duke 3D in 1600x1200 at 500 fps (lol) is the luxury we dreamed of 30 years ago and it finally happened.

The ONLY downside of emulating audio, or any piece of hardware, is that for speed sensitive games, you can't reduce CPU performance to those _86 levels or below, you need some horsepower and it's not compatible even with games like Descent (unpatched). I wonder if it would be possible to slow down only some code, like a way to know that the currently executed code is from the game or from SBEMU/VDPMI (which wouldn't be slowed down)?

I think it’s quite feasible to fine-tune the processing power—leaving enough "horsepower" for SBEmu while ensuring the game doesn't run too fast. You can use CPUSpd on newer machines, and Throttle on older ones. Personally, I prefer CPUSpd; I use it when running the SBEmu/VSBHDA/VSBHDASF drivers on semi-modern hardware.

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 2054 of 2054, by RayeR

User metadata
Rank Oldbie
Rank
Oldbie

I think that idea of porting Linux drivers to DOS was quite old and more people though about it. I's quite a long time when MPXlay born and brought modern soundcards support to old DOS. I made a HW MP3 player based on a Pentium1 DOS machine with SB Live that runs DOS and MPXlay http://rayer.g6.cz/mpxplay/mpxplay.htm (now can be replaced with a tiny box like RPi with some USB DAC, wifi, etc. but it was a fun project that time)

Also port trapping and SB emulation is nothing new. Windows 9x already do this, NTVDM too but not so well. Then somebody wrote VDMsound... but nothing for pure DOS. So it was quite logical to combine MPXlay realHW soundcard drivers that was already ported to DOS and glue with port trapping logic and add some other emulations from Dosbox or other emulators. Sure this is a lot of low-level programming that require a lot of knowledges, free time and patience. As we see in real life we don't live in unified QEMU world but every piece of our HW is original (regardless that manufacturers and developers should obey some rules and specs - nothing is perfect) that introduces various bugs and quirks that had to be tested, understand and fixed...

>ockiller
Yes, CPUSPD is the most advanced CPU tunning tool for modern HW from other Vogons member. If you don't know you definitely have to try it (multiplier, clock modulation, cache control, multi-core CPU aware...).

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