Re: [Freedos-user] Re: Question: How to use CMedia CM8738 sound in DOS?

2005-03-06 Thread Ryan Underwood

Hi Eric,

You have a CMI8738 where the OPL cell actually works?  This is news to
me and my contact at C-media would very much like to know about this.
As far as we knew, only CMI8338 has a working OPL.  All the CMI8738
samples I can locate have OPL that either sounds silence, or the
output is all randomly mixed up and wrong.  Can you send me lspci
-vvv?  And maybe a little sample output from an Adlib prog? :)

BTW, this web page might help you:
http://www.it-he.org/sound.htm

Ryan

On Sun, Mar 06, 2005 at 10:03:15PM +0100, Eric Auer wrote:
> 
> Hi Nicholas, thanks for informing me that CMI sound chips suck.
> I agree with you on that by now :-). Lucho has sent me his drivers
> (initializers) for DOS, and my SB AWE32 diagnostics tool got happy
> after using them, even played sample sounds, but most games still
> only worked Adlib- or OPL3-wise. The "normal" DSP wave sound output
> with DMA still only sounded silence, or the games simply failed to
> detect the card at all. Whatever. Point for CMedia is that the Linux
> driver worked just fine, but for now, I switched back to ISA sound
> cards on my old PC again. If you know a PCI or onboard sound card
> which works REALLY good with DOS games, let us know ;-).
> 
> Otherwise I guess I would just get a really FAST PC as soon as I
> stop using ISA - then I can let all DOS games run in emulators, and
> use PLAIN DOS only for non-funny stuff or for mp3 (MPXPLAY has native
> CMedia and AC97 drivers built-in...).
> 
> Eric
> 
> PS: Okay, SOME games worked, but that had taken days to figure out.
> Not exactly what CMedia TELLS that their chip would offer compatibility-wise.
> 
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
> 

-- 
Ryan Underwood, <[EMAIL PROTECTED]>


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Re: Question: How to use CMedia CM8738 sound in DOS?

2005-03-06 Thread Eric Auer

Hi Nicholas, thanks for informing me that CMI sound chips suck.
I agree with you on that by now :-). Lucho has sent me his drivers
(initializers) for DOS, and my SB AWE32 diagnostics tool got happy
after using them, even played sample sounds, but most games still
only worked Adlib- or OPL3-wise. The "normal" DSP wave sound output
with DMA still only sounded silence, or the games simply failed to
detect the card at all. Whatever. Point for CMedia is that the Linux
driver worked just fine, but for now, I switched back to ISA sound
cards on my old PC again. If you know a PCI or onboard sound card
which works REALLY good with DOS games, let us know ;-).

Otherwise I guess I would just get a really FAST PC as soon as I
stop using ISA - then I can let all DOS games run in emulators, and
use PLAIN DOS only for non-funny stuff or for mp3 (MPXPLAY has native
CMedia and AC97 drivers built-in...).

Eric

PS: Okay, SOME games worked, but that had taken days to figure out.
Not exactly what CMedia TELLS that their chip would offer compatibility-wise.



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Question: How to use CMedia CM8738 sound in DOS?

2005-03-06 Thread Nicholas Basso
CMI chips suck balls.  That said, C-Media has a decent dos driver with the
new software versions they had, so... that might fix it, it might not.  It
requires a bit of info about your board...

- Original Message -
From: "Eric Auer" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, March 02, 2005 15:42
Subject: [Freedos-user] Question: How to use CMedia CM8738 sound in DOS?


>
> Hi, I am trying to make CMedia CM8738 onboard sound work in DOS.
> The drivers (downloaded them) just find the PCI device, read the
> IRQ and port base, check if PCI config register 4 "and 5 equals 5"
> (if busmaster is on), does a bit of i/o
> (base+4 = word e, base+18 = 3, base+16 = base+16 or 10,
> base+21 = 5, base+27 = 1, 224 = 80, 225 = VALUE, 224 = 81, 225 = 22)
> and hooks the PCI IRQ with a redirector to the selected NORMAL IRQ
> (e.g. PCI sound chip triggers IRQ 12, and the TSR simulates IRQ 5
> when that happens). The base is found in PCI config reg 10 (low byte
> of word ignored), the IRQ is in PCI config reg 3c. The device is
> found by scanning the PCI bus for a device by vendor 13f6 (CMedia, I
> assume) or 10b9 (in THAT case, the device ID is also checked to be
> in 100-200 range. However, in my case, the ID is 13f6:0111).
>
> Whatever. Everything nice and techy. The more clever DOS programs
> even "work" with selecting IRQ 12 directly without the TSR in RAM.
> But only Adlib and mixer REALLY work. When I try doing 8bit sound,
> I get silence, and for 16bit sound, using DMA 1 for both high and
> low DMA channel (hardcoded to the setaudio CMedia tool, it seems),
> I get noise. Very annoying.
>
> Am I doing something stupid here or is it just a KNOWN problem that
> C-Media sound chips have crappy DMA and therefore can only be used
> for boring Adlib sound in DOS?
>
> I think I have read of other people with C-Media on this list before,
> so maybe somebody can help me out here. Thanks!
>
> Eric
>
>
>
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user




---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user