
Section 4 Serial Controller
4.75
EXAMPLES
PRINT#1,"SPOLL 16"
Serial Poll device 16
INPUT#1,SPSTAT
Receive the Spoll status
IF SPSTAT AND 64 THEN…
Test
rsv
…
PRINT#1,"SPOLL"
Check the SRQ status
INPUT#1,SRQ
IF SRQ<>0 THEN…
If SRQ is asserted then …
PRINT#1,"SPOLL 10,12,16"
INPUT#1,SP10,SP12,SP16 Get SPOLL response from devices
10, 12 and 16.
Komentáře k této Příručce