Function | Address | Vector | Description |
---|---|---|---|
CHROUT | FFD2 | 0326 | Output a character |
This routine outputs a character to an already opened channel. Use the OPEN and CHKOUT routines to set up the output channel before calling this routine. If this call is omitted, data is sent to the default output device (number 3, the screen).
The data byte to be output is loaded into the accumulator, and this routine is called. The data is then sent to the specified output device. The channel is left open after the call.
Care must be taken when using this routine to send data to a specific serial device since data will be sent to all open output channels on the bus.
Unless this is desired, all open output channels on the serial bus other than the intended destination channel must be closed by a call to the CLRCHN routine.