VOGONS


The way to detect OPL3 clone

Topic actions

Reply 20 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

You're welcome, it has been a privilege. :)
Edit: I've just found an ES1370 in the garage and so I made an effort to test a few more cards.
I've also tested CQM (CT3620/SB32) and YMF-262 (PAS16), as suggested by Stretch.
Hope that's okay. I'm out of odd sound cards for now.

Attachments

  • Filename
    oplsilicon_ymf262.mp3
    File size
    294.64 KiB
    Downloads
    44 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    oplclone_ct1749_cqm.mp3
    File size
    300.76 KiB
    Downloads
    34 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    oplsilicon_ym3812.mp3
    File size
    293.63 KiB
    Downloads
    33 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    oplclone_es1370.mp3
    File size
    293.63 KiB
    Downloads
    62 downloads
    File comment
    Creative/Ensoniq ES1370 (SB PCI 64, AudioPCI 3000);
    features an OPL3 parody (provided via TSR)
    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 22 of 33, by datajake1999

User metadata
Rank Newbie
Rank
Newbie

I have a friend who has a Crystal sound card on there Windows 98 machine, and he ran the program on the machine in dos mode, and it turns out the card has a clone. I am not sure of the exact model of the card, but I remember it is a cs42 something.
Edit: My friend didn't make a recording because he didn't have a patch cable at the time.

Reply 23 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

Thanks a lot for your reply, datajake1999!
When you said Windows 98 machine, I got a flashback and remembered my Armada laptop.
- It is running Win98SE and I totally forgot it also has an internal AudioDrive.

@nukeykt No problem, I'm happy to support this project. ^_^
I also wonder about the other Yamahas, too. OPL1, OPNA and OPN2 (YM2612) in particular.
The OPN2 was often considered the Sega Genesis' counterpart to the OPL3, or so I heard.

Attachments

  • Filename
    oplclone_es1878.mp3
    File size
    285.47 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 24 of 33, by nukeykt

User metadata
Rank Member
Rank
Member

OPN2 has this bug too.(YMF276 variant at least)
Here's my test code:

  for(int i = 0; i < 0x200; i++)
{
writereg(i,0);
}
writereg(0x34,0x03);
writereg(0x3c,0x01);
writereg(0x44,0x0f);
writereg(0x4c,0x06);
writereg(0x5c,0x02);
writereg(0x64,0x00);
writereg(0x6c,0x00);
writereg(0x74,0x00);
writereg(0x7c,0x00);
writereg(0x84,0x00);
writereg(0x8c,0x00);
writereg(0xa4,0x24);
writereg(0xa0,0x0e);
writereg(0xb0,0x00);
writereg(0xb4,0xc0);
writereg(0x54,0x00);
writereg(0x28,0xc0);
delay(1);
writereg(0x54,0x1f);

EDIT: Tested both YM2612 and YM3438. These chips also have this bug.

Attachments

  • Filename
    opn2bug_ym3438.mp3
    File size
    317.29 KiB
    Downloads
    26 downloads
    File comment
    YM3438
    File license
    Fair use/fair dealing exception
  • Filename
    opn2bug_ym2612.mp3
    File size
    202.88 KiB
    Downloads
    22 downloads
    File comment
    YM2612
    File license
    Fair use/fair dealing exception
  • Filename
    opn2bug.mp3
    File size
    308.27 KiB
    Downloads
    21 downloads
    File comment
    YMF276
    File license
    Fair use/fair dealing exception

Reply 25 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

Wow, thank you very much for testing! 😁

"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 29 of 33, by Stojke

User metadata
Rank l33t
Rank
l33t

Sorry to interrupt, but what kind of an OPL does an CMI8738 have (Specs)? Is it usable under DOS, are there modern Windows OPL players that suport it (Theres an PCIE version of CMI8738-MX chip)?

Note | LLSID | "Big boobs are important!"

Reply 30 of 33, by betamax80

User metadata
Rank Newbie
Rank
Newbie

Hmm the 8738 did have DOS and 9x drivers back in the day. I've got hold of the older files (I call it the build 639 hiatus, as they stayed on that build for years until they started doing updates and the PCIe budget variants) - I've done an upload on vogonsdrivers including the DOS installer and the 9x/2k/earlier XP drivers.

Reply 31 of 33, by Jo22

User metadata
Rank l33t
Rank
l33t

Hmm the 8738 did have DOS and 9x drivers back in the day.

There were some DOS drivers for CMI8x38, uploaded by tikbalang..
The thread is over here at Re: Sound Blaster 16 Clones
Personally, I also wrote something little about CMI cards a long time ago (link).
I don't know if it's still useful, though, since it was never finished.

"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 32 of 33, by datajake1999

User metadata
Rank Newbie
Rank
Newbie

I modified oplclone to write to my CMI8738 at address 0xE050 and use inpout32.dll, so I could test it for myself. My CMI8738 produced a sine wave, so that tells me it has a real OPL3, or at the very least a very accurate clone.
I thaught I would post my modified program here, if anyone is interested.
Edit: I added a recording of my CMI8738.
https://drive.google.com/open?id=1xukPpsNcUKK … w5mHu-0qkoH7RvK
Edit 2: You can now set the fm port that the program looks at with the OPL3PORT environment variable. If this variable isn't set the program looks at port 0x388.

Attachments

  • Filename
    oplclone_inpout32.zip
    File size
    56.84 KiB
    Downloads
    10 downloads
    File license
    Fair use/fair dealing exception

Reply 33 of 33, by datajake1999

User metadata
Rank Newbie
Rank
Newbie

I just tested the Opal and Java OPL3 emulators which can be found at the following links.
https://github.com/datajake1999/OPL3EMU/tree/ … ter/Driver/opal
https://github.com/datajake1999/OPL3EMU/tree/ … er/Driver/zdopl

Attachments

  • Filename
    oplclone_opal.mp3
    File size
    392.81 KiB
    Downloads
    13 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    oplclone_java.mp3
    File size
    392.81 KiB
    Downloads
    14 downloads
    File license
    Fair use/fair dealing exception