6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed May 08, 2024 8:21 pm

All times are UTC




Post new topic Reply to topic  [ 59 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Mon Mar 04, 2019 4:42 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
For supporting a project which aims at building a TTL implementation of the 6526,
I dug out my old schematics for an experimental 6522 TTL implementation, the X22.

Because the most recent version of Eagle can't open Eagle 3.55 files anymore, I converted them to *.png.

Edit:
The thread became a bit longer than expected, also featuring:
6521, 6523, 6532, 6545, 6551\6850.

;---

The design was experimental and partially untested,
I'm not sure if the timers were cycle exact,
and if you try to make use of these echematics,
please take them with a grain of salt and try to build things a bit different from them.

It seemed to have worked with a Rockwell R65C02-2 running at 4MHz.

Image

Test setup:

Bottom: my DRC2 SBC, which is supposed to be compatible to the SBC-2.

2B22 bus interface is plugged into DRC2.
X22 backplane is plugged into the 2B22 bus interface.

Plugged into the X22 backplane, we have:
1* 1PA22, Port A module
1* 1PB22, Port B module
2* 1H22, handshake module
2* 1T22, timer module
1* 1TC22, timer control module
1* 1SR22, shift register module
1* 1I22, interrupt module


Last edited by ttlworks on Thu Apr 11, 2019 3:32 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 4:48 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
First the bus interface 2B22, which also had been used for other projects (don't get confused).
The bus interface was plugged between the computer and the X22 backplane.

Image

It assumes that the address bus is stable when PHI2 goes HIGH,
same thing for the data bus during write cycles...
what, of course, isn't the case in a C64 when CPU and VIC-II are sharing the bus.

For a TTL implementation of the 6526, please build things different, sorry.

Attachment:
2b22_1.png
2b22_1.png [ 38.96 KiB | Viewed 1186 times ]

Attachment:
2b22_2.png
2b22_2.png [ 64.37 KiB | Viewed 1186 times ]

Attachment:
2b22_3.png
2b22_3.png [ 30.15 KiB | Viewed 1186 times ]

Attachment:
2b22_3.png
2b22_3.png [ 30.15 KiB | Viewed 1186 times ]


Attachments:
2b22_4.png
2b22_4.png [ 42.87 KiB | Viewed 1186 times ]
Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 4:51 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Now for the X22 backplane:

Image

Attachment:
1x22_1.png
1x22_1.png [ 27.81 KiB | Viewed 1185 times ]

Attachment:
1x22_2.png
1x22_2.png [ 43.49 KiB | Viewed 1185 times ]

Attachment:
1x22_3.png
1x22_3.png [ 38.72 KiB | Viewed 1185 times ]

Attachment:
1x22_4.png
1x22_4.png [ 40.35 KiB | Viewed 1185 times ]

Attachment:
1x22_5.png
1x22_5.png [ 19.63 KiB | Viewed 1185 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 4:54 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Now for port A, which has open collector outputs: 1pa22

Image

Attachment:
1pa22_1.png
1pa22_1.png [ 20.02 KiB | Viewed 1186 times ]

Attachment:
1pa22_2.png
1pa22_2.png [ 37.95 KiB | Viewed 1186 times ]

Attachment:
1pa22_3.png
1pa22_3.png [ 25.36 KiB | Viewed 1186 times ]

Attachment:
1pa22_4.png
1pa22_4.png [ 42.68 KiB | Viewed 1186 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 4:57 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Port B has three state outputs: 1pb22

Image

Attachment:
1pb22_1.png
1pb22_1.png [ 19.98 KiB | Viewed 1186 times ]

Attachment:
1pb22_2.png
1pb22_2.png [ 37.74 KiB | Viewed 1186 times ]

Attachment:
1pb22_3.png
1pb22_3.png [ 25.37 KiB | Viewed 1186 times ]

Attachment:
1pb22_4.png
1pb22_4.png [ 38.67 KiB | Viewed 1186 times ]

Attachment:
1pb22_5.png
1pb22_5.png [ 25.54 KiB | Viewed 1186 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:00 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Handshake PCB: 1h22, two such PCBs required.

One PCB for port A, another (identical) PCB for port B, but jumper settings for both PCBs are different.

Image

Attachment:
1h22_1.png
1h22_1.png [ 33.67 KiB | Viewed 1186 times ]

Attachment:
1h22_2.png
1h22_2.png [ 37.26 KiB | Viewed 1186 times ]

Attachment:
1h22_3.png
1h22_3.png [ 33.24 KiB | Viewed 1186 times ]

Attachment:
1h22_4.png
1h22_4.png [ 33.06 KiB | Viewed 1186 times ]

Attachment:
1h22_5.png
1h22_5.png [ 31.59 KiB | Viewed 1186 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:01 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Attachment:
1h22_6.png
1h22_6.png [ 24.99 KiB | Viewed 1187 times ]

Attachment:
1h22_7.png
1h22_7.png [ 32.58 KiB | Viewed 1187 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:07 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
16 Bit timer modules: 1t22, two (nearly) identical PCBs required.

Image

Some chips are not used on one of the PCBs, but having all of the chips plugged into both PCBs does no harm.

Since getting hands on down_counters turned out to be difficult,
I just had used up_counters while puttting 7404 inverters into the counter inputs and outputs...
to make them up_counters look like down_counters to the CPU.

Again: I'm not sure if timer overflow etc. is cycle exact, you better check !

Attachment:
1t22_1.png
1t22_1.png [ 27.21 KiB | Viewed 1186 times ]

Attachment:
1t22_2.png
1t22_2.png [ 51.24 KiB | Viewed 1186 times ]

Attachment:
1t22_3.png
1t22_3.png [ 36.57 KiB | Viewed 1186 times ]

Attachment:
1t22_4.png
1t22_4.png [ 48.33 KiB | Viewed 1186 times ]

Attachment:
1t22_5.png
1t22_5.png [ 24.96 KiB | Viewed 1186 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:10 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Since we have two timers,
we also have a timer control PCB for the two timers: 1tc22

Image

Attachment:
1tc22_1.png
1tc22_1.png [ 30.04 KiB | Viewed 1184 times ]

Attachment:
1tc22_2.png
1tc22_2.png [ 36.3 KiB | Viewed 1184 times ]

Attachment:
1tc22_3.png
1tc22_3.png [ 34.28 KiB | Viewed 1184 times ]

Attachment:
1tc22_4.png
1tc22_4.png [ 29.38 KiB | Viewed 1184 times ]

Attachment:
1tc22_5.png
1tc22_5.png [ 27.33 KiB | Viewed 1184 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:13 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Now for that shift register PCB with all these odd operating modes, which gave me quite a headache: 1sr22

Image

Attachment:
1sr22_1.png
1sr22_1.png [ 32.96 KiB | Viewed 1183 times ]

Attachment:
1sr22_2.png
1sr22_2.png [ 40.25 KiB | Viewed 1183 times ]

Attachment:
1sr22_3.png
1sr22_3.png [ 37.77 KiB | Viewed 1183 times ]

Attachment:
1sr22_4.png
1sr22_4.png [ 35.15 KiB | Viewed 1183 times ]

Attachment:
1sr22_5.png
1sr22_5.png [ 24.08 KiB | Viewed 1183 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:17 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Now for the last part, the interrupts: 1i22

Image

The 100nF capacitors are hidden below the IC sockets.
Again I'm not sure if things are cycle exact, and you better check before trying to rebuild it.

Attachment:
1i22_1.png
1i22_1.png [ 38.87 KiB | Viewed 1183 times ]

Attachment:
1i22_2.png
1i22_2.png [ 30.28 KiB | Viewed 1183 times ]

Attachment:
1i22_3.png
1i22_3.png [ 41.19 KiB | Viewed 1183 times ]

Attachment:
1i22_4.png
1i22_4.png [ 34.17 KiB | Viewed 1183 times ]

Attachment:
1i22_5.png
1i22_5.png [ 42.09 KiB | Viewed 1183 times ]


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:19 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
Attachment:
1i22_6.png
1i22_6.png [ 22.25 KiB | Viewed 1183 times ]


...and I think that's the whole set of schematics.

Again: it was experimental, not everything was tested, you probably would have to build things a bit different,
all the hardware went scrapped years ago, and I don't remember much of all the details after all these years.

Good luck.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 5:27 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1393
(Muckraking around in a dusty drawer)
But wait: there is more.

Years ago I also did some paperwork for a 6522 TTL implementation, aiming at 20MHz.

Untested stuff, never built, a mere paper design, contains some odd tricks,
better analyze them schematics carefully before trying to put any of that circuitry into use.
...and better check, if timers and interrupts are cycle exact.

Here we go.

Attachment:
6522_1.png
6522_1.png [ 209.82 KiB | Viewed 1175 times ]

Attachment:
6522_2.png
6522_2.png [ 210.75 KiB | Viewed 1175 times ]

Attachment:
6522_3.png
6522_3.png [ 200.36 KiB | Viewed 1175 times ]

Attachment:
6522_4.png
6522_4.png [ 198.41 KiB | Viewed 1175 times ]


Address has to be stable before the _falling_ edge of PHI2,
same thing for data during write cycles.
IIRC there also is a trick for preventing ghost interrupts.

Again: good luck... and now: get off my lawn.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 6:36 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
Great work ttlworks!


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 04, 2019 8:18 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
Your construction is always amazing. Quite the eye candy!

_________________
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  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 59 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

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