
* This specification are subject to be changed without notice.
EM85000
APPLE DESKTOP BUS MOUSE CONTROLLER
4
11.6.1995
LISTEN R3 COMMAND
CODE
DESCRIPTION
Listen
SRQ
Device
ID
R3
(B13)
Address
Number
- - - -
B15
~
B8
B7~B0
3B
- - - - -
-
FF
Self Test.
3B
- - - - A3 A2 A1 A0 FE
Device will change to new address(A0~A3)if no collision
has been detected.
3B
- - - - A3 A2 A1 A0 FD
Device will change to new address(A0~A3)if no collision
and /Mkey is pressed.
3B
0 1 - 1 A3 A2 A1 A0 00
IF no collision has been detected,device will change to
new address (A0~A3)and set (or clear)SRQ depend on B13(R3).
3B
---- -
-
- -
01
2 counts/dot for X/Y axis.
3B
- - - - -
-
02
1 count/dot for X/Y axis.
1. LISTEN R3:Host transmits data to device.
2. IF mouse Address=3 and Command=Listen R3 then command data=3B.(Ref table 1)
3. B0 ~ B 15:R3 control register.
TABLE 4
REGISTER DESCRIPTION
REGISTER 0 (R0):mouse counter data.
B15 B14 B13
B12 B11
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
M
Y6
Y5
Y4
Y3
Y2
Y1
Y0
R
X6
X5
X4
X3
X2
X1
X0
1. X0 ~ X6:X direction counter data.
2. Y0 ~ Y6:Y direction counter data.
3. X6(Y6)=0:Positive count when mouse move to right(down).
X6(Y6)=1:Negative count when mouse move to left(up).
Negative count uses 2’S complement form.
4. R:When right key is pressed,B7 is cleared to zero,otherwise B7 status is set to one.
5. M:When main key is pressed,B15 is cleared to zero,otherwise B15 status is set to one.
REGISTER 3 (R3):control register.
B15 B14 B13
B12
B11 B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
0
EE SRQ
1
A3A2
A1A0D7
D6D5
D4
D3
D2
D1D0
1. D0 ~ D7:Device Handler ID number. (00h ~ FFh)
2. A0 ~ A3:Device Address can be changed when host send LISTEN R3 command with ID=00,FE,FD.
3. B12:Always be“1”.
4. SRQ:Can be set or cleared when host send LISTEN R3 command with ID=00.
SRQ=1:Device can transmit data to Host.
SRQ=0:Device can’t transmit data to Host.
5. EE(Exception Event status):No use=1.
6. B15:Always be“0”.
SIGNAL PROTOCOL
1. Attn(800us)+Sync(65us):Synchronous signal.
Host out Attn+Sync signals to tell device when to get command code.
2. Data and command code:Data bit is discriminated by pulse code modulation.