1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/tgi/tgi_getcolorcount.s

16 lines
269 B
ArmAsm
Raw Normal View History

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