More NSF Requests

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

User avatar
Karmic
Posts: 274
Joined: Sun Jun 05, 2016 2:10 am
Location: Canada

Re: More NSF Requests

Post by Karmic » Thu Jun 22, 2017 2:00 am

Rahsennor wrote:
Karmic wrote:The 100% complete rip of Battletoads, with the PCM title and victory tunes, pause tune, sfx, and PCM sfx.
Thank you, good sir! I've been waiting for a proper rip of this game.

Now if I could just figure out why it plays way too fast in my NSF player... and only my NSF player. It does the same thing on your Skate Or Die 2 rip. What are you using for timing?
It's the typical trick where APU frame IRQs are used to simulate the 60Hz PPU frame NMI. Both use non-returning play.
Visit this dropbox folder to download all of my music rips.

Rahsennor
Posts: 475
Joined: Thu Aug 20, 2015 3:09 am

Re: More NSF Requests

Post by Rahsennor » Thu Jun 22, 2017 2:03 am

Karmic wrote:It's the typical trick where APU frame IRQs are used to simulate the 60Hz PPU frame NMI. Both use non-returning play.
Whoa, that was fast! I assume you mean polling the IRQ flag, AKA the Deflemask trick?

User avatar
Karmic
Posts: 274
Joined: Sun Jun 05, 2016 2:10 am
Location: Canada

Re: More NSF Requests

Post by Karmic » Thu Jun 22, 2017 2:05 am

Rahsennor wrote:
Karmic wrote:It's the typical trick where APU frame IRQs are used to simulate the 60Hz PPU frame NMI. Both use non-returning play.
Whoa, that was fast! I assume you mean polling the IRQ flag, AKA the Deflemask trick?
Yep. It's unfortunately the only real way to do this kind of timing with the limitations of NSF.
Visit this dropbox folder to download all of my music rips.

Rahsennor
Posts: 475
Joined: Thu Aug 20, 2015 3:09 am

Re: More NSF Requests

Post by Rahsennor » Thu Jun 22, 2017 2:08 am

Karmic wrote:Yep. It's unfortunately the only real way to do this kind of timing with the limitations of NSF.
Well drat. I pass all the test ROMs for the IRQ flag so it looks like this one's going to be a headache.

Thanks for the ultra-speedy answers.

User avatar
rainwarrior
Posts: 7801
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: More NSF Requests

Post by rainwarrior » Thu Jun 22, 2017 2:13 am

Rahsennor wrote:
Karmic wrote:The 100% complete rip of Battletoads, with the PCM title and victory tunes, pause tune, sfx, and PCM sfx.
Thank you, good sir! I've been waiting for a proper rip of this game.

Now if I could just figure out why it plays way too fast in my NSF player... and only my NSF player. It does the same thing on your Skate Or Die 2 rip. What are you using for timing on the PCM tracks?
It uses the "deflemask" technique of disabling IRQ and polling $4015 for the frame counter's IRQ flag.

Anyhow, yeah I'm also glad to see this! I wanted to do this very thing for a long time, but it was never high enough on my priorities to get it done. Thank you!


Edit: whoops, missed the last page, you've already discussed it.

User avatar
za909
Posts: 206
Joined: Fri Jan 24, 2014 9:05 am
Location: Hungary

Re: More NSF Requests

Post by za909 » Fri Jun 23, 2017 5:45 pm

Great job, especially because now we can listen to the samples without any NMI or OAM DMA cutting into the sound like in-game.

ap9
Posts: 39
Joined: Sat Jun 01, 2013 11:55 am
Location: Maine, U.S.A.
Contact:

Re: More NSF Requests

Post by ap9 » Fri Jun 23, 2017 10:57 pm

Rahsennor wrote:Well drat. I pass all the test ROMs for the IRQ flag so it looks like this one's going to be a headache.
Definitely seems buggy that these two NSFs rips — Skate or Die 2 and Battletoads — don't work as intended in a more complete implementation of the APU, but work when turning off a few lines of code for 4017 and the frame counter, lines needed for the test ROMs to pass. (I added an option in my emulator to get them to work by doing just that— turning off those lines.) They work in FCEUX because its APU has never been updated for authentic frame timing.

However, the battletoadsdoubledragon_pcm NSF works with the more complete APU.
Last edited by ap9 on Sat Jun 24, 2017 10:55 pm, edited 1 time in total.

User avatar
Karmic
Posts: 274
Joined: Sun Jun 05, 2016 2:10 am
Location: Canada

Re: More NSF Requests

Post by Karmic » Sat Jun 24, 2017 12:59 am

ap9 wrote:
Rahsennor wrote:Well drat. I pass all the test ROMs for the IRQ flag so it looks like this one's going to be a headache.
Definitely seems buggy that these two NSFs rips — Skate or Die 2 and Battletoads — don't work as intended in a more complete implementation of the APU, but work when turning off a few lines of code for 4017 and the frame counter, lines needed for the test ROMs to pass. (I added an option in my emulator to get them to work by doing just that— turning off those lines.) They work in FCEUX because its APU has never been updated for authentic frame timing.

However, the battletoadsdoubledragon_pcm NSF works with the more complete APU.
You're right. I didn't know the APU frame-flag was set thrice in a row :p

Fixed to acknowledge this, it works fine in Nintendulator now at least.
Attachments
Skate or Die 2.nsf
(113.86 KiB) Downloaded 255 times
Battletoads.nsf
(31.56 KiB) Downloaded 266 times
Visit this dropbox folder to download all of my music rips.

Rahsennor
Posts: 475
Joined: Thu Aug 20, 2015 3:09 am

Re: More NSF Requests

Post by Rahsennor » Sat Jun 24, 2017 1:31 am

Much better in repeat, but still not quite fixed. If you restart track 1 of Battletoads repeatedly you'll find the timing wobbles a bit with each playback, sometimes by quite a lot.

Could still be a bug in my player, of course.

(Also ap9 that's me you quoted not Karmic.)

ap9
Posts: 39
Joined: Sat Jun 01, 2013 11:55 am
Location: Maine, U.S.A.
Contact:

Re: More NSF Requests

Post by ap9 » Sat Jun 24, 2017 10:53 pm

Rahsennor wrote:Much better in repeat, but still not quite fixed. If you restart track 1 of Battletoads repeatedly you'll find the timing wobbles a bit with each playback, sometimes by quite a lot.
Yeah, the timing/tempo is slightly inconsistent (in Nintendulator, but fine in others). An improvement nonetheless. :)
Rahsennor wrote:(Also ap9 that's me you quoted not Karmic.)
My reply post began one quote in another, and I deleted the wrong element. My bad.

shawnphase
Posts: 50
Joined: Tue Jul 05, 2016 10:53 am

Re: More NSF Requests

Post by shawnphase » Sun Jun 25, 2017 1:27 pm

i think the timing is off somehow in that blood of jurassic .nsf...if you listen to track 5, the dpcm channel is, well i dunno how to explain it really, but theres some sort of drift going on, even after one rep through...maybe its a pal/ntsc issue or something? im not sure, but you can hear that it doesnt sync up with the tridrops in the song..i havent listened to enough of it to be able to say if it affects other tracks or not, but maybe someone can confirm this, or that its supposed to do this? ahaha, i donno.

User avatar
MrNorbert1994
Posts: 800
Joined: Tue May 06, 2014 1:50 pm
Location: Szeged, Hungary
Contact:

Re: More NSF Requests

Post by MrNorbert1994 » Mon Jun 26, 2017 5:53 pm

Ripped the PCM samples for this.
Attachments
Mahjong Club - Nagatacho Sousaisen (SFX).nsf
(288.13 KiB) Downloaded 251 times

User avatar
MrNorbert1994
Posts: 800
Joined: Tue May 06, 2014 1:50 pm
Location: Szeged, Hungary
Contact:

Re: More NSF Requests

Post by MrNorbert1994 » Mon Jun 26, 2017 5:56 pm

A generic SFX rerip.
Attachments
Star Trek - The Next Generation (SFX).nsf
(16.14 KiB) Downloaded 242 times

User avatar
MrNorbert1994
Posts: 800
Joined: Tue May 06, 2014 1:50 pm
Location: Szeged, Hungary
Contact:

Re: More NSF Requests

Post by MrNorbert1994 » Mon Jun 26, 2017 11:04 pm

Added SFX and jingles to this one.
Attachments
Chuck Yeager's Fighter Combat (SFX).nsf
(32.08 KiB) Downloaded 245 times

ap9
Posts: 39
Joined: Sat Jun 01, 2013 11:55 am
Location: Maine, U.S.A.
Contact:

Re: More NSF Requests

Post by ap9 » Tue Jun 27, 2017 12:42 am

Mahjong Club - Nagatacho Sousaisen (SFX) crashes or winds up at a bad address when a PCM sound effect completes. (Some players handle it better.)

Post Reply