Apollo 120 Personal Computer User Manual


 
User Manual version 2007
APOLLO 120/150 III
4-
49
The Digital I/O is of TTL interface. It is controlled via
software programming.
Digital I/O Programming
Input/output address: 208H
In_Data 0~3=SD0~SD1
Out_Data 0~3 SD4~SD7
EXAMPLE:
10 REM Digital I/O example program
20 X = INP (&H208) REM INPUT Digital I/O port
for 4 bit
30 X = OUT (&H208) REM OUTPUT Digital I/O port
for 4 bit
60 END
100 Return
Port 208H Definition