VOGONS


Reply 480 of 491, by 640K!enough

User metadata
Rank Oldbie
Rank
Oldbie
MJay99 wrote on 2022-03-28, 00:36:

@JazeFox: Is, or would it be possible, to use the Orpheus' /XOFi & /XOFe option with any CS423x card?

Depending on how you've connected the OPL3, it is likely possible. Whether JazeFox would want to allow those options for other designs is another matter, as it may cause confusion.

Currently, UNISOUND checks the on-card EEPROM to determine whether it is configuring an Orpheus, then acts accordingly. Assuming you've connected the external synth via the CS4237's SCS# pin, you still have a few options:

  1. Download the Orpheus EEPROM updater from the official Orpheus page, and flash that to your card. This should convince the current version of UNISOUND to process those options. See additional details below
  2. If your card's EISA ID is of the form CSC??37, as shown by UNISOUND, you can also download and try ORPHINIT from the Orpheus page. It only checks for a CS4237-based card, not specifically for an Orpheus.

Important Details

  • These suggestions apply to the CS4237 only; other chips in the series may have different behaviours/requirements not accounted for in current software.
  • Enabling an external FM synth connected via SCS# triggers a chip bug that results in the loss of PCM volume control in Sound Blaster compatibility mode.
  • If flashing the EEPROM: Depending on the capacity of the EEPROM on your card, you may need to comment the line that includes the firmware patch file, as some designs didn't have enough space for updated firmware.

Reply 481 of 491, by appiah4

User metadata
Rank l33t++
Rank
l33t++

I found out today that if I use UNISOUND to init an SB16 then the Win 3.x software (ie Wave Player, etc.) crash and lock up the PC; sometimes immediately sometimes when trying to play a sound.

I dont know what the official drivers do different but they do something different. Worth checking out?

PS. Could it be due to not having SET SOUND=C:\SB16 or something?

Retronautics: A digital gallery of my retro computers, hardware and projects.

Reply 482 of 491, by MJay99

User metadata
Rank Member
Rank
Member
640K!enough wrote on 2022-03-28, 04:51:

Depending on how you've connected the OPL3, it is likely possible. Whether JazeFox would want to allow those options for other designs is another matter, as it may cause confusion.

Thank you VERY much for the Orpheus hints and all the added information! I had actually thought about faking the name for a second, but didn't try that way yesterday (most of the evening was spent on finding an issue with the way the Wavetable and OPL mixing was implemented). The card had a 24LC04 at first, which I had swapped to a 24LC16 already to allow including the added firmware payload.

As much as I didn't have much time, I couldnt' stop myself from trying to simply change the device name in my pnp.ini right away to 'Orpheus' and as you suggested, unisound accepts it as an Orpheus now and is reportedly switching from the internal to the external FM. The internal one is working, but switching to the Yamaha OPL results in either silence or garbled output at the moment. Flashing the card back to my generic INI brings the external OPL back (albeit without an option to switch to the internal FM, unless I reflash it with the IFM flag). So, I guess, I'll have something to investigate tonight 😉 Chances are that some of my ini-settings are colliding with what unisound is expecting from an Orpheus, so I'll try flashing the orpheus-ini later this evening, too.

If @JazeFox could implement the /XOFi & /XOFe flags for the CS4237b cards (or some special generic Device Name, like e.g. CS4237B-OPL), it would still be my preferred choice to faking this card's name to something it shouldn't be allowed to carry 😉 I'm thinking there wouldn't be much harm.. unless reading up in unisound.txt, ususally noone would even see these options and per default, the card would come up with what's set in the eeprom. But, of course, I do know... this is probably a very rarely seen edge case (a CS4237B bundled with a true OPL), though it is a valid config, at least according to the datasheet.

And, who knows, maybe adding just these options to the generic CS4237B might also fix the issue I'm seeing - but that's something I'll try to figure out with some more poking tonight.

Reply 483 of 491, by aspiringnobody

User metadata
Rank Member
Rank
Member
appiah4 wrote on 2022-03-28, 10:48:

I found out today that if I use UNISOUND to init an SB16 then the Win 3.x software (ie Wave Player, etc.) crash and lock up the PC; sometimes immediately sometimes when trying to play a sound.

I dont know what the official drivers do different but they do something different. Worth checking out?

PS. Could it be due to not having SET SOUND=C:\SB16 or something?

I'm using the WSS SB driver for my ESS card that's been initialized by Unisound -- maybe you could use the WSS SB16 driver instead of the creative one?

Reply 484 of 491, by 640K!enough

User metadata
Rank Oldbie
Rank
Oldbie
MJay99 wrote on 2022-03-28, 11:49:

The internal one is working, but switching to the Yamaha OPL results in either silence or garbled output at the moment. Flashing the card back to my generic INI brings the external OPL back (albeit without an option to switch to the internal FM, unless I reflash it with the IFM flag).

Aside from your request to JazeFox, the remainder is rather unrelated to UNISOUND, so if you'd like to continue discussing the issue, I can try to provide a few more hints if you start a dedicated thread, which would make it easier for others who may want to follow in your footsteps to find. Alternatively, feel free to contact me privately. I have had enough exposure to the CS4237 at this point that I might be able to help you get it working as you'd like.

My final few hints in this thread:

  • The integrated Crystal FM implementation is "faster" (can tolerate shorter delays) than a real OPL3 (both '262 and '289), so this may be a source of problems. Try setting the 8-bit I/O recovery time to the maximum possible for testing, then back it off as possible/necessary.
  • Make sure you have the WTEN and SDD bits set in the hardware configuration section of the EEPROM. Do this carefully if your card has an on-board CD-ROM controller, as there could be problems.
  • Test with the SPS bit also set. Note that noise may be introduced via the digital input, depending on the design of the card, and what UNISOUND does with the mixer registers.

Reply 485 of 491, by MJay99

User metadata
Rank Member
Rank
Member
640K!enough wrote on 2022-03-28, 19:36:

I really want to thank you again for all the detailed hints - with that, I might even have isolated the issue in making unisound think it's configuring my non-orpheus CS4237B with an added YMF289 in unisound's Orpheus mode: If I am not totally wrong in my guess, it's setting exactly the opposite of the flags needed in my configuration (no SPS, WTEN, SDD). As for the reasoning behind this theory, we really better take this someplace else: Adding an external YMF289 to the CS4237B.

Reply 486 of 491, by perhenden

User metadata
Rank Member
Rank
Member

Ultrasound support - I've got a "STB Ultrasound" board. Could the PNP ids be added for that one as well? 😀
It uses the InterWave AM78C201KC chip.

The id is "ADV550a".

For more IDs, see
https://elixir.bootlin.com/linux/v5.17.4/sour … nterwave.c#L121

JazeFox wrote:

<ping>

I didn't manage myself to patch the unisound binary to use this id instead of 'GRV0001', for test purposes.
I'm available for testing a beta-version 😀

Reply 489 of 491, by appiah4

User metadata
Rank l33t++
Rank
l33t++
scroeffie wrote on 2022-05-15, 18:01:

how do i install this its a com file ? i have a awe32 ct3900 286

Reading the included README.TXT may be a good idea before asking this question.

Retronautics: A digital gallery of my retro computers, hardware and projects.

Reply 490 of 491, by GL1zdA

User metadata
Rank Oldbie
Rank
Oldbie
sprcorreia wrote on 2021-09-21, 23:55:

@JazeFox

Great tool, thanks! Any chance of future support for Opti 924 soundcards?

+1 for this one. Aside from dozens of budget cards, there are at least 2 decent cards using it: the miro miroSOUND PCM12 and PCM20, both integrating the Yamaha OPL4. I'm especially interested in the latter, since I own it.

getquake.gif | InfoWorld/PC Magazine Indices

Reply 491 of 491, by maxtherabbit

User metadata
Rank l33t
Rank
l33t

I discovered mixer support for the ALS007 seems to be only partially implemented. Master volume works but nothing else. Here's a link to mixer register descriptions for the card if you'd care to implement it in a future version. Thanks

https://www.just42.net/jwoithe/als007-notes.html