VOGONS


The way to detect OPL3 clone

Topic actions

First post, by nukeykt

User metadata
Rank Member
Rank
Member

Today i wrote program that can help to detect OPL3 clone. This program plays simple 440hz sound. It sounds like simple sine wave on OPL3 and like FM sound on clones. This program relies on hardware bug that presents in the real OPL3 core. I've tested it on YMF718 and various emulators.
Report your results here. I'll add them to this list.
Results:
YMF718 - Pass
DOSBox Fast core - Fail
DOSBox Compat core - Fail
Nuked OPL3 v1.7.4 - Fail
Nuked OPL3 v1.8 - Pass
CMI8738 - Pass
YMF744 - Pass
ESS1938 - Pass
FM801 - Fail
ALS4000 - Pass
MediaGX CX5530 - Fail
OPTI82C931 - Fail
CS4236 - Fail
AD1868 - Fail
ALS100Plus - Pass
ALS300 - Pass
CT1747 - Pass
YMF262 - Pass
CQM - Fail
YM3812 - Pass
ES1370 - Fail
ES18178 - Pass
VirtualPC - Fail
VMware - Fail
Download:

Filename
oplclone.zip
File size
10.75 KiB
Downloads
95 downloads
File license
Fair use/fair dealing exception

Samples:
YMF718:

Filename
oplclone_ymf718.mp3
File size
243.96 KiB
Downloads
131 downloads
File license
Fair use/fair dealing exception

DOSBox fast:

Filename
oplclone_dosbox_fast.mp3
File size
156.53 KiB
Downloads
116 downloads
File license
Fair use/fair dealing exception
Last edited by nukeykt on 2018-03-22, 15:58. Edited 12 times in total.

Reply 3 of 33, by James-F

User metadata
Rank Oldbie
Rank
Oldbie

If you can/want/will, please provide a patch in .diff form when it's ready so it can be implemented in DOSBox ECE.

The current iteration of nukedOPL is already remarkably close to the original even in RTF measurements, I thought it was bit perfect already.


my important / useful posts are here

Reply 4 of 33, by Stretch

User metadata
Rank Member
Rank
Member

I cannot hear a difference between the 3 sound cards I recorded from. I ran the program under Windows 98 SE command.com

Attachments

  • Filename
    oplclone_ymf744.mp3
    File size
    268.13 KiB
    Downloads
    69 downloads
    File comment
    Yamaha YMF-744
    File license
    Fair use/fair dealing exception
  • Filename
    oplclone_ess1938.mp3
    File size
    261.22 KiB
    Downloads
    60 downloads
    File comment
    ESS Solo-1
    File license
    Fair use/fair dealing exception
  • Filename
    oplclone_cmi8738.mp3
    File size
    237.75 KiB
    Downloads
    67 downloads
    File comment
    CMI 8738
    File license
    Fair use/fair dealing exception

PC1: Win98SE - Via Apollo Pro Mobo - Pentium II 233 - 256 MB - Voodoo 3 1000 - Acoustic Edge PSC706
PC2: Win98SE - ASRock 775i65G R3.0 - Celeron 2.2 GHz - 2048 MB - Geforce FX5700 - Audigy 2 ZS

Reply 5 of 33, by nukeykt

User metadata
Rank Member
Rank
Member
Stretch wrote:

I cannot hear a difference between the 3 sound cards I recorded from. I ran the program under Windows 98 SE command.com

Interesting results. YMF744 has real OPL3 so no question here. CMI8738 is believed to have real OPL3 and this recording confirm it. But ESS1938 is surprising. Perhaps they were aware of this bug. Does this card use hardware FM synthesis, or FM is emulated in software?

Reply 6 of 33, by Stretch

User metadata
Rank Member
Rank
Member

nukeykt, ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.

Attachments

PC1: Win98SE - Via Apollo Pro Mobo - Pentium II 233 - 256 MB - Voodoo 3 1000 - Acoustic Edge PSC706
PC2: Win98SE - ASRock 775i65G R3.0 - Celeron 2.2 GHz - 2048 MB - Geforce FX5700 - Audigy 2 ZS

Reply 7 of 33, by nukeykt

User metadata
Rank Member
Rank
Member
Stretch wrote:

nukeykt, ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.

How accurate it is? Or it is just ESFM?

Reply 8 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t
Stretch wrote:

ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.

Is that 2K/XP w/ classic theme or Win9x ?
I owned a TT-Solo and FM sounded not so well with the built-in XP drivers.

"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 9 of 33, by Kamerat

User metadata
Rank Oldbie
Rank
Oldbie

Here's the ALS4000 PCI sound card, the FM synth should be the same as the ALS120. Sounds legit.

Edit: Also added the FM801-AU, doesn't come close to the real deal...

Attachments

  • Filename
    oplclone_fm801.mp3
    File size
    121.36 KiB
    Downloads
    57 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    oplclone_als4000.mp3
    File size
    162.18 KiB
    Downloads
    62 downloads
    File license
    Fair use/fair dealing exception

DOS Sound Blaster compatibility: PCI sound cards vs. PCI chipsets
YouTube channel

Reply 10 of 33, by nukeykt

User metadata
Rank Member
Rank
Member
Kamerat wrote:

Here's the ALS4000 PCI sound card, the FM synth should be the same as the ALS120. Sounds legit.

Edit: Also added the FM801-AU, doesn't come close to the real deal...

Added, thanks.

Reply 11 of 33, by SaxxonPike

User metadata
Rank Member
Rank
Member

Fascinating results! Thanks for all your hard work, nukeykt, and the rest of you for running these tests.

Sound device guides:
Sound Blaster
Aztech
OPL3-SA

Reply 12 of 33, by Stretch

User metadata
Rank Member
Rank
Member
Jo22 wrote:
Stretch wrote:

ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.

Is that 2K/XP w/ classic theme or Win9x ?
I owned a TT-Solo and FM sounded not so well with the built-in XP drivers.

Windows 98 SE. When I installed the unofficial service pack I picked the Win2k theme.

PC1: Win98SE - Via Apollo Pro Mobo - Pentium II 233 - 256 MB - Voodoo 3 1000 - Acoustic Edge PSC706
PC2: Win98SE - ASRock 775i65G R3.0 - Celeron 2.2 GHz - 2048 MB - Geforce FX5700 - Audigy 2 ZS

Reply 13 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

Here are some MP2 recordings for you. Opti 82C931 and MediaGX.

Stretch wrote:

Windows 98 SE. When I installed the unofficial service pack I picked the Win2k theme.

Ah, okay, thanks ! 😀
Edit: Quote fixed. 😅

Attachments

"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 14 of 33, by Kamerat

User metadata
Rank Oldbie
Rank
Oldbie
Jo22 wrote:

Here are some MP2 recordings for you. Opti 82C931 and MediaGX.

MediaGX sounded just like the SiS 7018. 😳 In Doom there's actually some noise. 🤣

DOS Sound Blaster compatibility: PCI sound cards vs. PCI chipsets
YouTube channel

Reply 15 of 33, by Stretch

User metadata
Rank Member
Rank
Member

I uploaded 2 more. Not sure why my recordings are so much lower than the others.

EDIT: I think we have to disregard these 2 because it seems my PC with ISA slots is not grounded properly.

Now the last major missing cards are YMF-262 and CQM.

Attachments

  • Filename
    oplclone_cs4236.mp3
    File size
    322.45 KiB
    Downloads
    41 downloads
    File comment
    Crystal CS4236
    File license
    Fair use/fair dealing exception
  • Filename
    oplclone_ad1868.mp3
    File size
    273.47 KiB
    Downloads
    28 downloads
    File comment
    Analog Devices 1868 from Aztech SC16-3d
    File license
    Fair use/fair dealing exception

PC1: Win98SE - Via Apollo Pro Mobo - Pentium II 233 - 256 MB - Voodoo 3 1000 - Acoustic Edge PSC706
PC2: Win98SE - ASRock 775i65G R3.0 - Celeron 2.2 GHz - 2048 MB - Geforce FX5700 - Audigy 2 ZS

Reply 16 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

One more recording. ALS100+, with built-in OPL3 (the chip can also be paired with an external YMF262). It's the "fixed" card used in this thread.

Kamerat wrote:

MediaGX sounded just like the SiS 7018. 😳 In Doom there's actually some noise. 🤣

Cool, thanks for letting me know! 😀
I guess this chipset was also used in Pentium III machines, since my dad's "year 2000" PC had a SB16 setting in BIOS.
https://en.wikipedia.org/wiki/SiS_630/730

Attachments

"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 17 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

And another one, again. ALS300 w/ built-in OPL3 core..

Attachments

  • Filename
    oplclone_als300.mp3
    File size
    437.38 KiB
    Downloads
    38 downloads
    File license
    Fair use/fair dealing exception

"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 18 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

Creative "OPL", CT1747..

Attachments

"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//