Purpose: Command a device on the serial bus to listen Call Address: $FFB1 (hex) 65457 (decimal) Communication registers: A Preparatory routines: None Error returns: See READST Stack requirements: None Registers affected: A |
Description:
This routine will command a device on the serial bus to receive data. The accumulator must be loaded with a device number between 0 and 31 before calling the routine. LISTEN will OR the number bit by bit to convert to a listen address, then transmits this data as a command on the serial bus. The specified device will then go into listen mode, and be ready to accept information.
How to Use:
EXAMPLE:
;COMMAND DEVICE #8 TO LISTEN LDA #8 JSR LISTEN