It is currently Wed Nov 22, 2017 8:03 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Apr 05, 2016 2:48 pm 
Offline

Joined: Tue Apr 05, 2016 2:28 pm
Posts: 12
I'm trying to develop nes emulator and I have a question about PPUGenLatch.
I read Wiki (PPU registers),and understood this latch came from capacitance of very long traces.
But I think if we read this value, it should be unset because remaining electric charges will disappear.

Am I wrong ? Can anyone help me?

Thank you.


Top
 Profile  
 
PostPosted: Tue Apr 05, 2016 2:57 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6448
Location: UK (temporarily)
They're just capacitors, not core memory. It's not the process of reading that causes the value to be lost: the output is buffered, not connected using an analog mulitplexer.


Top
 Profile  
 
PostPosted: Tue Apr 05, 2016 3:00 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19240
Location: NE Indiana, USA (NTSC)
I did some experiments with the phenomenon that FCEUX calls PPUGenLatch about a year ago when I was working on a controller detection routine. I found that reading it 64 times in a row did not unset it. See Riding the open bus.


Top
 Profile  
 
PostPosted: Wed Apr 06, 2016 8:38 am 
Offline

Joined: Tue Apr 05, 2016 2:28 pm
Posts: 12
Thank you for your reply.

I suppose "capacitance of very long traces" means parasitic capacitance.
It can read many times because MOS has high input impedance and it will not decay in PPU cycle.

Is my understanding correct?


Top
 Profile  
 
PostPosted: Wed Apr 06, 2016 10:14 am 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6448
Location: UK (temporarily)
Yes.

You can see the relevant bits of metal in the die by looking at Visual2C02.
(Go to the empty box next to the "Find" button and search for _io_db0 through _io_db_7)


Top
 Profile  
 
PostPosted: Wed Apr 06, 2016 10:47 am 
Offline

Joined: Tue Apr 05, 2016 2:28 pm
Posts: 12
Thank you so much.


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bing [Bot] and 2 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