]> git.sur5r.net Git - cc65/blob - libsrc/c64/mouseref.s
fb83c439f6faab0068f768c08a3587f931a45d10
[cc65] / libsrc / c64 / mouseref.s
1 ;\r
2 ; Pointer for library references by device drivers.\r
3 ;\r
4 ; 2013-06-23, Greg King\r
5 ;\r
6 \r
7         .export         mouse_libref, _mouse_adjuster\r
8 \r
9         .data\r
10 \r
11 mouse_libref:                   ; generic label for mouse-kernel\r
12 \r
13 ; A program optionally can set this pointer to a function that gives\r
14 ; a calibration value to a driver.  If this pointer isn't NULL,\r
15 ; then a driver that wants a value can call that function.\r
16 ;\r
17 ; The function might read a value from a file; or, it might ask the user\r
18 ; to help calibrate the driver.\r
19 ;\r
20 ; void __fastcall__ (*mouse_adjuster)(unsigned char *) = NULL;\r
21 ;\r
22 _mouse_adjuster:\r
23         .addr   $0000\r