mirror of
https://github.com/cc65/cc65.git
synced 2024-11-09 19:05:21 +00:00
20 lines
212 B
ArmAsm
20 lines
212 B
ArmAsm
|
;
|
||
|
; Christian Groessler, December 2000
|
||
|
;
|
||
|
; unsigned char get_tv(void)
|
||
|
;
|
||
|
; returns the TV system the machine is using
|
||
|
;
|
||
|
|
||
|
|
||
|
.include "atari.inc"
|
||
|
.export _get_tv
|
||
|
|
||
|
.proc _get_tv
|
||
|
|
||
|
lda PALNTS
|
||
|
ldx #0
|
||
|
rts
|
||
|
|
||
|
.endproc
|