6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon May 20, 2024 8:40 am

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Fri Jun 26, 2015 8:41 am 
Offline
User avatar

Joined: Tue Feb 10, 2015 5:27 pm
Posts: 80
Location: Germany
BigEd wrote:
The 74LS02 is a TTL part, a quite different process. Actually I'm not sure how good TTL is at pulling all the way up to the rail, but maybe it's fine.


Whoops - that points me to a little flaw in my breadboard design: no pull-ups, just TTL output of '02 into 6509... it seems to work... but maybe that's the reason for some quirks...


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 26, 2015 7:08 pm 
Offline

Joined: Sun Oct 14, 2012 7:30 pm
Posts: 107
Interesting, I didn't think the 4040 was any different from the 8050/8250/1540/1541/1571/etc.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 26, 2015 7:38 pm 
Online
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8440
Location: Southern California
Hobbit1972 wrote:
Using RDY would be 2 clocks faster for it is already waiting inside the LDA. Using WAI would have to load LDA instruction, address byte (and possibly second address byte if I/O not in ZP).

That's an interesting idea. It would work if the input is transparent during the read, but the next thing to find out is whether the VIA will transfer new data to the bus during the read time, ie, data that wasn't there yet at the beginning of the read time.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 27, 2015 1:31 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3354
Location: Ontario, Canada
GARTHWILSON wrote:
the next thing to find out is whether the VIA will transfer new data to the bus during the read time, ie, data that wasn't there yet at the beginning of the read time.
Maybe I've misunderstood the context here, but I don't see how this is necessary. After every wait state (caused by RDY being low), another whole new bus cycle occurs (albeit to the same address). Seems to me the VIA should have no trouble delivering new data in the new bus cycle.

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 27, 2015 8:19 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10802
Location: England
Hmm, are there reads of status registers which change the state, such that a repeated read isn't what you want?

I suspect the construction of the CS (or maybe the E input) to the VIA will determine whether it sees repeated reads or one looong read.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 11, 2015 8:11 am 
Offline
User avatar

Joined: Tue Feb 10, 2015 5:27 pm
Posts: 80
Location: Germany
Dr Jefyll wrote:
Seems to me the VIA should have no trouble delivering new data in the new bus cycle.

I also would think so. VIA should sample data in phi1 and put the new data on the bus every phi2. But maybe somebody with a VIA could test it to be sure?

(If it would not work it should not be too difficult to find work around with RDY/CS logic.)


BigEd wrote:
Hmm, are there reads of status registers which change the state, such that a repeated read isn't what you want?

That could be the case, of course - one has to keep that in mind.

On the other hand: in this design VIA's read or write handshake features probably are not too useful here, for it either triggers an IRQ or has to be polled by software - both completely unnecessary when waiting is already performed through RDY. Other accesses than to data Port A/PortB also is not used or necessary.


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 05, 2015 10:59 am 
Offline

Joined: Mon Jul 20, 2015 6:34 pm
Posts: 62
You could use S.O. pin to do synchronous transfers. Trigger by hardware, use it in software type feature whereas RDY signal can only be used by hardware and you cant use it for synchronous transfers.

I guess the pin used initially for early testing & debugging of the design. And the least used flag is chosen as victim for this late addition to the design. (Just a guess)


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

All times are UTC


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: