]> git.sur5r.net Git - cc65/blob - libsrc/tgi/tgi_setpalette.s
Relocate register values outside structs, + more
[cc65] / libsrc / tgi / tgi_setpalette.s
1 ;
2 ; Ullrich von Bassewitz, 23.06.2002
3 ;
4 ; void __fastcall__ tgi_setpalette (const unsigned char* palette);
5 ; /* Set the palette (not available with all drivers/hardware). palette is
6 ; ** a pointer to as many entries as there are colors.
7 ; */
8 ;
9
10         .include        "tgi-kernel.inc"
11
12         .importzp       ptr1
13
14 .proc   _tgi_setpalette
15
16         sta     ptr1
17         stx     ptr1+1
18         jmp     tgi_setpalette          ; Call the driver
19
20 .endproc
21