Using the Serial Interface For those who wish to use the serial port, the input or output path of a program may be redirected to the serial port of your &make; computer. This is done by including the following module in the OS-9 kernel: ACIA51 - Serial Device Driver To load this module into the kernel enter the following command line: LOAD /D0/CMDS/ACIA51
Serial Printer Implementation For those with a serial printer, you can use the serial port in the redirection of a program's output path by including the following modifier at the end of a command line: >/P1 The baud rate of the serial port may be changed as follows: XMODE /P1 BAUD=3 This will change the baud rate to 1200 characters per second. For a detailed description of the baud rate see the XMODE command description.
Serial Terminal Implementation For those who wish to connect two &make; computers, running OS-9, together using the serial port, redirection of the input or output paths is possible using the following modifier at the end of a command line: >/T1 - for an output path </T1 - for an input path To pass a file of data between the two computers, one must be configured for input from the serial port and the other configured for output: Computer 1, BUILD TEXT </T1 - input to port Computer 2, BUILD <TEXT /T1 - output to port Using the above example, the text file on computer 2 will be transferred to a file called TEXT on computer 1. When the command line is entered on computer 1, the system will reply with a question mark and wait for information from the serial port. The command line on computer 2 will send data to the now waiting computer 1. A string of question marks will now be seen, this is the number of lines sent and recieved by the respective computers. To create a log-off sequence after such a transfer, use the DISPLAY command as follows: Computer 1, BUILD <TEXT /T1 ; DISPLAY 0A 0D >/T1