Index

Function Name: ACPTR

Purpose: Serial - byte input
Call address: $FFA5 (hex) 65445 (decimal)
Preparation:

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

Description: ACPTR is a low-level serial I/O utility to accept a single byte from the current serial bus TALKer using full handshaking. To prepare for this routine, a device must first have been established as a TALKer (see TALK) and passed a secondary address if necessary (see TKSA). The byte is returned in .A. (Most applications should use the higher-level I/O routines; see BASIN and GETIN).

EXAMPLE:

	JSR	$FFA5	;input a byte from serial bus
	STA	data