I want to build a RS-232 interface, but I don't know how to. Anyone know how or have any suggestions, and what is the best terminal software I can find?
RS-232
Moderator: Moderators
- Mike
- Herr VC
- Posts: 4976
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: RS-232
If you insist on +/- 12 V for the signal levels (because "TTL level" RS 232 wouldn't do), the schematics of the VIC-1011 VICModem are found here:floopy wrote:I want to build a RS-232 interface, but I don't know how to. Anyone know how or have any suggestions, [...]
ftp://ftp.zimmers.net/pub/cbm/vic20/sch ... 011005.gif
Depends on what suits your needs best. >:)and what is the best terminal software I can find?
o VICTerm 40
o Mighty Term 8192
o Plus Term
are those which are archived at zimmers, and there has been a lively discussion about RS232 applications in the Programming Section recently.
- Schema
- factor
- Posts: 1436
- Joined: Tue Mar 23, 2004 7:07 am
- Website: http://www.jammingsignal.com
- Location: Toronto, Ontario
Re: RS-232
Plus there is Jim Brain's EZ232, which has some details and schematic here:
http://www.commodoredungeon.com/images/ez232-2.pdf
More details here:
http://jbrain.com/vicug/gallery/ez232?page=1
Works fine on the VIC, I have one in a box somewhere. Dmackey used to make and sell them, he might still have a few:
http://www.n2dvm.com/blog/2016.html
http://www.commodoredungeon.com/images/ez232-2.pdf
More details here:
http://jbrain.com/vicug/gallery/ez232?page=1
Works fine on the VIC, I have one in a box somewhere. Dmackey used to make and sell them, he might still have a few:
http://www.n2dvm.com/blog/2016.html
Re: RS-232
Do you want to build a level shifter so you can use the builtin serial device or a complete replacement interface? The internal interface works but has some limitationsFloopy wrote:I want to build a RS-232 interface, but I don't know how to. Anyone know how or have any suggestions, and what is the best terminal software I can find?
- It's slow, 1200 baud is the top rate that's reliable (and only then from machine code)
- It's inefficient, because it uses bit banging it consumes significant CPU time in the NMI routines
- The hardware flow control is broken (a number of bugs that were eventually fixed in the C64)
If you're more ambitious then building a new RS-232 port using a UART is an option. Hooking up something like a 16550 (as originally used by PCs) is a bit more complex but you can then run at much faster speeds. You do have to write custom software to use it, of course.
I've built and used both solutions, it depends on what your end goal is.
Re: RS-232
Okay thank you everybody, that's all I wanted to know.
I find this amazing: I ask a question and a day or two later answers come. Sometimes I would spend hours searching for topics.
Thank you everybody for your time and knowledge.
I find this amazing: I ask a question and a day or two later answers come. Sometimes I would spend hours searching for topics.
Thank you everybody for your time and knowledge.
-Floopy
-
- Vic 20 Afficionado
- Posts: 354
- Joined: Thu Oct 13, 2016 11:35 am
- Location: Toronto
- Occupation: Programmer
Re: RS-232
srowe modestly did not mention that they created a wedge that replaces the VIC-20's buggy RS-232 kernal code.
Hardware flow control seems to work with this RS-232 wedge. (At least I can use the RTS line to 'pause' and 'unpause' the modem.)
Hardware flow control seems to work with this RS-232 wedge. (At least I can use the RTS line to 'pause' and 'unpause' the modem.)