FBNeo icon indicating copy to clipboard operation
FBNeo copied to clipboard

YM2612 Nuked Driver Implementation possible?

Open Posey999 opened this issue 1 year ago • 12 comments

Rules and recommendations

  • don't request support for currently unsupported hardware (arcade boards, consoles and computers)
  • try to provide as much information as possible (screenshot, savestate, platform, settings, ...)
  • make sure it happens with our latest official build from https://github.com/finalburnneo/FBNeo/releases/tag/latest
  • any issue on derivated projects that doesn't happen with our latest official build must be reported to that derivated project's maintainers instead

so, the current Mame ym2612 sound Driver Implementation is Out of Date and isn't anywhere near as good as GenGXPlus's Modern Nuked Driver, i am wondering if someone would be so kind as to express their technical code wizardry and add Nuked Support for Yamaha OPN2 Emulation

on another note, Nuked YM2612 mode plus a Low pass Filter of 55% is about 99.9% accurate to the sound of a Real Model 1 Genesis, and it capable of correctly playing back Metal Squad from Thunder Force 4

Nuked Driver Implementation in Gen Plus GX (https://github.com/nukeykt/Genesis-Plus-GX)

Nuked Driver Source Code (https://github.com/nukeykt/Nuked-OPN2)

Posey999 avatar Feb 18 '24 17:02 Posey999

https://github.com/finalburnneo/FBNeo/assets/54924151/ee7088f7-c6be-49c7-b6c5-d382f050ed9a

this is the current implementation of FB Neo's Mame driver on the latest as of today

Posey999 avatar Feb 18 '24 19:02 Posey999

https://youtu.be/ylq90xrdDrI?t=169

here is Real Hardware using a Timestamp

Posey999 avatar Feb 18 '24 19:02 Posey999

https://github.com/finalburnneo/FBNeo/assets/54924151/d4fc29e6-dde6-4f38-b3bb-e78aaca2133a

here is Genesis GX Plus using the Nuked Driver with a 55% Low Pass filter any discrepancies found in the video are not the Nuked Drivers Fault, it is an Older Build of Genesis GX Plus, with a Z80 Timing bug, will test latest version, and then update

Posey999 avatar Feb 18 '24 19:02 Posey999

here is an updated version of the audio

https://github.com/finalburnneo/FBNeo/assets/54924151/45b905fb-51e3-4311-b932-2b4f9d1bd63c

Posey999 avatar Feb 18 '24 19:02 Posey999

yes, its a great idea

dinkc64 avatar Feb 19 '24 15:02 dinkc64

well, looking into this, I really don't know what to port, maybe you can help? the nuked driver in gensplusgx seems a bit different than just the nuked driver? what one do you want - what one is the best/most preferred and why?

best regards,

  • dink

dinkc64 avatar Feb 28 '24 05:02 dinkc64

Looks like the version of ym3438.c in the genplusgx repo is a tad older than the one in the library repo (header says 1.0.8 vs 1.0.12). I suppose the newer version is the preferred one ? Maybe we should ask more information from its author @nukeykt ?

barbudreadmon avatar Feb 28 '24 14:02 barbudreadmon

yes, good idea :)

dinkc64 avatar Feb 28 '24 16:02 dinkc64

Hi @nukeykt, We want to add your nice & impressive FM core to our MD emu, but not sure which code we should port over. Should we use the code from:

https://github.com/nukeykt/Genesis-Plus-GX or https://github.com/nukeykt/Nuked-OPN2 ?

thanks & best regards,

  • dink

dinkc64 avatar Feb 28 '24 16:02 dinkc64

use standaone repostory (https://github.com/nukeykt/Nuked-OPN2), it is always up to date. also, GPGX seems to use latest version? (https://github.com/ekeeke/Genesis-Plus-GX/blob/master/core/sound/ym3438.c)

nukeykt avatar Feb 29 '24 08:02 nukeykt

This would definitely be a great addition :+1:

rtissera avatar Jun 24 '24 23:06 rtissera

I didn't forget, it's just been a very busy time for me!

dinkc64 avatar Jun 25 '24 00:06 dinkc64