It is currently Sun Jan 20, 2019 11:51 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Dec 15, 2018 11:59 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 21004
Location: NE Indiana, USA (NTSC)
It's best practice to do the sprite DMA and nametable updates before the music updates because unlike the music updates, the sprite DMA and nametable updates need to finish before the PPU starts on the next frame.


Top
 Profile  
 
PostPosted: Sat Dec 15, 2018 12:46 pm 
Offline

Joined: Sun Mar 27, 2016 7:56 pm
Posts: 185
Yes, but it'd also be better to do it before the game logic, and I didn't want to complicate things by breaking up the if ready == 1 block into two pieces while still keeping the NMI routine reentrant, or working around that by adding an else clause with update music... in both paths, etc. It's just a simple example.


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