General Category > Lisa Workshop

Portconfig Exec Script

(1/1)

sigma7:
A script to configure Serial Port B with mostly the default values (9600 8N1, hardware handshake), but with a large buffer of 9000 bytes and without the automatic linefeed option.

Tested with 2MB RAM, I don't know if the ~8k buffer is viable with less RAM installed.

Usage:
Save the code below in a text file, eg. "portconfigB.text"

To execute it, from the main Workshop menu, type
r<portconfigb and return

You can save (a copy of) this (or any Exec script file) as CISTART.TEXT to have it run automatically when the Workshop starts up. I find this convenient when I am using a terminal for the console and have to reconfigure the serial port each time I reboot the Lisa.


--- Code: ---EXEC
{ to configure RS232 port B for 8N1, 9600 baud, 9000 buffer, hardware handshake }
{ save a copy as CISTART.TEXT to run automatically at startup }
RUN 'portconfig.obj' INPUT
b019600
1129000
30
8900
00
0Y
ENDRUN
ENDEXEC

--- End code ---

edit: Comment about available RAM

Navigation

[0] Message Index

Go to full version