CCP_TO_GID_FIL TER
0020
7? 7 7
0022
??? ?
0024
??? ?
0026
?
7??
0028
??? ?
002A
002A
80 FC 00
0020
74 OB
002F
80 FC 02
0032
75 03
0034
EQ
0100
0037
0037
B4 02
0039
CF
003A
CALL PARENT:
ISR Event Record of type T_REL18 or T_KC_BUTTON
.ge
••• DRIVER HEADER················································ ••••••
.......................................................................
; MS-DOS device driverl start at an offset of 0 rather than 100h.
•• 11 or Col
•• 1.
0
r Row
0008H
OOA2H
OOCCH
0012H
004EH
10000000B
;Key up or down
OFFH
;All off
004CH
;Ofhet of number of button 1n mou •• RAM
48
ATR_HP+ATR_DEVCFG+ATR ISR+ATR LOG+ATR CSHARE
AH •
0
1
F
ISR )
ax • ••
I
0'
val ue (
ex •
. d l 1 v.lue (
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
CCP2GID_ISR
Th1l function tr.nll.t •• vaUd ISR event
record into
:~~~e.~y~SRmE::~~n~.~~r~u~~~nt~:~o~~;~r~:lt~~~: ~:li~~g
dr1ver
driver with. return It.tUI of RS_DONE
NAME:
OESCRIPTION:
b~;~~~··················;;~~~···C~OE··················
;
CODE
legment public 'CODE'
assume
cl:COOE, ds:NOTHING
~~KEL
~AR
PARAMETERS
ON ENTRY:
ISR Event R.cord of type T KC HP_CCP
BP • V CCPGID
OS • tn1l driverl d.t • • egemnt
AH •
0 ( F
_ISR )
CCP2GID_DRIVER
ENOP
FAR
lubttl CCP2GID ilr function
• This 11 the MS-DOS device driver header.
It must be the first
thing
:
~~c:h~a~~~! ;~~m:~~e r~~~~;,~tl~~.HPB~e~~~~ ~6uDg6N~~Ojf~~;f·T~~fer-
· HEADER AREA AS AVAILABLE
MEMORY, EVEN ON AN ERROR. THE SYSTEM WILL
CRASH IF YOU DO.
, Thil il the only relident portion of the DOS driver, the relt
· of the DOS driver 11 returned to DOS memory.
;•...•..
~;o:~E;OE ~. ~ ;~~~ ~ ~~:::;;;:;:;; ~~:::~ ~; ~:.
CC
;2~
io:··
~~:: ~ ~:.~: :~~
r
d d
-1
; mol r k a I 1 a l t d r 1 v e r 1 n 1 is t
dw
08000h
dw
dev _I t rat egy
dw
dev int
db
• CCP2GIO·
db
14 dup
(1)
;
Pad 10
it iI
paragraph align.d.
lubttl CCP2GIO DRIVER Ma1n entry point
; ~;I;******************************************************************
; CS: R.lative Data Area For Driver
;**********************************************************************
.av blC:
dw
7
sav-c)(:
d w ?
.av-dlC:
d w ?
lav-e.:
d w ?
top:=hp_entry:
dw
7
;**********************************************************************
; Thil is the EX-BIOS installed driver CCP2GID.
;**********************************************************************
CCP2GIO ORIVER
PROC
FAR
-
c
mp
• h ,F IS R
; I
I
t h. fun c t ion F_ IS R.,
je
Ihorf CCP2GID_ISR
cmp
.h, F SYSTEM
;
It
t h. f unc t ion F_SYSTEM?
i
ne
CCP2GID_UNSUPPORTED
CCP2GID UNSUPPORtE'g:
CCP2GID_SYSTEM
mo'!
ah ,RS_UNSUPPORTED
: Th11 driver doesn't lupport
1ret
;any other funct10ns.
, This i I the I tar t
0
f MS - DOS d r i v e r po r t ion
0
f the cod e .
I t pre ten d I
,
:
l~i~ia!i~:~n~i~dc~~F~g~s~sive~ft~~gt~~~uy~i:o,~~tt~~d~1 ~~~e
will
; not be uled.
(Iection 1)
·
.
CCP2GID INSTALLED
V DOLITTLE
V-CCPGID
V-LHPMOUSE
V-SYSTEM
V=CCP
UP DOWN BIT
INYT BUT STATE
MSE RUM BUTTON
CCP1GID-DESC SIZE
CCP2GID=HP_ATTR
FF FF FF FF
8000
01AB R
0106 R
20 43 43 50 32 47
OE [
0000
0000
0000
0000
0004
0008
0008
OOOA
0012
• 0006
• 00A2
• OOCC
• 0012
• 004E
• 0080
• OOFF
• 004C
• 0030
• E608
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
2UI
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
lJJ
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
280
261
262
263
264
285
268
267
268
269
270
271
272
273
274
275
278
277
278
279
280
281
282
450
Driver Writer's Guide
Need help?
Do you have a question about the Vectra and is the answer not in the manual?