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