Basic/data/AD-PORT.BAS

12 lines
168 B
QBasic
Raw Normal View History

2014-04-30 20:24:00 +02:00
10 CLS
20 CROFF
30 a=PORT i(0)
31 b=PORT i(1)
32 c=PORT i(2)
33 d=PORT i(3)
35 POS 0,10
40 PRINT TAB (1);a;TAB (6);b;TAB (11);c;TAB (16);d
45 PORT o(6,a)
50 GOTO 30