=> R0 = 2
R1 = EOR mask
R2 = AND mask
<= R1 = old contents of register
R2 = new contents of register
This SWI writes or reads the the control register sent to the printer port.
To read, use R1=0, R2=&FFFFFFFF.
Control register bits
Bit Meaning Port pin
0 Not Strobe 1
1 Not Autofeed 14
2 Init 16
3 Not SelectIn 17
4 IRQ enable
5 Direction
6 reserved
7 reserved
|
|
|