These forums are now closed Forum Index These forums are now closed
Please see the new forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Extra outputs anyone ???

 
Post new topic   Reply to topic    These forums are now closed Forum Index -> Creation Room
View previous topic :: View next topic  
Author Message
fsafstrom



Joined: 26 Dec 2006
Posts: 155
Location: San Antonio, Texas

PostPosted: Jun Thu 26, 2008 10:03 pm    Post subject: Extra outputs anyone ??? Reply with quote

Here is a simple way to provide some extra outputs in stead of using a 6522 or 6526...

The 1D to 8D goes to the Databus of the 6502.
R/W is the Read Write from the 6502.
PHI2 is the clock from the 6502.
Address Enable is an Active Low enable from an address encoder such as an 74LS138. For example, the $A000-$AFFF, $B000-$BFFF or $C000-$CFFF pins on the Replica expansion port...
And finally the 1Q to 8Q is the actual output.

The three IC's in the picture (74LS02, 74LS08 and 74LS373) should run you about $2 total compare to $8 for the 6522...



Have fun...
Back to top
View user's profile Send private message
vbriel
Site Admin


Joined: 19 Jul 2005
Posts: 723
Location: Ohio

PostPosted: Jun Thu 26, 2008 10:52 pm    Post subject: Reply with quote

It's been a long day for me but this is a good low cost output solution.

Now, using a 245 you should be able to do Input and output. Have you thought about using one of those?

Vince
Back to top
View user's profile Send private message Send e-mail
fsafstrom



Joined: 26 Dec 2006
Posts: 155
Location: San Antonio, Texas

PostPosted: Jun Thu 26, 2008 11:07 pm    Post subject: Reply with quote

I was thinking of a 244 for the input and just keep input and output on separate addresses. That way I don't have to worry about any data direction registers...

Maybe I could use the 245 to be able to read the current value on the output port...
This solution does not allow you to read the current value that you wrote to the port since it's output only...
On the other hand, it's not really a problem as long as you take that into consideration...
Back to top
View user's profile Send private message
vbriel
Site Admin


Joined: 19 Jul 2005
Posts: 723
Location: Ohio

PostPosted: Jun Thu 26, 2008 11:26 pm    Post subject: Reply with quote

Keeping a 244 as the input and 373 as output might be better so there is no confusion on direction.

Just a thought, but if you look at your circuit, I think you can combine the gates to 4 NAND's from a 00. It's late and my math might be wrong might want to see, then you can cut it down to just 2 chips. And that was just for the output circuit you did.

Vince
Back to top
View user's profile Send private message Send e-mail
fsafstrom



Joined: 26 Dec 2006
Posts: 155
Location: San Antonio, Texas

PostPosted: Jun Thu 26, 2008 11:58 pm    Post subject: Reply with quote

Something like the schema below, but I used the 74LS02 (NOR) in stead...

I was thinking of adding another three 373s to get 32 outputs since they are so cheap anyway.
That is why I used the 02 and 08 since they have four gates each...

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    These forums are now closed Forum Index -> Creation Room All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group