tinyrs, a fastrs clone in 256 bytes.

Discuss anything related to the VIC
Post Reply
tlr
Vic 20 Nerd
Posts: 567
Joined: Mon Oct 04, 2004 10:53 am

tinyrs, a fastrs clone in 256 bytes.

Post by tlr »

Tinyrs is 38k4 serial port transfer program for the VIC-20 with a memory
footprint less than 256 bytes.

Tinyrs implements the simplewrite and simpleread protocols of over5.
It can be used with the over5 client program, or it can be used as a
VIC-20 to VIC-20 transfer.

Full source code + an NvRAM version for the Mega-Cart included.

Download: tinyrs-1.0.tar.gz

Image
Diddl
Vic 20 Afficionado
Posts: 425
Joined: Wed Jun 10, 2009 3:18 am

Post by Diddl »

38k4 only by software? wow!

very nice and so small! :shock:
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

Very nice utility and many thank for your Mega-Cart tool.

May you suggest me a windows client for tests and there is a cable schematic from/to PC ?
Mega-Cart: the cartridge you plug in once and for all.
tlr
Vic 20 Nerd
Posts: 567
Joined: Mon Oct 04, 2004 10:53 am

Post by tlr »

nbla000 wrote:May you suggest me a windows client for tests and there is a cable schematic from/to PC ?
The window client is on the over5 page: here
Direct links: over5-20021117.tar.gz and over5-20021117-win32.zip

I've seen several schematics for a userport rs-232 converter. (only RxD and TxD are needed for the over5 protocol)
Can't remember where I saw one last. Does anyone have a link?

This is the original one by Commodore:
http://sleepingelephant.com/denial/wiki ... 2C_adapter
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

Then I need to buy a VIC1011-A interface using it with your Over5 program...
Since modern PCs uses the 9 pin serial port, I need also a 25 Pin to 9 Pin Serial Adapter for the VIC1011-A plus the cable to connect the PC and the Vic but do I need a null modem 9 pin cable or a normal 9 pin serial cable ?
Mega-Cart: the cartridge you plug in once and for all.
Diddl
Vic 20 Afficionado
Posts: 425
Joined: Wed Jun 10, 2009 3:18 am

Post by Diddl »

>Then I need to buy a VIC1011-A interface using it with your Over5 program...

No, a simple level converter does the job. Any mocrocontroller has same problem, it does need a level converter for communication with PC.

http://www.digisolutions.de/c5umbau/pegelwandler.html
http://www.elektronik-kompendium.de/sit ... storen.htm
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

Diddl wrote:No, a simple level converter does the job.
Thanks for the tip btw may be simple for you but not for me since I don't know German and I'm not familiar with low level hardware assembling.

It's much more easy for me to buy a VIC1011-A interface then build a "simple" level converter :wink:

PS: Someone has a Vic1011-A interface to sell ?
Mega-Cart: the cartridge you plug in once and for all.
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

Babelfish German -> Italian? Anyway I've seen build instructions for homemade RS232 interfaces float around previously. For that matter, I suppose a simple prlink/cbmlink cable won't work with this application?
Anders Carlsson

Image Image Image Image Image
tlr
Vic 20 Nerd
Posts: 567
Joined: Mon Oct 04, 2004 10:53 am

Post by tlr »

nbla000 wrote:Then I need to buy a VIC1011-A interface using it with your Over5 program...
Since modern PCs uses the 9 pin serial port, I need also a 25 Pin to 9 Pin Serial Adapter for the VIC1011-A plus the cable to connect the PC and the Vic but do I need a null modem 9 pin cable or a normal 9 pin serial cable ?
There a request in this thread: WTB: Vic-1011A
I think you would need a null modem cable.

Personally I have a Handic V24 interface together with a multihead (9 pin and 25 pin connectors in both ends) null modem cable.
Diddl
Vic 20 Afficionado
Posts: 425
Joined: Wed Jun 10, 2009 3:18 am

Post by Diddl »

Nicola, you could also use a Little USB for this.


You can connect little USB directly to your VIC and via USB to your PC. PC will supply a virtual COM port usable by any terminal program or any self written software.
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

Many thanks for all your suggestions, My problem is only in the vic side, I've a com port on my desktop but not on my vic :wink:

In the tlr's suggested post, i've found a nice item that is what I'm looking for if I don't find a Vic-1011A or similar.

Thanks again.
Mega-Cart: the cartridge you plug in once and for all.
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

I believe Ruud picked up a couple of RS-232 interfaces at my place, although unknown exactly which Commodore computers they fit. I don't think I have anything available although I have a small stash of MAX232 chips so I could probably cobble something up if desired. I even have one or two userport connectors available.
Anders Carlsson

Image Image Image Image Image
ruud
Vic 20 Devotee
Posts: 245
Joined: Wed Aug 04, 2004 11:26 pm

Post by ruud »

carlsson wrote:I believe Ruud picked up a couple of RS-232 interfaces at my place
Two, one with case, one without. I only found out later that it it was a RS-232 interface as well. FYI: it only contains a level converter. So the idea of using a MAX232 is good enough.

Code: Select all

    ___
   / __|__
  / /  |_/     Met vriendelijke groet, Ruud Baltissen
  \ \__|_\
   \___|       URL: www.baltissen.org

User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

ruud wrote:So the idea of using a MAX232 is good enough.
I don't know but I've this RS232 Serial Port To TTL Converter Module for DVD firmware modding, may I use it ?
Mega-Cart: the cartridge you plug in once and for all.
Diddl
Vic 20 Afficionado
Posts: 425
Joined: Wed Jun 10, 2009 3:18 am

Post by Diddl »

>I don't know but I've this RS232 Serial Port To TTL Converter Module for
>DVD firmware modding, may I use it ?

Yes, this is a correct level converter and will work.
Post Reply