NSFPlay 2.3

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

Moderator: Moderators

User avatar
Dwedit
Posts: 4921
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: NSFPlay 2.3

Post by Dwedit »

You're right and I'm an idiot.
Setting highpass to one above 0 eliminated the DC.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
FaTony
Posts: 34
Joined: Fri Mar 22, 2013 7:41 am

Re: NSFPlay 2.3

Post by FaTony »

Hey how can I force specific region via C++? All NSFs I open are played in NTSC but I want PAL or Dendy.
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

In the UI the "Region" setting is a dropdown list near the bottom of the "General" tab.

In the .ini file the setting is called "REGION", consult nsfplay.txt for a list of values.
FaTony
Posts: 34
Joined: Fri Mar 22, 2013 7:41 am

Re: NSFPlay 2.3

Post by FaTony »

OK, thanks.
FaTony
Posts: 34
Joined: Fri Mar 22, 2013 7:41 am

Re: NSFPlay 2.3

Post by FaTony »

How can I make the infinite playtime?
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

I don't think there's a setting for "infinite", but you can set the play time very high, which is practically the same thing?

Edit: The UI seems to give it a limit of 32767 seconds (about 9 hours). Is that "infinite" enough?
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: NSFPlay 2.3

Post by B00daW »

If the time is set to 0, does it not play at all? ;P That could be infinite looping.
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

A time of 0 is treated as such.
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: NSFPlay 2.3

Post by B00daW »

za909's extremely small 390 byte NSF based on pseudo-random patterns does not work with NSFPlay, but works in other players.
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

1. What does "other players" mean?
2. Does it run on a PowerPak?
3. Why does it enable NMI by writing $80 to $2000 during INIT?
4. Is there source code?
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: NSFPlay 2.3

Post by B00daW »

Hrm... Works on NSFLive and FCE Ultra. Does not work on VirtuaNSF or Nintendulator either.

I NOP'd the NMI with $2000 code and it still doesn't work in NSFPlay, but continues to work in the above two.

viewtopic.php?f=6&t=16061
User avatar
rainwarrior
Posts: 8731
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: NSFPlay 2.3

Post by rainwarrior »

This is the bank setup:
Bank :[00][00][00][00][00][00][00][f9]

F9 should be a 00. The contents of bank F9 are "undefined" since the file has no such bank.

Fixing that will get it to run, but it should also get rid of the STA $2000 since NMI will almost certainly cause PowerPak and any player with a PPU to fail in some way.
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: NSFPlay 2.3

Post by B00daW »

rainwarrior wrote:This is the bank setup:
Bank :[00][00][00][00][00][00][00][f9]

F9 should be a 00. The contents of bank F9 are "undefined" since the file has no such bank.

Fixing that will get it to run, but it should also get rid of the STA $2000 since NMI will almost certainly cause PowerPak and any player with a PPU to fail in some way.
OK; wow. Yeah, that was easy. Thanks. :)
Post Reply