From: Christian Groessler Date: Thu, 26 Jan 2017 15:43:47 +0000 (+0100) Subject: libsrc/c16/get_tv.s: remove code duplication X-Git-Tag: V2.16~51^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bba7c980e44545cdb63bce4084f425a31ee8edec;p=cc65 libsrc/c16/get_tv.s: remove code duplication Use the plus4 version of get_tv.s. --- diff --git a/libsrc/c16/get_tv.s b/libsrc/c16/get_tv.s index f6d82a351..1bfe3db97 100644 --- a/libsrc/c16/get_tv.s +++ b/libsrc/c16/get_tv.s @@ -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"