Index

Function Name: CIOUT

Purpose: Serial - byte output
Call address: $FFA8 (hex) 65448 (decimal)
Preparation:

	Registers:	.A = data byte
	Memory:		system map
	Flags:		none
	Calls:		LISTEN
			SECOND (if necessary)
Results:
	Registers:	.A used
	Memory:		STATUS ($90)
	Flags:		none

Description: CIOUT is a low-level serial I/O utility to transmit a single byte to the current serial bus LISTENer using full handshaking. To prepare for this routine, a device must first have been established as a LISTENer (see LISTEN) and passed a secondary address if necessary (see SECOND). The byte is passed in .A. Serial output data is buffered by one character, with the last character being transmitted with EOI after a call to UNLSN. (Most applications should use the higher level I/O routines; see BSOUT.)

EXAMPLE:

	LDA	data
	JSR	$FFA8	;send a byte via serial bus