It is currently Sun Dec 17, 2017 6:37 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: FCEUX PPU timing issue
PostPosted: Wed Oct 05, 2016 12:05 pm 
Offline
User avatar

Joined: Sat Apr 18, 2009 4:36 am
Posts: 260
Location: Russia
Real hardware and accurate emulators, like mesen/punes/nintendulator/nestopia
shows this timing roms values exactly as this screenshots:

Tepples overclock demo ROM
240pee, cpu speed

But cycles/line and cpu speed shows a bit lower values on FCEUX.
RockNES and BizHawk had same issue, but it's fixed for now.
Zepper wrote:
"Probably the test ROM uses sprite zero hit, or overflow, to measure the timing. The only change was to avoid the sprites to evaluate on pre-render scanline."

Is this sprite evaluation bug?


Top
 Profile  
 
PostPosted: Wed Oct 05, 2016 4:53 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19354
Location: NE Indiana, USA (NTSC)
Yes.

The overclock test measures time between sprite overflow and sprite 0 in CPU cycles. Because FCEUX's sprite evaluation timing isn't perfect, the time between sprite overflow and sprite 0 differs from the authentic PPU.


Top
 Profile  
 
PostPosted: Wed Oct 05, 2016 5:00 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
@Eugene.S
Care to provide the link of my quoted post? I'm not finding it.


Top
 Profile  
 
PostPosted: Thu Oct 06, 2016 10:23 am 
Offline
User avatar

Joined: Sat Apr 18, 2009 4:36 am
Posts: 260
Location: Russia
Zepper, it's here:
Image

BTW, i've posted it to bugtracker, but really doubt anyone fix it.
Which games (in theory) may be affected by this bug?
Or this bug manifest only on timing roms, so don't need care about fix it?


Top
 Profile  
 
PostPosted: Thu Oct 06, 2016 2:32 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
Oh, it was a private message. :shock: :D :lol: :lol:


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: Yahoo [Bot] 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