]> git.sur5r.net Git - cc65/blob - libsrc/c64/extra/tgimousedata.s
Added a way to show the default mouse pointer on C64 TGI (graphics) screens.
[cc65] / libsrc / c64 / extra / tgimousedata.s
1 ; C64 sprite addresses for the TGI mouse pointer
2 ;
3 ; 2017-01-13, Greg King
4
5 ; In order to provide a visible mouse pointer during TGI's graphics mode,
6 ; the object file "c64-tgimousedata.o" must be linked explicitly into
7 ; a program file.  Example:
8 ;
9 ; cl65 -t c64 -o program-file main-code.c subroutines.s c64-tgimousedata.o
10 ;
11 ; Note:  Currently, a program cannot have default
12 ; pointers for both text and graphic modes.
13
14 ; The TGI graphics mode uses VIC-II's 16K bank number three.
15 ;
16 ; Address of the TGI bitmap's color RAM
17
18 COLORMAP        :=      $D000
19
20         .export         mcb_spritepointer := COLORMAP + $03F8
21         .export         mcb_spritememory  := COLORMAP + $0400