VOGONS


First post, by JazeFox

User metadata
Rank Member
Rank
Member

Hi,

First of all, this is a long post, including photos, pinouts, oscilloscope measurements, facts and explanations. So if you are interested, take some time to read it 😀

Why I titled this post "All the truth about FM in ALS100 Plus+ cards?

After about 25 years of confusing info, opinions of all flavours and so, I couldn't understand some things about these ALS100 Plus+ cards... the weird DIP20 chips often present in some variants WITHOUT IDE header, the SOP24 chip footprints (for YAMAHA OPL3 chips or clones like LS262, FT6116, LS-212...) with almost all pins matching the DIP20 footprint near or over it, some cards having 2 DIP20 LS245 chips... (for what???)... also the fact that EVERY ALS100+ card has, at least, one of these: 1) a DIP20 "LS245" or "RTA1000" chip, or 2) a SOP24 known OPL3 clone like the ones mentioned earlier.

And the fact that (even though some people deny it) FM sound in ALS100+ cards is very good (sounds like the authentic Yamaha chip). Yes, I know the bad quality of the cheap cards, with bad quality caps, bad quality amp ICs, filterig, etc, make the sound to be worse, even very bad in some cases, but anyway, FM sounds OK...

Well, finally I decided to uncover all the truth about all of this, and made a lot of tests, unsoldered and soldered chips, made measurements... and, altough it may seem unusual, I'll start with the main conclusions, and then the tests and explanations:

Conclusions:
____________

  1. The "LS245" and "RTA1000" DIP20 chips ARE in fact Yamaha OPL3 clones. This is a FACT, and it's proven. More on this later. The LS245 analyzed here is NOT a regular known 74LS245 "octal bus transceiver". (Well, if the board has 2 or more of these, and doesn't have a SOP24 IC, then one of the LS245 is fake 😉)
  2. The ALS100 Plus+ chips DO NOT HAVE an internal FM implementation. Avance Logic CHEATED on the documentation.
  3. These clone chips, don't carry the "SMPAC" signal needed for the YAC512 2nd channel to output stereo (ALS100+ chip does this job)
  4. The final conclusion is, the ALS100 Plus+ chip should be called "ALS100 Minus-" chip, because it's the same as the ALS100 but without high DMA selection, only 0, 1 and 3 are available for HDMA. Anyway it's capable of doing 16-bit audio with low DMAs using techniques like the Creative ViBRA16XV does, so it's still a good card.

Investigation:
_____________

Good, let's start with the first clues about the 1st point.

Let's see one of my ALS100+ cards (untouched):

1-ALS100p-unmodified.jpg

See the "LS245" labeled chip? Okay, let's remove it:

2-ALS100p-LS245-removed.jpg

I followed (and tested with multimeter) all the traces between DIP20 and SOP24 footprints. They almost match, 4 pins difference, logically. More on this later, keep reading.

Did the same with this card (3D Melody MF1000 is a re-labeled ALS100 Plus+ IC), and got the same result:

3-3-D-Melody-card.jpg

Okay, now, as shown in ALS100+/ALS200 documentation, this chip has internal FM emulation (nope, cheaters!!). To enable it, without external OPL3 chip mounted, ALS100+ pin 58 (/FMCS signal) must be connected to GND via 10K pulldown resistor. In my card it's R67. I did not take a photo with the resistor mounted, but i mounted it and tested. Check R67 location in previous photos.
Tried the card without chip and with R67 10K resistor (supposedly to enable internal FM sound). Ooooops!! No FM sound!! Suspicious...

Next let's put a socket (just in case I want to revert all of this) on the DIP20 footprint and let's solder a genuine Yamaha YMF262 chip on the first ALS100+ card:

4-ALS100p-real-YMF262.jpg

Plugged it on my 486 machine and it worked, as expected (well, some cards have SOP24 clones working, so no surprise here). FM sound in games is OK, stereo in Warcraft 2 OK, etc...
Note for later: check the first photo and take note of pin 20 of the SOP24 footprint. It goes nowhere, this is important for something we'll se later.

Now, I write down the guessed pin assignation for the suspicious DIP20 chip(s) ("fake LS245" and RTA1000). The resulting pinout is:

5-Pinout-Fake-LS245.jpg

6-Photo-LS245-chip.jpg

Let's check the (guessed for now) differences:

- /IRQ pin is removed (usually not used)
- TEST pin is removed (usually not used)
- DOCD pin is removed (for 4 channel operation, usually not used by known sound cards)
- SMPAC pin is removed (This is important for stereo, but it's not present in this chip. More on this later...)

Now comes the interesting part... The real test! To mount one of these DIP20 chips on a different sound card, one with a genuine YMF262 removed.
I selected this Aztech non-PnP card for testing. See the YMF262 and YAC512 DAC there... (unmodified card for now):

7-Aztech-unmodified.jpg

Good, now, after a quick and dirty solder job, this is the result:

8-Aztech-DIP20-mod.jpg

Yes, I know, It's like frankenstein, but it does the job.

Well, the hour arrived... Card plugged on my 486, run Warcraft 2 and.... nope, silence and sometimes random noise....
BUT... Now remember the missing "SMPAC" signal on this chips I mentioned earlier? Yep! YAC512 DAC requires both SMP1 and SMP2 inputs to be fed in order to output sound to correct channels. Then I did a quick test, bridged SMP1 and SMP2. YES! FM Sound is working, BUT, no stereo. It makes sense.

But then... How does the ALS100 Plus+ to have stereo working?? The SMPAC (A and C channel sample sync) signal is missing...

Let's check YAC512 DAC pinout and then the YMF262 signals timings:

9-yac512-pinout.jpg

10-Yamaha-signals-timing.jpg

Yes, following the graph, I cearly see the SMPAC signal can be obtained from SMBD, only shifting right by 18 (SY) clock cycles! So, I think this operation is done in the ALS100+ chip itself, and one pin can be removed without issues.

Let's check it in the practice. After some measurements with the oscilloscope, we can see here the SY clock and the SMPBD output from the "LS245" chip:

11-osc-BD-SY.png

Good, it's the same as the Yamaha's graph we saw before.

Now we only have one task left, to generate the SMPAC signal and connect it to YAC512/s SMP1 pin. How?
After thinking about different approaches I checked the material I had available at home. I found the solution (only for testing, because it's not practical for a daily use, of course): I have to shift right SMPBD singal by 18 clock cycles, right, I have some 74ALS299 ICs here (they are universal 8-bit shift registers, they can work with serial input and serial output), so now we have 16 clock cycles, 2 remaining... got it, let's add a 74LS74 (dual D-type Flip-flop). We'll use both FFs present in the chip to delay it 2 more clock cycles.

12-74-LS299-74-LS74.jpg

After some cabling on a protoboard, let's connect everything:

13-Aztech-protoboard-connections.jpg

Good, now let's connect also the output from the 2X 74LS299 + 74LS74 to the oscilloscope, channel 2:

14-osc-generated-AC.png

Yes! It looks good...

It's the moment to connect the new generated signal to YAC512's SMP1 pin. With everything connected, I run Warcraft 2... Boom! We have stereo! 😁

It's demonstrated, the ALS100+ does a similar operation to generate the missing singal and reduce the total pin amount of the OPL3 clone chips from 24 to 20 maintaining functionality.

--

Final thoughts:

One observation about DIP20 "LS245" and "RTA1000" marked chips, I checked all cads I could with these markings, and also the ones with SOP24 chips (mainly LS262.B marked ones) have one more line below marked "7xxxxx1 xxx" or "6xxxxx1 xxx" (x are random numbers/letters).

About next ALS chip, the ALS120, yes, this is the first ALS chip with integrated FM sound. In fact, ALS120 does not support external OPL3, no pins for this in the datasheet and there is no card with ALS120 chip with an external FM IC. The sound of the integrated FM is not bad, so, altough it's difficult to say, maybe Avance Logic succeded integrating the OPL3 clone silicon in the same ALS chip. Maybe we'll never know.

And one more conclusion:

- I think Avance Logic didn't want to pay licenses to Yamaha and cheated with the documentation, letting us believe the ALS100 Plus+ chip had internal FM emulation with the help of an evil but smart practice: doing an imitation of a well known IC, in the same package and label: a fake "LS245"... all to hide the truth, until now 😀

After reading this post, you can check your ALS100 Plus+ cards, and also you can do a search in google images, ebay... you'll see that 100% of these cards have in fact a clone OPL3 chip. So if you have one, you don't have bad FM sound after all 😀

Thanks for reading!!! (And sorry if I made any mistake in the process...)

Reply 1 of 40, by mkarcher

User metadata
Rank l33t
Rank
l33t

Great analysis!

JazeFox wrote on 2020-06-20, 08:51:

[*] The ALS100 Plus+ chips DO NOT HAVE an internal FM implementation. Avance Logic CHEATED on the documentation.

Okay, now, as shown in ALS100+/ALS200 documentation, this chip has internal FM emulation (nope, cheaters!!). To enable it, without external OPL3 chip mounted, ALS100+ pin 58 (/FMCS signal) must be connected to GND via 10K pulldown resistor. In my card it's R67. I did not take a photo with the resistor mounted, but i mounted it and tested. Check R67 location in previous photos.
Tried the card without chip and with R67 10K resistor (supposedly to enable internal FM sound). Ooooops!! No FM sound!! Suspicious...

Maybe ALS (intentionally?) used ambigous terms here. "FM emulation" might just mean that the ALS100+ chips fakes the presence of an OPL3 chip to software (by implementing a fake status register and the the two timers), so that software that probes for an OPL2/OPL3 detects its presence, although it does not produce any sound. Did you try whether pulling down /FMCS on your card makes software detect an OPL3 chip?

Reply 3 of 40, by Joseph_Joestar

User metadata
Rank l33t
Rank
l33t

Kudos on all the research you put into this!

It's interesting to see the stunts that some companies pulled back in the day to avoid paying Yamaha for an OPL3 license.

PC#1: Pentium MMX 166 / Soyo SY-5BT / S3 Trio64V+ / Voodoo1 / YMF719 / AWE64 Gold / SC-155
PC#2: AthlonXP 2100+ / ECS K7VTA3 / Voodoo3 / Audigy2 / Vortex2
PC#3: Athlon64 3400+ / Asus K8V-MX / 5900XT / Audigy2
PC#4: i5-3570K / MSI Z77A-G43 / GTX 970 / X-Fi

Reply 5 of 40, by The Serpent Rider

User metadata
Rank l33t++
Rank
l33t++

Well, I trust my ears, more or less, and always thought it was pretty much identical to OPL3.

I must be some kind of standard: the anonymous gangbanger of the 21st century.

Reply 6 of 40, by Oetker

User metadata
Rank Oldbie
Rank
Oldbie

Just awesome. Finally real facts instead of people saying ALS+ sounds worse than real OPL or that it sounds 'close'. The DIP package on the chip really had me thinking it was some aux part required for the built-in OPL to work.

Reply 7 of 40, by keropi

User metadata
Rank l33t++
Rank
l33t++
Oetker wrote on 2020-06-20, 15:27:

Just awesome. Finally real facts instead of people saying ALS+ sounds worse than real OPL or that it sounds 'close'. The DIP package on the chip really had me thinking it was some aux part required for the built-in OPL to work.

still the fact that they use a hardware clone of OPL3 does not mean that it sounds identical to the original one
the clone is as good as the designer no matter if it can replace a real OPL3 that still means nothing - maybe if someone records some complex FM music that is known to sound different in clones we can reach a safest conclusion

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 8 of 40, by Tiido

User metadata
Rank l33t
Rank
l33t

Hahaha, this is really great ~
Very nice work !

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜

Reply 9 of 40, by Oetker

User metadata
Rank Oldbie
Rank
Oldbie
keropi wrote on 2020-06-20, 16:10:
Oetker wrote on 2020-06-20, 15:27:

Just awesome. Finally real facts instead of people saying ALS+ sounds worse than real OPL or that it sounds 'close'. The DIP package on the chip really had me thinking it was some aux part required for the built-in OPL to work.

still the fact that they use a hardware clone of OPL3 does not mean that it sounds identical to the original one
the clone is as good as the designer no matter if it can replace a real OPL3 that still means nothing - maybe if someone records some complex FM music that is known to sound different in clones we can reach a safest conclusion

That's true, it would be interesting to have a comparison of this chip, the more common clones, and internal clones like the one in the Azt2030.

Reply 11 of 40, by Joseph_Joestar

User metadata
Rank l33t
Rank
l33t
dionb wrote on 2020-06-22, 06:05:

Next step would be for someone to compare the output of this clearly not 100% exact clone to a real OPL3...

This test might be a good place to start: The way to detect OPL3 clone

For the record, my ALS100 (non plus) with the FT6116-100 chip (which is a 1:1 copy of the YMF262-M) passes that test. I'm curious if this ALS100+ would succeed as well.

PC#1: Pentium MMX 166 / Soyo SY-5BT / S3 Trio64V+ / Voodoo1 / YMF719 / AWE64 Gold / SC-155
PC#2: AthlonXP 2100+ / ECS K7VTA3 / Voodoo3 / Audigy2 / Vortex2
PC#3: Athlon64 3400+ / Asus K8V-MX / 5900XT / Audigy2
PC#4: i5-3570K / MSI Z77A-G43 / GTX 970 / X-Fi

Reply 12 of 40, by dionb

User metadata
Rank l33t++
Rank
l33t++
Joseph_Joestar wrote on 2020-06-22, 06:59:
dionb wrote on 2020-06-22, 06:05:

Next step would be for someone to compare the output of this clearly not 100% exact clone to a real OPL3...

This test might be a good place to start: The way to detect OPL3 clone

For the record, my ALS100 (non plus) with the FT6116-100 chip (which is a 1:1 copy of the YMF262-M) passes that test. I'm curious if this ALS100+ would succeed as well.

Looks like it:

ALS100Plus - Pass

Then again, I see passes on that list from chips known to sound at least subtly different (ESFM), so the test shows similar behaviour, not necessarily identical sound.

Reply 13 of 40, by appiah4

User metadata
Rank l33t++
Rank
l33t++

Wow, so interesting. So the LS245 on this card is also not an IDE bus transceiver but an YMF clone? (In hindsight, why would it be? This card has no IDE headers!)

ASound-MA5-ASOUND-Gold.jpg

That's interesting. But I should have known! It's connected to the same pins as the ones that the LS262 YMF clone is connected to on this ALS007 card!

ASound-MA5-ASOUND-007.jpg

I dug through my ISA pile and see if I have any other LS245s on any other cards, but no - only ALS100+ cards have these. I turned down an offer for about a dozen of these a month ago for like a buck a piece.. *FACEPALM*

Also for reference, a real LS245 bus transceiver on an OPTi931 card that sounds nothing like real OPL3:

Typhoon-LCKMOSND931.jpg

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

Reply 16 of 40, by JazeFox

User metadata
Rank Member
Rank
Member
mkarcher wrote on 2020-06-20, 09:03:

Maybe ALS (intentionally?) used ambigous terms here. "FM emulation" might just mean that the ALS100+ chips fakes the presence of an OPL3 chip to software (by implementing a fake status register and the the two timers), so that software that probes for an OPL2/OPL3 detects its presence, although it does not produce any sound. Did you try whether pulling down /FMCS on your card makes software detect an OPL3 chip?

That's unlikely, but anyway I did not test it. I'll try some day. Thanks for the suggestion.

Action Replay wrote on 2020-06-23, 17:19:

Really interesting research JazeFox. Thank you.
By the way, how do you pronounce your username? Is it 'Jazzy Fox' or 'Jay Ze Fox' or 'Jays Fox'?

Well, It's more like the 2nd.

Oetker wrote on 2020-06-20, 16:46:

it would be interesting to have a comparison of this chip, the more common clones, and internal clones like the one in the Azt2030.

dionb wrote on 2020-06-22, 07:24:

Looks like it:

ALS100Plus - Pass

Then again, I see passes on that list from chips known to sound at least subtly different (ESFM), so the test shows similar behaviour, not necessarily identical sound.

A direct sound comparison from recordings would be for sure a great idea, and the thread @Joseph_Joestar mentioned is a good start The way to detect OPL3 clone

As most ALS cards from cheap manufacturers output a lot of noise, I wonder what will be the best method to record the cleanest sound possible...

Reply 17 of 40, by Bancho

User metadata
Rank Oldbie
Rank
Oldbie

Great work and really interesting! I have this ALS 100.

KvJRf97l.jpg

This has what appears to be a Motorola LS245 20 Pin chip on board. Is this an OPL clone?

2OqAqc8l.jpg

This Card also appears to have a QSound QX2130 QXpander chip onboard. From a quick look up this is a sound processor? Does this do some sort of effect processing?

ntr2RTPl.jpg

I have to say, for an ALS card, the sound output is really clean and not noisy at all. Also the bonus of the Crystal Wavetable has to make this quite a feature rich ALS card?

Reply 18 of 40, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Thanks for posting this! It's very informative. ^^

JazeFox wrote on 2020-06-23, 22:24:

As most ALS cards from cheap manufacturers output a lot of noise, I wonder what will be the best method to record the cleanest sound possible...

ALS120, ALS100 Plus audio fix ?

It's just a small temporary solution, though.. 😞

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 19 of 40, by mkarcher

User metadata
Rank l33t
Rank
l33t
Bancho wrote on 2020-06-27, 20:06:
This has what appears to be a Motorola LS245 20 Pin chip on board. Is this an OPL clone? […]
Show full quote

This has what appears to be a Motorola LS245 20 Pin chip on board. Is this an OPL clone?

2OqAqc8l.jpg

No, that one is the real 74LS245, an 8-bit buffer chip. You can be sure because 8 pins on one side of that chip are directly connected to the ISA data pins. That does not fit for the OPL clones, but is the usual application for a 74LS245 as ISA data buffer.