VOGONS


First post, by NexGenDriven

User metadata
Rank Newbie
Rank
Newbie

Hello!

I am reverse engineering the S3 Sonic Vibes PCI sound card (Early PCI sound card looks like) for emulation in 86Box, I have currently gotten these features to work:

-Drivers install and work in Windows 98 and Xubuntu 6.10
-Wave playback works
-CD audio works

But currently I cannot work on the MIDI wavetable, even after reverse engineering the S3SV Win9x drivers and datasheet work, I have not been able to get the wavetable function of the card to work
As such if anyone has a real card please dump the DSP if you can, I made a tool for this purpose: https://github.com/NexGenDriven/svdump/releases (Source code is available and can be compiled)

Thanks
Nxdcaptain

image.png?ex=6ae9afbe&is=6ae85e3e&hm=6e7683eb8f459b7afb9f44fd13490f8fc72326a1bbb0fab7f76ff20981ce5c4b&=&format=png&quality=lossless

nxdcaptain | PET Deputy/PB MR
86Box contributor on GitHub

Reply 1 of 8, by NexGenDriven

User metadata
Rank Newbie
Rank
Newbie

Instructions for the svdump tool:

Install drivers in Win9X and obtain the 16bit I/O base hex from the device manager
Boot into a clean DOS boot disk without any drivers loaded and run the program
Provide the file dumps as an attachment or through a GitHub issue

nxdcaptain | PET Deputy/PB MR
86Box contributor on GitHub

Reply 2 of 8, by costa

User metadata
Rank Newbie
Rank
Newbie
NexGenDriven wrote on 2026-11-02, 18:52:

Hello!

I am reverse engineering the S3 Sonic Vibes PCI sound card (Early PCI sound card looks like) for emulation in 86Box

Hi, I have 2 such cards:

1) fully working one, I used extensively in the past, because it's one of the 1st, if not even the 1st cards to support "Distributed DMA" and so it's DDMA implementation is by-the-book, i.e. I used it as reference when test and play with DDMA support - wrote small tool that sets up the DDMA address, which is the only thing that needs to be setup in order to get it running in DDMA mode in DOS. unfortunately, at the moment that working card - I cannot find where is exactly in my storage room of retro-hardware.

2) however, I consider it very lucky that 3rd box I checked in my storage room, I found the 2nd such card I have, but it was never tested and I am not sure if it's working or not - I see some visible damage on the crystal metal can - it was bashed there and its metal can is deformed, but if the crystal is still working or not is still not clear. anyway, I will try it in the next days (at worst during the upcoming weekend) and if it's working then make you the dump you want.

Reply 3 of 8, by costa

User metadata
Rank Newbie
Rank
Newbie

ok, I made you the dumps (the files are attached) and here is the log:

C:\> svdump 0c60 svdsp
enhanced base C060, revision reg 0x15 -> 03
wrote svdsp_s0_a.bin
wrote svdsp_s0_b.bin
wrote svdsp_s1_a.bin
wrote svdsp_s1_b.bin
wrote svdsp_s2_a.bin
wrote svdsp_s2_b.bin

let me know if you need anything else tested on the real hardware...

Reply 4 of 8, by costa

User metadata
Rank Newbie
Rank
Newbie

hmm, I think you have bug in your code. so, I presume based on the log, 6 files has to be created, but DOS limits the file-name length to 8 characters. so, the file-name gets truncated and thus _A and _B suffix files become the same file and effectively the _B file always overwrites the _A file and hence why only 3 files are in my dumps.

so, I am going to make new dumps, but this time use "s3" prefix instead of "svdsp" that way limit the file-name length to 8 characters and hopefully workaround the problem in your tool not checking for the file-name length limit.

Reply 5 of 8, by NexGenDriven

User metadata
Rank Newbie
Rank
Newbie
costa wrote on 2026-11-04, 14:35:

hmm, I think you have bug in your code. so, I presume based on the log, 6 files has to be created, but DOS limits the file-name length to 8 characters. so, the file-name gets truncated and thus _A and _B suffix files become the same file and effectively the _B file always overwrites the _A file and hence why only 3 files are in my dumps.

so, I am going to make new dumps, but this time use "s3" prefix instead of "svdsp" that way limit the file-name length to 8 characters and hopefully workaround the problem in your tool not checking for the file-name length limit.

Alr, mb, thank you for the DSP dumps btw!

nxdcaptain | PET Deputy/PB MR
86Box contributor on GitHub

Reply 6 of 8, by costa

User metadata
Rank Newbie
Rank
Newbie

yep, the bug is confirmed - here is dump made with "sv" prefix instead of "svdsp" prefix and that way workaround the DOS file-name max length bug in the tool.

Reply 7 of 8, by NexGenDriven

User metadata
Rank Newbie
Rank
Newbie
costa wrote on 2026-11-04, 15:06:

yep, the bug is confirmed - here is dump made with "sv" prefix instead of "svdsp" prefix and that way workaround the DOS file-name max length bug in the tool.

Thank you once again, I'll attempt to get this card reverse engineered now once I can

nxdcaptain | PET Deputy/PB MR
86Box contributor on GitHub

Reply 8 of 8, by costa

User metadata
Rank Newbie
Rank
Newbie
NexGenDriven wrote on 2026-11-04, 15:11:

Thank you once again, I'll attempt to get this card reverse engineered now once I can

no problem at all and you're welcomed!

if you need any further tests on a real hardware - just let me know here. I am going to leave the card in one of my working retro PCs and thus it will be very easy and almost cost me no effort at all to do any further tests.

as I mentioned "S3 Sonic Vibes" is very interesting card to me - due to the fact it's very early PCI sound card and that it has such by-the-book DDMA implementation. definitely, because of that collection-worthy to have a physical card, but if you succeed to preserve it forever in 86Box emulation it will be even better.

BTW, I don't know if 86Box features support of DDMA in DOS at all or maybe your current emulation effort is focused on Windows support only, but in any way, it's good target for implementing DDMA in emulator as well.