Appendix
App-26
PL-5700 Series User’s Manual
Operatio n
Input
O
utput
Joystick
R eading butto n
s tatus
AH =
DX =
84h
00h
AL = Butto n status
00h: Pres s ed
01h: Not pres s ed
B it 7: 2nd butto n status on 2nd
joystick
B it 6: 1s t butto n status on 2nd
joystick
B it 5: 2nd butto n status on 1s t
joystick
B it 4: 1s t butto n status on 1s t
joystick
R eading
res is tance value
AH =
DX =
84h
01h
AX =
B X =
C X =
DX =
R es is tance value of horizontal
coordinate of 1st joys tick
R es is tance value of vertical
coordinate of 1st joys tick
R es is tance value of horizontal
coordinate of 2nd joys tick
R es is tance value of vertical
coordinate of 2nd joys tick
Wait timer overwait
AH =
C X:DX =
86h
Wait time in µsec units
C Y=
=
0: S ucces s fully completed
1: Already triggered or not
s upported
Trans mitti ng
memory block in
protect mode
AH =
E S:SI =
87h
Top address in descriptor
ZF =
C Y=
AH =
=
=
1: S ucces s fully completed
1: Error
00h: Succes s fully completed
01h: R AM parity error
02h: Not in protect mode
E S:SI =
Dummy (00h)
G DI (00h)
S ource s egment
des criptor
Des tination segment
des criptor
B IOS C 5 (00h)
S S (00h)
C X = Number of words to
trans fer
E ngaging the
protect mode
AH =
B H =
B L =
E S:SI =
89h
Offset of ins ignificant
(mask) interrupt vector
address
Offset of s ignificant (s lave)
interrupt vector address
Top address in below table
C Y=
AH =
C S =
DS =
E S =
S S =
C Y=
AH =
0: S ucces s fully completed
00h
C S value specified in E S:SI table
DS value specified in E S:SI table
E S value specified in E S:SI table
DS value specified in E S:SI table
1: Error
F F h
C S dummy (00h)
G DI
IDT
DS
E S
S S
C S
TEMP B IOS (00h)