What is the easiest way to interface a PC COM port to a Vic? I've seen plenty of RS232-TTL converters on Aliexpress with DB9 connectors on one side, 4 pins on the other with VCC, GND, TX and RX. Would I be able to use one of these and wire up the 4 pins to the Vic's user port?
I've done heaps of RS232 comms/serial programming in Windows and I'd like to have a play with talking to one of my Vics.
What baudrate would I be able to use - 1200baud max?
PC COM port to Vic interfacing
Moderator: Moderators
Re: PC COM port to Vic interfacing
Yes, these modules will work ok, although mine didn't last very long and I ended up building my own. Max baud rate, depends on what you are using on the VIC. There's no working hardware flow control by default.
Re: PC COM port to Vic interfacing
you pretty much want one that has RTS/CTS wired up - i'd just look (eg on jim brains site) for a c64 userport rs232 interface, it should work on vic20 too
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
Re: PC COM port to Vic interfacing
Thanks for the responses guys. Been a little busy to get round to playing with this yet (and I have to wait for the TTL/232 converters to arrive).groepaz wrote:you pretty much want one that has RTS/CTS wired up - i'd just look (eg on jim brains site) for a c64 userport rs232 interface, it should work on vic20 too
Do you really need the RTS CTS pins? The reason I ask is that I've never had to bother with hardware flow control for the past 15 years on the various projects I've worked on. Modems seemed to be the only devices that I found ever needed them. Is the communicating with the Vic more fiddly with it being older hardware? Perhaps it can't buffer as much data as modern devices so you need the flow control?
It was a silly idea, but I thought about driving the Vic to play music from my PC tracker program Sure, the Vic doesn't have a SID and is pretty simple sounding but I thought it could be a laugh to stream simple music commands to the Vic.
Re: PC COM port to Vic interfacing
the hardware flow control is essential for slow devices (like the VIC20, or any other 8bit computer for that matter). thats pretty much the reason for why it exists
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
Re: PC COM port to Vic interfacing
Would something like this do the trick? This has CTS and DTR pins - no RTS. From memory you don't connect CTS to CTS and RTS to RTS etc but I wouldn't know without further research.groepaz wrote:the hardware flow control is essential for slow devices (like the VIC20, or any other 8bit computer for that matter). thats pretty much the reason for why it exists
https://www.aliexpress.com/item-img/TB1 ... 0242.html#
Re: PC COM port to Vic interfacing
*shrug* how you connect them depends on their logic =P you cross rts/cts for nullmodem, but thats probably not what you got there. it makes sense to have only one of the two (the PC is kinda infinitely fast, the other side may be slow), but i forgot which goes in which direction =P
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
-
- Vic 20 Afficionado
- Posts: 346
- Joined: Tue Apr 14, 2009 8:15 am
- Website: http://wimbasic.webs.com
- Location: Netherlands
- Occupation: farmer
Re: PC COM port to Vic interfacing
Take a look at this one: http://sleepingelephant.com/ipw-web/bul ... 688#p64688
VICE; selfwritten 65asmgen; tasm; maintainer of WimBasic
Re: PC COM port to Vic interfacing
No, the KERNAL routines expect double inversion of CTS, DTR, RTS, DSR, see the schematic of the VIC-1011 hereSparkyNZ wrote: Would something like this do the trick? This has CTS and DTR pins - no RTS. From memory you don't connect CTS to CTS and RTS to RTS etc but I wouldn't know without further research.
http://www.zimmers.net/anonftp/pub/cbm/ ... 011005.gif