Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > NSFPlay 2.1 Owner: rainwarrior New post
Page 4 of 5 Sort: Goto Page: << Previous [1] [2] [3] [4] [5] Next >>
Posted: 2012-03-28 21:33 Reply | Quote
rainwarrior

Avatar

Member for: 5242 days
Location: Canada
Status: Offline

#32351
Yes, that display + the time expansion taught me tons back in the day. It's still where I go for quick answers.

Posted: 2012-03-29 01:47 Reply | Quote
bucky



Member for: 6586 days
Location: philly
Status: Offline

#32365
rainwarrior wrote:
Yes, that display + the time expansion taught me tons back in the day. It's still where I go for quick answers.


Likewise, which is why I'm really excited you fixed the audio failure for 7 and Vista...
plus everything else you did.

Awesome work, thanks so much!

Posted: 2012-03-29 03:39 Reply | Quote
rainwarrior

Avatar

Member for: 5242 days
Location: Canada
Status: Offline

#32366
Just FYI, Robokabuto N163 NSFs dating from 2007 and later appear to be fine, so far as I've seen, and <2006 are busted.

Presumably something important was learned about N163 hardware sometime in 2007, which co-incidentally is after the last update of VirtuaNSF.

Posted: 2012-03-29 09:06  (Last Edited: 2012-03-29 09:14) Reply | Quote
rainwarrior

Avatar

Member for: 5242 days
Location: Canada
Status: Offline

#32383
Okay, I think we've worked out a process for fixing old ppMCK N163 NSFs. You'll need a hex editor. Search the NSF for the following string:

09 80 9D ?? 06 8D 00 48

There should only be one string that fits this form, and it's probably at an offset in the range $1000-$1300 somewhere. If there's more than one, something else may be going on. Anyhow, replace the 80 in that string with E0:

09 E0 9D ?? 06 8D 00 48

Save it, and you should be good.

If you can't find this string in the bad NSF file, then let me know, maybe I can look at it. (It turned out a little easier than I thought to figure out where the offending code was.)

For people that know 6502 ASM, here's what the string means:

09 80 = ORA $80
9D ?? 06 = STA $06??, X (RAM variable)
8D 00 48 = STA $4800 (N163 register)

Changing $80 to $E0 sets all three of the top bits, which unless they are all set will contribute to the length of the sample (making it too long). Old ppMCK versions assumed a maximum sample length of 32, and thought that the high bit was simply an enable bit (it is not, it subtracts 128 from the maximum sample length of 256, the other two bits we are setting subtract 64 and 32).

Posted: 2012-03-29 09:26  (Last Edited: 2012-03-29 09:28) Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6074 days
Location: Canada
Status: Offline

#32384
NSFs with nothing but N163 for expansions will have the problematic value located at offset $D47.

Posted: 2012-03-29 10:51 Reply | Quote
Dave
Moderator

Avatar

Member for: 6774 days
Location: UK
Status: Offline

#32386
belated but.... does this support NSFE?

Posted: 2012-03-29 17:04 Reply | Quote
rainwarrior

Avatar

Member for: 5242 days
Location: Canada
Status: Offline

#32393
Not today, but I plan to support it in the next version.

Posted: 2012-03-29 17:21 Reply | Quote
InterrobangPie

Avatar

Member for: 5290 days
Location: England
Status: Offline

#32394
N163 nsfs exported with Famitracker seem to be bugged as well, and I can't find the string I need to edit in hex.

Posted: 2012-03-29 17:23 Reply | Quote
rainwarrior

Avatar

Member for: 5242 days
Location: Canada
Status: Offline

#32395
That process is only for certain versions of ppMCK. It's not universal.

Posted: 2012-03-29 17:40 Reply | Quote
bucky



Member for: 6586 days
Location: philly
Status: Offline

#32396
rainwarrior wrote:
Not today, but I plan to support it in the next version.


Nice, looking forward to it!

Posted: 2012-03-29 20:59 Reply | Quote
Doommaster1994

Avatar

Member for: 5548 days
Location: Seattle, WA
Status: Offline

#32403
NSFPlay plays music a little flat, is there any way I can tune the pitch up just a bit?

Posted: 2012-03-29 22:17 Reply | Quote
rainwarrior

Avatar

Member for: 5242 days
Location: Canada
Status: Offline

#32404
You can adjust the clock speed in the .ini file if you like. NES_BASECYCLES should control the pitch of all chips, as well as CPU speed. Tempo will be unaffected.

How flat are you finding it? I've made several hardware to render comparisons and haven't seen this problem. (There was previously a bug that made PCM playback -sharp-, but that is fixed now.) Do you have an example NSF?

Posted: 2012-03-29 22:35 Reply | Quote
Doommaster1994

Avatar

Member for: 5548 days
Location: Seattle, WA
Status: Offline

#32407
What numbers can I set it to?
Also, it's not just this program, it's all my programs on my computer. I use to be able to open VirtuaNES and it would raise the pitch back to normal, but that doesn't work anymore since I had to get a new hard drive.

Posted: 2012-03-29 23:14 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6074 days
Location: Canada
Status: Offline

#32409
Sounds like an issue with your sound card. Have you tried installing newer drivers?

Posted: 2012-03-29 23:18 Reply | Quote
Doommaster1994

Avatar

Member for: 5548 days
Location: Seattle, WA
Status: Offline

#32410
They're as updated as you can get. It's an old SoundBlaster.

Page 4 of 5 Sort: Goto Page: << Previous [1] [2] [3] [4] [5] Next >>