First post, by ludicrous_peridot
- Rank
- Member
Appreciate there have been topics on VOGONS already on this family of chips, and on SPDIF in vintage systems, but I am still curious if anyone has achieved digital sound output with CMI chip in DOS?
I have a PCI card with chip marked CMI-8738/PCI-6ch-mx
Vendor ID: 13F6h (C-Media)
Device ID: 0111h, Revision ID: 16, Class: 04h (multimedia device)
It does allow SPDIF output in Windows 9x (with VxD drivers it shipped with) and Windows 10 (with driver package downloaded from VOGONS driver library) - for Windows games apparently, like Doom 95, Hexen 95 or Indy Desktop Adventures.
What I would like to understand is if output from line in/SPDIF in/FM and digital/"Wave" could be routed to SPDIF out in DOS, especially when using a chipset/motherboard that do not directly support DMA (like the one in my signature).
That said, digital output is not something that works for me with, say, Windows 9x DOS window. Moreover my manipulations with the chip via SMB.EXE and following the generally available data sheet, including attempts to replicate in DOS the state of registers I dumped while running in Windows did not work.
But since other forum members, like @kodi have spend significant time with the chip and have likely much better understanding of how it operates, could someone share some advice on it?
UPD:
After having read further through @kodi's DDMA thread about these chips and also some notes on linux kernel documentations site, I think I start to understand the problem better. According to sources, for this chip revisions 33 and 37 were known to output FM via SPDIF. In my case there's no obvious marking on the chip, but looking at the registers used by the driver to detect the version of the chip (also cross referencing with the data sheet), this is unlikely a version from 33 or 37 generation, as the driver assigns 55 - it's default for modern chip versions. The name of the chip on the datasheet with matching version register content described is "PCI-6C C3DX".
That said, this chip revision support FM pretty well (even if datasheet mentions "FM emulator" - so go figure if SBEMU's emulation could actually be preferred 😀 ) and the flag DAC2SPDO to mix in FM into SPDIF Out is there and is mentioned in the data sheet, but setting the flag results in distorted garbage sound, regardless of other settings.
So the summary is that this particular chip I have may be "too new" for what I am after, and same steps but taken with an older card may actually lead to success. Well, wish me luck 😀
GA-G41M-Combo G41/ICH7 - Core 2 Quad Q9550 - DDR3 1033 - Radeon RX570 - CMI-8738 (Trust SC-5250) - X3MB (Buran)
Beetle/M/i815+ICH2 - Celeron 566Mhz - Opti 924 (Typhoon Media)