-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPCM Doesn't play when playing exported .nsf #337
Comments
what version of DnFT did you use to export the .nsf? also, may you provide a test module for debugging? |
I used version 0.5.1.1. Also, you mean test module as in .ftm? |
yes, the .ftm or .dnm file which can reproduce this bug |
it sounds fine in Dn-Famitracker, the issue is just in the .nsf on the everdrive |
I created the song in the original FamiTracker from 2015, could that be the problem? |
it shouldn't be an issue. my current speculation is that it has to do with either DnFT's driver or NSF compiler. |
Yeah, it's probably one of those. Also, I just checked the .nsf on an .nsf player and it had the same issue. |
Thanks for helping figure out the issue could be! |
the NSF driver is partially compiled to a kernel binary "shell" (or "glob" as i've called it) in a header file. the caveat with this is that compile-time definitions are fixed, especially for the amount of N163 channels; this is set to eight channels. in 0CC, this was simply patched by writing a single byte to the identity table wherever the DPCM channel was indexed, but this breaks whenever the driver changes or is updated due to being a fixed address. indeed, when the driver was modified/patched in Dn 0.5, this patching was liable to break sooner or later. |
I exported all .NSF versions you can export from Dn-FamiTracker, and none of them played DPCM at all. However when I exported from the original FamiTracker DPCM played fine. Just in case it helps, the song I was playing uses DPCM and Namco-163.
The text was updated successfully, but these errors were encountered: