CCP_TO_GID_FIL TER
;Return Itatul a. unlupported
;reltore to keybo.rd ISR Itate
;Record on return
;El(ecute ISR of parent
.Iource vector il this driver
;Get my parent 'I vector from my header
all. bll, di.
bp
;Load the jump table index
;1nto bp.
ah, RS_UNSUPPORTEO
al,MAX CCP2GID SYS FN
Ihort - CCP2GIO_bao_IYI_fn
C I :
wo rd
p
t r
blC,word ptr CI:la" blC
C
l C , wo r
d p
t rei:
I
a v- ex
d
le ,
wo r
d
p t rca: a." -
d
x
el,word ptr cl:lav:=el
ax
ah. RS_DONE
ah ,F ISR
g~
:
~~~g~~~~~:RENT
int
HP _ENTRY
CCP2GIO_IYltem function - init lubfunction
I ubt t 1
lubttl CCP2GID_IYltem function
mov
mov
mo"
SYSCALl
mov
moy
mov
mov
pop
mov
ire t
PARAMETERS
ON ENTRY:
ON EXIT:
REGISTERS ALTERED:
mov
~i :~~~g~~~8i~:
a.,,_
bx
; get
the ac.n code and check for
tel t
; PUI h or releale
j
z
but _pulh
but
-
releale:
or
da:D STATE .•
1
; ahow the rele.ae in
o
STATE by
jmp
IhorT Dutton_done
; Ie t t i ng the bit
but pUI h:
no t
al
; Ihow the fU'h in O_STATE by
and
dl:O STATE,a1
;cleari n
9
he bit
imp
IhorT button_done
but ton
-
done:
mov
.x ,word p t rca : s.v bx
;W.I but ton pUlhed or relealed?
.nd
.1,080H
or
bl, .1
;record in bx
xo r
bh, bh
I(or
ex,
C
l C
mov
dh ,T KC 8UTTON
jmp
I h
°
r
f
9
1
v e _ t
°
_p are n t
page
;··.ORIVER HEADER· ••••• ••••••••••• •• • •• •••••• ••• •••••• •• ••••••• ••••••••
NAME:
CCP2GID_IYltem function
OESCR~~~~~~~e~es~g~~n~~!o~~P;~~~1.~~~~~iem
function,
SF-START
SF--RE PORT STATE
SF:=VERSION_DESC
cmp
j .
~:!:ORIVER
HEADER················································ ••••••
NAME:
CCP2GIO_IYlt.", function - init Iubfunction
DESC.-IPTION:
Initialize. D.lcribe Record and Eleit., allocating a
OS.
xc
hg
mov
xo
r
leC
hg
jmp
CCP2GID_bad_IYI_' n'
mov
i ret
CCP2GID_SYSTEM
label
near
; CCP2GID_IYltem lubfunc.tion jumptable
CCP2GIO
tYI
ca.e'
-
-
dw
dw
dw
dw
MAX_CCP2GID_SYS FN
0100
0100
3C 06 90 90
0111
77 00
0113
87 E8
0115
8A 08
0117
32 FF
0119
87 E8
0118
2E: FF At! 0123 R
0120
0120
84 02
0122
CF
00C3
2E:
8B OE 0020 R
00C8
F6 Cl 80
00C8
74 06
OOCO
OOCO
08
06 0010
0001
EB 08
0003
0003
F6 00
0005
20 06 0010
OODQ
EB 00
OODB
0008
2E: Al 0020 R
OODF
24 80
00E1
OA 08
00E3
32 fF
00E5
33 CQ
00E7
B8 OQ
00E9
EB 00
00E8
OOEB
84 00
OOEO
82 18
OOEF
88 2E OOOA
00F3
CD Sf
OOFS
00F5
2E
88 IE 0020
OOFA
2E
88 OE 0022
OOFF
2E
8B 16 0024
0104
2E
8E 06 0026
010&
58
010A
84 06
010C
CF
0123
0123
0128
0125
0147
0127
0120
0129
0120
• 0006
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
3Q2
393
39'
395
396
397
398
399
400
401
402
403
404
405
406
407
408
40Q
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
483
464
465
452
Driver Writer's Guide
Need help?
Do you have a question about the Vectra and is the answer not in the manual?