It is currently Mon Dec 11, 2017 2:11 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Apr 07, 2005 2:14 am 
Blargg's documentation states that when a value is written to the square wave length counter/coarse tune registers at $4003/$4007, the duty cycle generator for that channel is reset, thus starting the waveform from the first step again. One thing that is not made clear is if this same behavior holds when writing the equivalent registers ($400B, $400F) for the triangle wave and noise channels. Does writing $400B reset the triangle step generator to the first step? Does writing $400F reload the polynomial counter with a 1?

Thanks in advance for any clarification on this.


Top
  
 
 Post subject:
PostPosted: Thu Apr 07, 2005 7:50 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
For the triangle, the counter simply freezes. For the noise, I dunno...

_________________
Zepper
RockNES developer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 07, 2005 7:28 pm 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
Writing to $400b doesn't reset the phase of the triangle (it can't be reset).

Writing to $400f doesn't reset the noise shift register (it can't be reset).

For further information about defining things in terms of what isn't, rather than what is, refer to a short tutorial on deviation (300K mp3).


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 9 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