It is currently Tue Dec 12, 2017 9:19 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: APU x $4015 reads?
PostPosted: Mon Jul 18, 2016 7:18 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
Let's take square wave 1 active-time-left (atl) set at $4003. It's decremented twice per frame.
On a lda $4015 and the atl goes 1->0 right before the effective $4015 read, does $4015 return 1 or 0?


Top
 Profile  
 
 Post subject: Re: APU x $4015 reads?
PostPosted: Wed Jul 20, 2016 7:36 pm 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1845
I'm not aware of any delay. So if the decrement happens before the read, you would read 0.


Top
 Profile  
 
 Post subject: Re: APU x $4015 reads?
PostPosted: Thu Jul 21, 2016 6:49 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3076
Location: Brazil
Disch wrote:
I'm not aware of any delay. So if the decrement happens before the read, you would read 0.

It bugs my mind. Actually, the order for running the units is PPU->APU->CPU. If I change it to CPU->PPU->APU, on $4015 reads, the atl=1, not zero as I'm doing. Got it?


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: Sour and 8 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