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

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: 6850 vs 6551
PostPosted: Fri Jul 25, 2014 2:00 pm 
Offline

Joined: Tue Oct 19, 2010 11:55 am
Posts: 8
Location: Sweden
Hello,
I am wondering if there are any differences between the 6850 and the 6551 when you look at it from the CPU's point of view?
........
Well, never mind. The 6850 has only one register select lines and the 6551 has two. What I would have liked to do is make a batch (1-10) of rs232 cardriges for the c64/128. I want to get my terminal on...


Top
 Profile  
Reply with quote  
 Post subject: Re: 6850 vs 6551
PostPosted: Fri Jul 25, 2014 9:17 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
GhstWlf wrote:
Hello,
I am wondering if there are any differences between the 6850 and the 6551 when you look at it from the CPU's point of view?
........
Well, never mind. The 6850 has only one register select lines and the 6551 has two. What I would have liked to do is make a batch (1-10) of rs232 cardriges for the c64/128. I want to get my terminal on...

The 6551 is easier to interface to the C-64/C-128 cartridge port than the 6850. This is one of the few situations where I would recommend use of the 6551.

That said, your choices of UARTs are not limited to the 6551 or 6850. Modern UARTs aren't too difficult to interface and offers advantages over the old stuff. It sounds as though you are contemplating building these cartridges for sale. I'd carefully think this through.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Last edited by BigDumbDinosaur on Sat Jul 26, 2014 4:24 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: 6850 vs 6551
PostPosted: Fri Jul 25, 2014 10:33 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
GhstWlf, welcome back! You haven't posted in years! We'd be interested to know what happened with your project of making an '816-based laptop similar to the TRS-80 model 100.

The C64 and C128 run slowly enough that any version of the '51 would keep up, so you don't need the WDC one if you have (or can get) older ones. The WDC one has the bug of the transmit-register-empty flag stuck, so you have to make sure your software gives enough time for the ACIA to send a byte before you feed it another and lose one. I have been using CMOS 51's (65c51's) from Rockwell and CMD for the last 25 years and have never had any trouble with them, although it would have been nice if the control for a couple of different things had not been merged into one bit. (I suppose the designers were trying to stay down to four registers and avoid adding another RS pin.) The NMOS '51 does have what I would consider either a serious bug or a really idiotic design; so I would avoid the NMOS. That said, the '51 does have an onboard baud-rate generator, unlike the 6850, and, if you want oddball or faster rates, you can still select to use an external clock, which I have done for MIDI which runs at 31.25kbps.

There's plenty more here in the forum archives about the '51 ACIA and other UARTs, so do a search.

_________________
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  
 Post subject: Re: 6850 vs 6551
PostPosted: Sat Jul 26, 2014 4:13 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
I have a cartridge port UART card that I designed for the C-128 that was built around the NXP 2692, with both ports brought out to a dual 8P8C receptacle. My original purpose in making this card was to do some C-128 software development in the Kowalski simulator and then ship the results from my UNIX box to the C-128 via high speed serial interface. However, I set aside the project because it looked like it would be time wasted on a system that seemed to be rapdily "sunsetting." Also, POC was in existence, so I focused on that instead of C-128 stuff.

The UART card uses a 16V8 GAL for glue logic and as far as I can tell, does work. I also started on developing a ROM to go with the card that plugs into the C-128's empty ROM socket and automatically wedges a driver in the kernel at boot time. I got as far as getting the initialization functions to work, plus printing a banner on the screen. It probably could be made to work with a C-64, since the cartridge port functions for the two machines are identical.

Attachment:
File comment: TIA-232 dual channel adapter.
acia_assy02.jpg
acia_assy02.jpg [ 381.86 KiB | Viewed 1967 times ]

Attachment:
File comment: TIA-232 dual channel adapter plugged into cartridge port.
acia_in_port01.jpg
acia_in_port01.jpg [ 973.47 KiB | Viewed 1967 times ]

Attachment:
File comment: TIA-232 dual channel adapter schematic.
serial_card.gif
serial_card.gif [ 185.79 KiB | Viewed 1967 times ]

Attachment:
File comment: TIA-232 dual channel adapter driver banner screen.
acia_boot_screen.jpg
acia_boot_screen.jpg [ 533.23 KiB | Viewed 1967 times ]

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 47 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: