I want to use a program like this on a Tandy Model 100:
10 REM COM Port SetUp 9600 8N1???
20 PRINT "TRS-80 Model-100 is sending this out!"
30 GOTO 20
I need to know what line(s) to replace line 10 with?
Retrocomputing Stack Exchange is a question and answer site for vintage-computer hobbyists interested in restoring, preserving, and using the classic computer and gaming systems of yesteryear. It only takes a minute to sign up.
Sign up to join this communityI want to use a program like this on a Tandy Model 100:
10 REM COM Port SetUp 9600 8N1???
20 PRINT "TRS-80 Model-100 is sending this out!"
30 GOTO 20
I need to know what line(s) to replace line 10 with?
The BASIC is a rather straight Microsoft 8 bit variant, so just open COM as a file:
10 Open "COM:88N1" FOR OUTPUT AS 1
20 PRINT #1, "TRS-80 Model-100 is sending this out!"
30 GOTO 20
Values are:
See page 125 of the Model 100 Owner's Manual for a description of all parameters, as well as page 165 for the open command.
A more in depth description and tutorial examples is provided in the Model 100 Basic Language Lab by Lesson #14 Using the COM Option starting at page 165.