Using Super Serial Commands in Basic [message #379851] |
Fri, 18 January 2019 18:45 |
|
Originally posted by: Chris Tobar
Hi all,
I FINALLY figured out how to connect 2 computers together with a serial cable! I'm still a bit new to working with vintage computers. I was trying to connect a Tandy 200 computer to my Apple II+. After a lot of reading and getting help from people online, I was able to get it working. I can type on the terminal mode in the Tandy 200 "Telcom" program, or use it to upload a text file and it shows up on the Apple II. But now I wanted to make a simple little program on the Apple II so that it will automatically set the baud, parity, etc so that I don't have to manually type in all the commands every time I start up the Apple.
The problem is that I just can't get the Super Serial Card to respond to control characters in a Basic program. It works fine in live, immediate mode but it won't do anything in a program. Other control characters work, but not ones to send commands to the serial card. On my card, you use Control-I to get the "Apple SSC:" prompt to type in commands. So I tried something like this for example to send commands to the serial card (in slot 1) and then set the parity to none and the Baud rate to 1200:
10 D$=CHR$(4)
20 S$=CHR$(9)
30 PRINT D$; "IN#1"
40 PRINT S$; "0P"
50 PRINT S$; "8B"
But when I try to run it, nothing happens. It just actually prints "0P" and "8B" on the screen instead of treating them like like commands to the serial card. When I try to test it by hooking up the Tandy 200, none of the settings were changed and so the connection doesn't work.
Does anyone have any idea what I'm doing wrong?
- Chris
|
|
|
|