1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-09 01:28:58 +00:00
cc65/libsrc/tgi/tgi_getcolorcount.s

16 lines
305 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 22.06.2002
;
; unsigned char __fastcall__ tgi_getcolorcount (void);
; /* Get the number of available colors */
.include "tgi-kernel.inc"
.export _tgi_getcolorcount
_tgi_getcolorcount:
lda _tgi_colors
ldx #0
rts