It is currently Mon Oct 23, 2017 6:30 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun Mar 19, 2017 9:42 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3944
Those are equivalent. Just that your notes for 0-3 are leaving out the dummy nametable fetch, but are including the sprite fetch.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
PostPosted: Sun Mar 19, 2017 1:17 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19116
Location: NE Indiana, USA (NTSC)
Zepper wrote:
tepples wrote:
257-260: Dummy nametable fetch. A12 is low
261-264: Sprite pattern fetch (1 of 8). A12 is high
265-268: Dummy nametable fetch. A12 is low
269-272: Sprite pattern fetch (2 of 8). A12 is high

My notes are a bit different... but from the wiki anyways.
Code:
/* Cycles 257-320: Sprite fetches (8 sprites total, 8 cycles per sprite)
    * 0-3: Read the Y-coordinate(0), tile number(1), attributes(2), and X-coordinate(3)
    of the selected sprite from secondary OAM.
    * 4-7: Read the X-coordinate of the selected sprite from secondary OAM 4 times
    (while the PPU fetches the sprite tile data).
    * For the first empty sprite slot, this will consist of sprite #63's Y-coordinate followed by 3 $FF bytes;
    for subsequent empty sprite slots, this will be four $FF bytes.
    */
Is this incorrect?

I was describing the activity on the PPU's external video memory bus. You're describing the activity on the internal OAM bus. Both appear correct to me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

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