[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting baud rate on Super Serial Card from BASIC?
- Subject: Setting baud rate on Super Serial Card from BASIC?
- From: Heynony <nospam@noway.com>
- Date: Wed, 04 Dec 2002 10:26:43 GMT
- Newsgroups: comp.sys.apple2
- Organization: Not too organized at the moment
- User-agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
- Xref: archiver1.google.com comp.sys.apple2:24973
Can anyone help me change the baud rate setting from within a ProDOS
Applesoft BASIC program running on a //c. In other words I need a
command, or series of pokes, or a string to send, or something.
I would think the technique would not be specific to the //c but rather
to the Super Serial Card.
I have an application that PRINTs data to a device which seems to be
locked at 9600,N,8,1. Though I can set the //c to port at that speed
from the //c utility disk, the setting does not survive a computer
shutdown/restart, so I need to have the program force that setting each
time it is run from bootup.
I have examined STARTUP and SU on the //c Utilities disk with a view to
extracting some code but the method used is not obvious.
I know how to set the baud rate from the command line in terminal mode.
I suppose I could EXEC such a session from within the program and then
return if there's no more straightforward way. That seems really clumsy.
Maybe somebody has written a short BASIC program to set the baud rate
that I could imbed at the start of my program?
Any leads or hints would be greatly appreciated.