]> git.sur5r.net Git - cc65/commitdiff
rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s 88/head
authorChristian Groessler <chris@groessler.org>
Tue, 4 Mar 2014 14:43:33 +0000 (15:43 +0100)
committerChristian Groessler <chris@groessler.org>
Tue, 4 Mar 2014 14:44:10 +0000 (15:44 +0100)
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