From 49503665f4924c04e691358d1528728d656ae229 Mon Sep 17 00:00:00 2001 From: cpg Date: Mon, 4 Dec 2000 20:20:16 +0000 Subject: [PATCH] returns television system git-svn-id: svn://svn.cc65.org/cc65/trunk@546 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/tvtype.s | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libsrc/atari/tvtype.s diff --git a/libsrc/atari/tvtype.s b/libsrc/atari/tvtype.s new file mode 100644 index 000000000..ff09d8573 --- /dev/null +++ b/libsrc/atari/tvtype.s @@ -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 -- 2.39.5