libsrc/c16/get_tv.s: remove code duplication

Use the plus4 version of get_tv.s.
This commit is contained in:
Christian Groessler 2017-01-26 16:43:47 +01:00
parent cc8ecd836f
commit bba7c980e4
1 changed files with 1 additions and 27 deletions

View 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"