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

17 lines
283 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"
.proc _tgi_getcolorcount
lda _tgi_colorcount
ldx #0
rts
.endproc