Jump to content
IGNORED

Using unused outputs on 74138?


KubaCZ

Recommended Posts

I've been looking on 800XL schematics and I've noticed that D1,D4,D6,D7 outputs of 74138 are unused. Can they be used to connect for example led diode and control it using pokes? That 74138 uses inputs A8-10, so to get D7 output high I need to poke to 1024(A10)? Or is it done different way? I always wanted to connect some of my hardware(led diode is just example) and control it using basic.

Edited by KubaCZ
Link to comment
Share on other sites

It works differently to that.

 

The outputs are enabled by the MMU - if any system address from $D000 - $D7FF is selected then the A8-A10 feed activate the relevant output.

 

D1 goes to PBI devices - on the XLs the devices actually have to decode and recognise that selection by the address bus, XE it's output goes to the ECI.

 

D4 is Antic - Antic has the full address bus and doesn't need a CS, so that output is generated but not used. But if you used it then any output you generated would need a read or write to Antic.

 

D6/D7 are kind of spare but used by some expansions like VBXE.

 

 

All that aside, it's a multiplexor not a latch. The outputs only become active on a cycle when the CPU or Antic is accessing an address on those ranges. So it's not going to be any good to drive an LED or anything.

 

Also, only one output can be active. The function of the multiplexor is to allow a small number of select lines to drive one of a larger number of outgoing lines.

 

An easier way would be to just use a joystick port for output functions but the current available isn't very much.

 

Or you could use a latch as part of a bigger circuit - you could e.g. use the D7 output to enable the latch which then captures whatever is on the Data bus at the time. Some cartridges use that sort of thing for bank selection.

Edited by Rybags
Link to comment
Share on other sites

I don't have VBXE/Covox installed so they're probably free.

 

I'm going to use arduino for that. So if I want to enable D6 I need to set A9 and A10 and to get D7 high I need A8-10 = D6 is $D600 and D7 is $D700, right?

Edited by KubaCZ
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...