mirror of
https://github.com/cc65/cc65.git
synced 2025-08-11 11:25:08 +00:00
returns television system
git-svn-id: svn://svn.cc65.org/cc65/trunk@546 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
19
libsrc/atari/tvtype.s
Normal file
19
libsrc/atari/tvtype.s
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
;
|
||||||
|
; 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
|
Reference in New Issue
Block a user