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

All times are UTC




Post new topic Reply to topic  [ 59 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Sat Apr 06, 2019 2:14 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
This is, what happens when software coded to work with a "40 characters per line display" uses an "80 characters per line display":

Image

;---

Interlaced mode yes, but some conceptual problems in the circuitry:

Image

;---

But enough for this week.
UARTs are next.


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:12 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
The article about building a simple TTL UART in the link of my previous post
is related to a PCB from that old TREX project.

Attachment:
tuart.png
tuart.png [ 181.76 KiB | Viewed 653 times ]


But when trying to build an UART which supports different baud rates, parity,
variable word length and things like one and a half stop bits...
while trying to be "compatible" to an existing chip...
unfortunately is a much more complicated things to do.

For instance, consider to have three different clock domains in your design: CPU, RX, TX.
There are two different approaches to this:

1) you could try to synchronize the RX and the TX clock to the CPU clock.
Downside is, that this gives you a jitter in RX\TX which might be tolerable at low baud rates and a high CPU clock...
unfortunately, somebody might want to debug a CPU running at a low CPU clock frequency at a high baud rate.

2) you could try to synchronize Data and control signals between these three different clock domains,
what would bloat/complicate the circuitry a lot.

Unfortunately, I had voted for 2), and that's where the project had failed:
the more I had tinkered with the innards of the RX module, the less it worked.

Well, my TTL 6545 was sort of the "Klendathu edition": plenty of bugs at a considerable size.
For the TTL 6850\6551 project, bugs play in a different class of weigth... while being "nuclear powered".


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:22 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
Here we go:
X50, experimental TTL implementation of a 6850, FAILED (that's why I had reversed the colors of the picture)

Image

For "6850", plugged into the 1X51 backplane, we have:
1* 1C50, control module
1* 2F50, flag and status module
1* 2R51, receiver module
1* 2T51, transmitter module
1* G50, baud rate generator module
1* D51, RS232 level converter module

;-------------------------------------------------------------------------------------

X51, experimental TTL implementation of a 6551, FAILED (that's why I had reversed the colors of the picture)

Image

For "6551" plugged into the 1X51 backplane, we have:
1* 1C51, control module
1* 2F51, flag and status module
1* 2R51, receiver module
1* 2T51, transmitter module
1* G51, baud rate generator module
1* D51, RS232 level converter module

;==================================================================

What had failed, was the RX part (we later are getting to it), and the rest of the circuitry mainly was/is untested.

Noticed something ?
For economical reasons, the TTL 6850 and the TTL 6551 project both had used these modules:

1* 1X51 backplane
1* 2T51, transmitter module
1* 2R51, receiver module //FAILED
1* D51, RS232 level converter module


Last edited by ttlworks on Tue Apr 09, 2019 3:26 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:25 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
1X51 Backplane:

Image

Attachment:
1x51_1.png
1x51_1.png [ 30.4 KiB | Viewed 650 times ]

Attachment:
1x51_2.png
1x51_2.png [ 31.92 KiB | Viewed 650 times ]

Attachment:
1x51_3.png
1x51_3.png [ 40.04 KiB | Viewed 650 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:29 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
2T51 transmitter module:

Image

Attachment:
2t51_1.png
2t51_1.png [ 32.59 KiB | Viewed 649 times ]

Attachment:
2t51_2.png
2t51_2.png [ 44.49 KiB | Viewed 649 times ]

Attachment:
2t51_3.png
2t51_3.png [ 36.32 KiB | Viewed 649 times ]

Attachment:
2t51_4.png
2t51_4.png [ 36.77 KiB | Viewed 649 times ]

Attachment:
2t51_5.png
2t51_5.png [ 29.32 KiB | Viewed 649 times ]

Attachment:
2t51_6.png
2t51_6.png [ 33.22 KiB | Viewed 649 times ]

Attachment:
2t51_7.png
2t51_7.png [ 10.17 KiB | Viewed 649 times ]


If just looking at these schematics already gives you a headache... welcome to the club.


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:37 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
2R51, receiver module //FAILED

Image

It stubbornly had refused to work.
And the more I had tinkered with its circuitry, the less it worked.
(The '2' at the start of 2R51 is the hardware revision. No digit means first revision.)

When trying to build a TTL RX module, PLEASE consider taking a different approach.
Also, that variable length RX shift register isn't a beauty, consider taking a look at the 74259 bit addressable latch, too.

Attachment:
2r51_1.png
2r51_1.png [ 36.75 KiB | Viewed 648 times ]

Attachment:
2r51_2.png
2r51_2.png [ 43.7 KiB | Viewed 648 times ]

Attachment:
2r51_3.png
2r51_3.png [ 40.32 KiB | Viewed 648 times ]

Attachment:
2r51_4.png
2r51_4.png [ 34.75 KiB | Viewed 648 times ]

Attachment:
2r51_5.png
2r51_5.png [ 45.6 KiB | Viewed 648 times ]

Attachment:
2r51_6.png
2r51_6.png [ 45.42 KiB | Viewed 648 times ]

Attachment:
2r51_7.png
2r51_7.png [ 22.28 KiB | Viewed 648 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:41 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
D51, RS232 level converter module

Image

//Configuration jumpers are "borrowed" from Daryl Rictor's SBC-2.
//Daryl, thanks for making the SBC-2 schematics available to the public.

Attachment:
d51_1.png
d51_1.png [ 21.76 KiB | Viewed 648 times ]

Attachment:
d51_2.png
d51_2.png [ 38.25 KiB | Viewed 648 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:45 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
Now we are through with the modules used in both projects: the TTL 6850 and the TTL 6551.

1C50, control module, TTL 6850 only:

Image

Attachment:
1c50_1.png
1c50_1.png [ 34.88 KiB | Viewed 648 times ]

Attachment:
1c50_2.png
1c50_2.png [ 44.26 KiB | Viewed 648 times ]

Attachment:
1c50_3.png
1c50_3.png [ 32.59 KiB | Viewed 648 times ]

Attachment:
1c50_4.png
1c50_4.png [ 22.64 KiB | Viewed 648 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:48 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
2F50, flag and status module, TTL 6850 only:

Image

Attachment:
2f50_1.png
2f50_1.png [ 37.54 KiB | Viewed 647 times ]

Attachment:
2f50_2.png
2f50_2.png [ 27.17 KiB | Viewed 647 times ]

Attachment:
2f50_3.png
2f50_3.png [ 27.4 KiB | Viewed 647 times ]

Attachment:
2f50_4.png
2f50_4.png [ 17.06 KiB | Viewed 647 times ]

Attachment:
2f50_5.png
2f50_5.png [ 24.61 KiB | Viewed 647 times ]

Attachment:
2f50_6.png
2f50_6.png [ 27.6 KiB | Viewed 647 times ]

Attachment:
2f50_7.png
2f50_7.png [ 26.79 KiB | Viewed 647 times ]

Attachment:
2f50_8.png
2f50_8.png [ 19.7 KiB | Viewed 647 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:51 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
G50 baud rate generator module, TTL 6850 only:

The 6850 chip comes without a baud rate generator... and for debugging I just had to add one.

Image

Attachment:
g50_1.png
g50_1.png [ 26.57 KiB | Viewed 647 times ]

Attachment:
g50_2.png
g50_2.png [ 23.76 KiB | Viewed 647 times ]

Attachment:
g50_3.png
g50_3.png [ 26.76 KiB | Viewed 647 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:54 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
We are through now with the TTL 6850, now for the TTL 6551 specific modules.

;---

G51 baud rate generator module, TTL 6551 only:

Image

Edit: the 100nF capacitors are hidden below the IC sockets.

Attachment:
g51_1.png
g51_1.png [ 21 KiB | Viewed 647 times ]

Attachment:
g51_2.png
g51_2.png [ 35.88 KiB | Viewed 647 times ]

Attachment:
g51_3.png
g51_3.png [ 38.18 KiB | Viewed 647 times ]


Last edited by ttlworks on Tue Apr 09, 2019 4:09 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 3:56 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
1C51, control module, TTL 6551 only:

Image

Attachment:
1c51_1.png
1c51_1.png [ 39.28 KiB | Viewed 647 times ]

Attachment:
1c51_2.png
1c51_2.png [ 45.54 KiB | Viewed 647 times ]

Attachment:
1c51_3.png
1c51_3.png [ 36.83 KiB | Viewed 647 times ]

Attachment:
1c51_4.png
1c51_4.png [ 22.45 KiB | Viewed 647 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 09, 2019 4:06 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
2F51, flag and status module, TTL 6551 only:

Image

Attachment:
2f51_1.png
2f51_1.png [ 36.07 KiB | Viewed 646 times ]

Attachment:
2f51_2.png
2f51_2.png [ 27.07 KiB | Viewed 646 times ]

Attachment:
2f51_3.png
2f51_3.png [ 24.25 KiB | Viewed 646 times ]

Attachment:
2f51_4.png
2f51_4.png [ 16.23 KiB | Viewed 646 times ]

Attachment:
2f51_5.png
2f51_5.png [ 28.12 KiB | Viewed 646 times ]

Attachment:
2f51_6.png
2f51_6.png [ 36.25 KiB | Viewed 646 times ]

Attachment:
2f51_7.png
2f51_7.png [ 9.53 KiB | Viewed 646 times ]

Attachment:
2f51_8.png
2f51_8.png [ 18.11 KiB | Viewed 646 times ]


...and with this, I think the complete set of schematics for my TTL 65XX peripheral experiments now went through.
Thank goodness!

But now I need a break.

Cheers.


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 11, 2019 3:51 pm 
Offline
User avatar

Joined: Fri Nov 09, 2012 5:54 pm
Posts: 1431
Some failed prototypes (you recognize the pioneer by the arrows in his back):

Image

The project for building these experimental TTL peripherals took me three years.
I already was sure this would be going to be my last hobby electronics project from the start,
so I had lighted the candle at both ends.

In November 2015, when I had noticed that Drass started building the C74 TTL CPU in the forum
by using the one or other thing from my homepage, I just had to drop the tools I had been holding in my hands,
stopped my project, then rushed to the forum for giving support for his project.

And I'm still confident that this was the right thing to do.

The schematics in this thread still are at least 3 years away from "production quality",
and don't be fooled: building your own set of TTL 65xx peripherals will take a lot of time and effort,
you better build your own designs from scratch...
...preferrably by not using a bi_directional internal data bus like I did,
because this complicates calculating the timing a lot when trying to aim for speed.

Oh, and all of my old hardware already went scrapped some time ago, sorry.
The Elektor Junior computer (my very first computer) I had donated to a friend in this forum.
Cheers.


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

All times are UTC


Who is online

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