It is currently Sat Dec 16, 2017 6:17 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Feb 25, 2006 1:46 am 
Offline

Joined: Thu Aug 25, 2005 7:36 pm
Posts: 4
I write $2006 at the first PPU scanline end,
so the loopy_v changes.
Then write $2007.
But now the loopy_v has been modified by the scanline hardware.
For example

sta $2006
sta $2006
(loopy_v = $3f00, now the scanline end , loopy_v += ***)
stx $2007 (it's not the address which I want to write now) :shock:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 25, 2006 3:11 am 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7317
Location: Chexbres, VD, Switzerland
Writes to $2007 will auto-increment $2006 adress, by either 1 or 32 in function of $2000.4
If writing anything to $2007 mid-frame, you'll have to turn rendering off through $2001.3-$2001.4 and to rewrite a correct PPU adress through $2006 (and possibly $2005) before turning rendering back on.

_________________
Life is complex: it has both real and imaginary components.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 5 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