[Patch] Suggestion : add GUS MAX and Crystal soundcards
[Patch] Suggestion : add GUS MAX and Crystal soundcards
Hello,
first, as a warn, i'm no programmer, so don't blame me for what you will read below.
I think that PCem could add GUS MAX support as nearly everything is already emulated : a gus MAX is classic GUS with the addition of a CS4231 Codec (WSS).
I read the GUS SDK, a CS4231 tech sheet, compared with a real card and made small modifications to PCem : result is below as diff. My changes certainly breaks WSS but I don't have any software that could test it.
What is working : ultrinit (!), Cubic Player (but it shouldn't ) and classic GUS.
What is not working : everything else (Windows hangs at start, reading codec init register continously).
What it lacks : Line Input, CDROM support, GUI integration, ADPCM, dma pairing, full duplex ....
This thread is here to ask if GUS MAX and Crystal soundcard support is planned and, if not, if someone is willing to help me with the code
Thanks.
first, as a warn, i'm no programmer, so don't blame me for what you will read below.
I think that PCem could add GUS MAX support as nearly everything is already emulated : a gus MAX is classic GUS with the addition of a CS4231 Codec (WSS).
I read the GUS SDK, a CS4231 tech sheet, compared with a real card and made small modifications to PCem : result is below as diff. My changes certainly breaks WSS but I don't have any software that could test it.
What is working : ultrinit (!), Cubic Player (but it shouldn't ) and classic GUS.
What is not working : everything else (Windows hangs at start, reading codec init register continously).
What it lacks : Line Input, CDROM support, GUI integration, ADPCM, dma pairing, full duplex ....
This thread is here to ask if GUS MAX and Crystal soundcard support is planned and, if not, if someone is willing to help me with the code
Thanks.
Last edited by altheos on Mon 24 Jul, 2017 1:36 pm, edited 1 time in total.
Re: Suggestion : add GUS MAX and Crystal soundcards
CS4231's also involved with other WSS cards. The Monte Carlo mentioned in the readme is one such card with the same chip (but not yet emulated).
Re: Suggestion : add GUS MAX and Crystal soundcards
Just wondering... why do you like to have the Crystal Sound Card? Wasn't that a cheap Sound Blaster replacement?
Re: Suggestion : add GUS MAX and Crystal soundcards
It's part of an early attempt at standardizing general sound specifications (think AC'97 but in '93). 48khz (as opposed to SB16's 44khz) and insistence on real OPL3 (but not always) is one big part of it. Many games do support WSS directly, though WSS's sb compatibility with some cards' emulationTSRs are finicky and buggy and some don't even have DirectSound support
Re: Suggestion : add GUS MAX and Crystal soundcards
@omarsis :
cause it shouldn't be too hard to add as CS4231 is really close to the AD1848 that PCem already emulate (as part of WSS) and Crystal sound cards (4231/4232/4236) can be found on many boards.
cause it shouldn't be too hard to add as CS4231 is really close to the AD1848 that PCem already emulate (as part of WSS) and Crystal sound cards (4231/4232/4236) can be found on many boards.
Re: Suggestion : add GUS MAX and Crystal soundcards
So no one is interested in theses cards ?
I finally succeded in launching Win 3.1 with GUS MAX driver. But this leads to another problem as samples are playing in a continuous loop. I probably ovelooked some latches.
I finally succeded in launching Win 3.1 with GUS MAX driver. But this leads to another problem as samples are playing in a continuous loop. I probably ovelooked some latches.
Re: Suggestion : add GUS MAX and Crystal soundcards
Speaking for myself, new hardware is always welcome! I personaly don't think I'm going to use it, but if you want to submit it, I guess Sarah would be willing to apply italtheos wrote:So no one is interested in theses cards ?
I finally succeded in launching Win 3.1 with GUS MAX driver. But this leads to another problem as samples are playing in a continuous loop. I probably ovelooked some latches.
Re: Suggestion : add GUS MAX and Crystal soundcards
Indeed, this wouldn't hurt to have. :p
Re: Suggestion : add GUS MAX and Crystal soundcards
I've tried your patch earlier with Monte Carlo drivers on WSS and it did exactly this.altheos wrote:But this leads to another problem as samples are playing in a continuous loop. I probably ovelooked some latches.
Re: Suggestion : add GUS MAX and Crystal soundcards
Hello,
I fixed the sound loop and polished a little more the code.I focused on making the GUS MAX works. Analog Device and Crystal emulation are splitted for future expansion but right now it's not really usefull.
Patch needs testing so here it is : I need to find out how ADPCM 4bit works but I consider this patch as a WIP :recording, full duplex, CDROM controller (Sony, Mitsumi, Panasonic) and more are missing.
Please let me know results of your tests.
I fixed the sound loop and polished a little more the code.I focused on making the GUS MAX works. Analog Device and Crystal emulation are splitted for future expansion but right now it's not really usefull.
Patch needs testing so here it is : I need to find out how ADPCM 4bit works but I consider this patch as a WIP :recording, full duplex, CDROM controller (Sony, Mitsumi, Panasonic) and more are missing.
Please let me know results of your tests.
Re: [Patch] Suggestion : add GUS MAX and Crystal soundcards
Every time I try to install the GUS drivers the emulated PC hangs when the installation programs gets to the Sound Blaster emulation testing. How have you gotten past this? What drivers and what PC configuration are you using?
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: [Patch] Suggestion : add GUS MAX and Crystal soundcards
Just tried it with v4.11 and it works fine...
Re: [Patch] Suggestion : add GUS MAX and Crystal soundcards
Hmm... so it looks like the lock up has something to do with using 486DX2. I tried Pentium Overdrive and it finally got passed the screen.SarahWalker wrote:Just tried it with v4.11 and it works fine...
Re: [Patch] Suggestion : add GUS MAX and Crystal soundcards
Does someone knows a good ADPCM sound player on DOS/windows 3.1 ? I found samples but can't use them to make my tests.