2002-07-07 10:30:31 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 23.06.2002
|
|
|
|
;
|
|
|
|
; void __fastcall__ tgi_setpalette (const unsigned char* palette);
|
|
|
|
; /* Set the palette (not available with all drivers/hardware). palette is
|
2014-06-30 09:10:35 +00:00
|
|
|
; ** a pointer to as many entries as there are colors.
|
|
|
|
; */
|
2002-07-07 10:30:31 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
.include "tgi-kernel.inc"
|
|
|
|
|
|
|
|
.importzp ptr1
|
|
|
|
|
2003-02-11 12:37:46 +00:00
|
|
|
.proc _tgi_setpalette
|
2002-07-07 10:30:31 +00:00
|
|
|
|
|
|
|
sta ptr1
|
|
|
|
stx ptr1+1
|
|
|
|
jmp tgi_setpalette ; Call the driver
|
|
|
|
|
2003-02-11 12:37:46 +00:00
|
|
|
.endproc
|
2002-07-07 10:30:31 +00:00
|
|
|
|