It is currently Fri Oct 20, 2017 9:15 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Apr 03, 2005 4:12 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
Quote:
The timer's period is the 12-bit value (%HHHL.LLLLLLL0) formed by timer high and timer low, plus two.


Is this counter always decremented (clocked)? The conditions to silence the channel will stop the timer's countdown or just set the output to zero?

_________________
Zepper
RockNES developer


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 03, 2005 6:38 pm 
Offline
User avatar

Joined: Tue Dec 21, 2004 8:35 pm
Posts: 600
Location: Argentina
The ptimer is always clocked, when there is a condition to silence the channel the output as you say is 0, but ptimer doesnt stop counting (decrementing) and the period is set to the 11 bit value plus *one*.

I implement it in that way in my emulator and i think its correct. :)

_________________
ANes


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 03, 2005 7:01 pm 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
Yes, the timer is always running. In general, each unit in the APU is always running and if a particular unit isn't needed, its output is simply ignored.

Me forthcoming APU test suite will verify an emulator's handling of this.


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 6 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