]> git.sur5r.net Git - cc65/commitdiff
libsrc/c16/get_tv.s: remove code duplication 370/head
authorChristian Groessler <chris@groessler.org>
Thu, 26 Jan 2017 15:43:47 +0000 (16:43 +0100)
committerChristian Groessler <chris@groessler.org>
Thu, 26 Jan 2017 15:43:47 +0000 (16:43 +0100)
Use the plus4 version of get_tv.s.

libsrc/c16/get_tv.s

index f6d82a3510a4aa1f0057693afc470f207bec0536..1bfe3db97a6ffe9e59eb8520f91e596b287e4f32 100644 (file)
@@ -1,27 +1 @@
-;
-; Ullrich von Bassewitz, 2002-12-03
-;
-; unsigned char __fastcall__ get_tv (void);
-; /* Return the video mode the machine is using */
-;
-
-        .include        "plus4.inc"
-        .include        "get_tv.inc"
-
-
-;--------------------------------------------------------------------------
-; _get_tv
-
-.proc   _get_tv
-
-        ldx     #TV::PAL        ; Assume PAL
-        bit     TED_MULTI1      ; Test bit 6
-        bvc     pal
-        dex                     ; NTSC
-pal:    txa
-        ldx     #0
-        rts
-
-.endproc
-
-
+.include "../plus4/get_tv.s"