]> git.sur5r.net Git - cc65/commitdiff
Merge pull request #88 from groessler/something_to_pull
authorOliver Schmidt <ol.sc@web.de>
Tue, 4 Mar 2014 15:34:34 +0000 (16:34 +0100)
committerOliver Schmidt <ol.sc@web.de>
Tue, 4 Mar 2014 15:34:34 +0000 (16:34 +0100)
rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s

libsrc/atari/get_tv.s [new file with mode: 0644]
libsrc/atari/tvtype.s [deleted file]

diff --git a/libsrc/atari/get_tv.s b/libsrc/atari/get_tv.s
new file mode 100644 (file)
index 0000000..76661bf
--- /dev/null
@@ -0,0 +1,26 @@
+;
+; Christian Groessler, July 2004
+;
+; unsigned char get_tv(void)
+;
+; returns the TV system the machine is using
+; 0 - NTSC
+; 1 - PAL
+;
+
+
+        .include        "atari.inc"
+        .include        "get_tv.inc"
+
+.proc   _get_tv
+
+        ldx     #TV::NTSC       ; Assume NTSC
+        lda     PAL             ; use hw register, PALNTS is only supported on XL/XE ROM
+        and     #$0e
+        bne     @NTSC
+        inx                     ; = TV::PAL
+@NTSC:  txa
+        ldx     #0              ; Expand to int
+        rts
+
+.endproc
diff --git a/libsrc/atari/tvtype.s b/libsrc/atari/tvtype.s
deleted file mode 100644 (file)
index 76661bf..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-;
-; Christian Groessler, July 2004
-;
-; unsigned char get_tv(void)
-;
-; returns the TV system the machine is using
-; 0 - NTSC
-; 1 - PAL
-;
-
-
-        .include        "atari.inc"
-        .include        "get_tv.inc"
-
-.proc   _get_tv
-
-        ldx     #TV::NTSC       ; Assume NTSC
-        lda     PAL             ; use hw register, PALNTS is only supported on XL/XE ROM
-        and     #$0e
-        bne     @NTSC
-        inx                     ; = TV::PAL
-@NTSC:  txa
-        ldx     #0              ; Expand to int
-        rts
-
-.endproc