C64 TO KANTRONICS HOOK UP

FIRST YOU MUST ADAPT THE COMMODORE USER PORT TO KANTRONICS

COMMODORE USER PORT

1 2 3 4 5 6 7 8 9 10 11 12

* * * * * * * * * * * *

------------------------

* * * * * * * * * * * *

A B C D E F H J K L M N

LOOKING AT THE BACK OF COMPUTER OR BACK (WIRING SIDE) OF CONNECTOR

********TNC (DCE)********COMMODORE

PIN--------DB-25-----DB-9-----USER PORT (TTL)

NAME-----PIN #-----PIN #----PIN ID

TXD-------2-----------3 <=== M

RXD-------3-----------2 ===> B&C

SG---------7/1--------5 ==== N

RTS--------4----------7 <=== D

CTS--------5----------8 ===> K

DCD--------8----------3 ===> H

DSR--------6----------6 ===> L

MARK------11 (KAM) TO EXTERNAL SCOPE

SPACE-----18 (KAM) TO EXTERNAL SCOPE

ONCE YOU HAVE BUILT THIS CABLE YOU MUST CHANGE THE INTERNAL RS232/TTL JUMPER ON YOUR KANTRONICS UNIT TO TTL. MANY PROGRAMS WILL ONLY REQUIRE TXD, RXD AND SG. IF USING HARDWARE FLOW CONTROL RTS AND CTS WILL ALSO BE REQUIRED

AFTER THIS IS ALL DONE USE ANY TERMINAL PROGRAM TO CONNECT TO YOUR TNC OR USE THIS SAMPLE BASIC PROGRAM

BASIC TERMINAL PROGRAM FOR THE VIC 20/C-64

10 CLOSE2

20 OPEN2,2,3,CHR$(6)

30 GET#2,A$

40 REM

50 GET B$

55 IF B$=CHR$(133) THEN GOTO 100

60 IF B$<>""THEN PRINT#2,B$;

70 GET#2,C$

80 PRINT C$;

90 GOTO 50

100 CLOSE2

110 END

THE #1 KEY WILL RETURN THE C64 COMPUTER TO BASIC IF GRAPHICS CHARACTERS APPEAR, USE THE SHIFT KEY WITH THE COMMODORE KEY TO CHANGE THE CHARACTER SET.

CAUTION: THIS PROGRAM IS A SIMPLE EXAMPLE OF THE NECESSARY STATEMENTS REQUIRED TO CONFIGURE THE COMPUTER FOR OPERATION WITH A EXTERNAL DEVICE VIA THE RS232/TTL PORT. THIS PROGRAM WILL NOT DO FILE TRANSFERS OR BUFFERING OF DATA AND TYPING.

Back to home page