mirror of
https://github.com/cc65/cc65.git
synced 2024-07-09 01:28:58 +00:00
16 lines
305 B
ArmAsm
16 lines
305 B
ArmAsm
|
;
|
||
|
; 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
|
||
|
|