Function | Address | Description |
---|---|---|
ACPTR | FFA5 | Get data from the serial bus |
This routine gets a byte of data off the serial bus using full handshaking. The data is returned in the accumulator.
To prepare for this routine the TALK routine must be called first to command the device on the serial bus to send data through the bus. If the input device needs a secondary command, it must be sent by using the TKSA routine before calling this routine.
Errors are returned in the status word. The READST routine is used to read the status word.
Example:
JSRACPTRGet a byte from the bus
STAdata