From 361da29e51c2eb2a944a0fbfca854a040dd88fdc Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Tue, 4 Mar 2014 16:02:24 +0100 Subject: [PATCH] add get_tv() --- libsrc/atari5200/get_tv.s | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libsrc/atari5200/get_tv.s diff --git a/libsrc/atari5200/get_tv.s b/libsrc/atari5200/get_tv.s new file mode 100644 index 000000000..99cac3c48 --- /dev/null +++ b/libsrc/atari5200/get_tv.s @@ -0,0 +1,20 @@ +; +; Christian Groessler, 2014 +; +; unsigned char get_tv (void); +; /* Return the video mode the machine is using */ +; + + .include "get_tv.inc" + + +;-------------------------------------------------------------------------- +; _get_tv + +.proc _get_tv + + lda #TV::NTSC + rts + +.endproc