Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » Using Super Serial Commands in Basic
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Using Super Serial Commands in Basic [message #379851] Fri, 18 January 2019 18:45 Go to next message
Anonymous
Karma:
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
Re: Using Super Serial Commands in Basic [message #379861 is a reply to message #379851] Fri, 18 January 2019 20:56 Go to previous message
retrogear is currently offline  retrogear
Messages: 245
Registered: November 2012
Karma: 0
Senior Member
try PR#1 instead of IN#1 since you're sending characters

Larry G
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Integer Basic - AppleSoft Basic transfer problem
Next Topic: Heuristics SpeechLab 20A driver
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 22:26:20 EDT 2024

Total time taken to generate the page: 0.01961 seconds