It is currently Fri Nov 24, 2017 4:26 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Apr 25, 2017 1:16 pm 
Offline

Joined: Tue Apr 25, 2017 1:10 pm
Posts: 11
I am just wondering why the cycle count for the nestest rom golden log goes from:

line 46: CYC: 333
line 47: CYC: 1

Is this something my emulator should be doing?


Top
 Profile  
 
PostPosted: Tue Apr 25, 2017 1:18 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6452
Location: UK (temporarily)
CYC is measuring PPU X coordinate. It should range from 0 through 340.


Top
 Profile  
 
PostPosted: Tue Apr 25, 2017 1:20 pm 
Offline

Joined: Tue Apr 25, 2017 1:10 pm
Posts: 11
lidnariq wrote:
CYC is measuring PPU X coordinate. It should range from 0 through 340.


thanks for the response :). I am just trying to test my CPU at this moment and haven't started the PPU yet. Should I just print cycleCount % 341?


Top
 Profile  
 
PostPosted: Tue Apr 25, 2017 1:29 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6452
Location: UK (temporarily)
PPU cycles are three times as fast as CPU cycles, e.g. "LDA #0" will cause the CYC count to increase by 6. But otherwise that's ... probably safe?


Top
 Profile  
 
PostPosted: Wed Apr 26, 2017 8:43 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2981
Location: Tampere, Finland
Just ignore the CYC value when you compare the logs.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: kkfos.aspekt.fi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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