Use get_tv.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@3259 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -5,9 +5,8 @@
|
||||
; /* Return the video mode the machine is using */
|
||||
;
|
||||
|
||||
.export _get_tv
|
||||
|
||||
.include "../plus4/plus4.inc"
|
||||
.include "get_tv.inc"
|
||||
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
@@ -15,7 +14,7 @@
|
||||
|
||||
.proc _get_tv
|
||||
|
||||
ldx #$01 ; Assume PAL
|
||||
ldx #TV::PAL ; Assume PAL
|
||||
bit TED_MULTI1 ; Test bit 6
|
||||
bvc pal
|
||||
dex ; NTSC
|
||||
|
||||
Reference in New Issue
Block a user