6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 8:51 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Jan 20, 2017 4:34 pm 
Offline

Joined: Wed Dec 21, 2016 9:26 pm
Posts: 81
Maybe this has been addressed before, but my search efforts didn't turn up anything relevant.

The VIC-II chip uses a multiplexed arrangement to access the address bus. What is a good and simple way to demultiplex that bus? I was thinking along the lines of using some kind of IC, but I don't know what it's called. One set of address lines is timed off the CAS signal, the other off the RAS signal.

My thinking is if this chip was timed to the one signal, latches the value, and holds it, then the next address set is presented, and that gets latched and held, presenting a full demultiplexed address.

The RAM I am using does not use the RAS and CAS signals, it expects a full address to be presented at once.

_________________
I am working on building a 65816 based computer (for personal use)

Eventual goals include:
65816 CPU up to 14-16 MHz (In Turbo Mode)
up to 16MB RAM (512K on the main board)
Dual YM3438 audio
IEC serial device support


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 20, 2017 5:33 pm 
Offline
User avatar

Joined: Tue Feb 10, 2015 5:27 pm
Posts: 80
Location: Germany
KhanTyranitar wrote:
The VIC-II chip uses a multiplexed arrangement to access the address bus. What is a good and simple way to demultiplex that bus? I was thinking along the lines of using some kind of IC, but I don't know what it's called. One set of address lines is timed off the CAS signal, the other off the RAS signal.


'374 should do the trick. If RAS&CAS have the wrong polarity you can throw in an inverter.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 20, 2017 5:36 pm 
Offline

Joined: Wed Dec 21, 2016 9:26 pm
Posts: 81
Perfect. That's what I was looking for.

_________________
I am working on building a 65816 based computer (for personal use)

Eventual goals include:
65816 CPU up to 14-16 MHz (In Turbo Mode)
up to 16MB RAM (512K on the main board)
Dual YM3438 audio
IEC serial device support


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 20, 2017 5:38 pm 
Offline

Joined: Sun Feb 05, 2006 1:20 am
Posts: 21
Location: The Netherlands
The Commodore 64 uses a 74LS373 octal latch.
You control the latch gate with RAS/ and the 3-state outputs with AEC/

_________________
I trust my somewhat flawed English is comprehensible to all.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 20, 2017 8:23 pm 
Offline

Joined: Wed Dec 21, 2016 9:26 pm
Posts: 81
Looking at that actually makes a little more sense. I do need the address to be bi-directional. Just so long as the output holds that state till it is released.

I'll have to take a close look later. But from initial appearances that looks good.

It looks like octal latches might be what I need for other parts of my project.

_________________
I am working on building a 65816 based computer (for personal use)

Eventual goals include:
65816 CPU up to 14-16 MHz (In Turbo Mode)
up to 16MB RAM (512K on the main board)
Dual YM3438 audio
IEC serial device support


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 20, 2017 11:06 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
FYI, 74xx573 has the same function as 74xx373 but the '573 pinout is rearranged in a way that's usually better for PCB layout. Similarly, '374 and '574 are the same except the '574 has an improved pinout.

You'll definitely need one '373/'374/'573/'574 to demultiplex the Row Address but I doubt you'll require another to demux the Column Address. You could include another anyway -- it'll do no harm -- but you don't need it.

The muxed bus presents one half of the address then the other. The first half (the row) MUST be latched because it's about to disappear. And the latch output feeds half of the RAM address inputs. But when the second half of the address (the column) appears on the muxed bus it will remain, isn't that right? (The VIC-II timing diagram will tell you.)

I'm suggesting the muxed address bus from the VIC can directly attach to the other half of the RAM address inputs. Your RAM won't be instructed to do anything (ie; no WE or OE) until after CAS has gone true -- right? By that time both halves of the address entering the RAM will be stable.

For this application I'd lean toward using a latch, BTW -- ie '373/'573. I think that's a slightly better choice than a '374/'574.

_________________
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 Jan 21, 2017 2:17 am 
Offline

Joined: Wed Dec 21, 2016 9:26 pm
Posts: 81
Sounds right. I'd have to check the timing. It should work. I am leaning towards the latch. The other might work, but I don't think it's as good a choice. The octal latch seems to almost be purpose made for what I'm doing.

_________________
I am working on building a 65816 based computer (for personal use)

Eventual goals include:
65816 CPU up to 14-16 MHz (In Turbo Mode)
up to 16MB RAM (512K on the main board)
Dual YM3438 audio
IEC serial device support


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 25, 2017 4:50 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1250
Location: Soddy-Daisy, TN USA
I'm curious...are you building a SBC that uses pieces from a C64?

The preservationist in me hopes you are not gutting C64's for this. :-D

Either way, sounds like an interesting project.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 25, 2017 5:04 pm 
Offline

Joined: Wed Dec 21, 2016 9:26 pm
Posts: 81
Only dead C64s.

_________________
I am working on building a 65816 based computer (for personal use)

Eventual goals include:
65816 CPU up to 14-16 MHz (In Turbo Mode)
up to 16MB RAM (512K on the main board)
Dual YM3438 audio
IEC serial device support


Top
 Profile  
Reply with quote  
PostPosted: Tue Feb 07, 2017 2:01 pm 
Offline
User avatar

Joined: Sat Dec 07, 2013 4:32 pm
Posts: 246
Location: The Kettle Moraine
If you run short on them let me know. I acquired a stack of them from an ebay seller when I bought something unrelated. They've already been stripped of any socketed parts. I have no real use for them but I'm not ready to pitch them yet.


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

All times are UTC


Who is online

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