It is currently Mon Dec 18, 2017 4:08 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Mar 29, 2012 9:23 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5899
Location: Canada
I've noticed NSFPlay has an option to set the enable bits on the APU channels when the player resets. Turning this option off causes a few NSFs that never bother to set these bits to fail to play (e.g. Battletoads).

I know the spec tells us not to assume the state of anything on init except A and X, but there seems to be an expectation in a few NSFs that the APU should have its channels enabled. Even Loopy's PowerPak NSF reset routine does this.

Should I just make a note of this in the wiki? Is it important to fix the offending NSFs? Are there any NSFs that assume the enable bits are clear at reset?

Edit: ah, never mind. It was pointed out to me that it's actually stated in the "Properly initializing a tune" section: "Set volume register 4015h to 0Fh." I guess I was thrown off by "Do not assume the state of *anything* on entry to the init routine".


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group