]> git.sur5r.net Git - cc65/blobdiff - libsrc/c128/get_tv.s
poor man's _toascii routine, contributed by Fatih Aygun
[cc65] / libsrc / c128 / get_tv.s
index a9ee2604c45848ea20db413ebd640cdf8f22eeea..c62de3ead163e6beeb74930d33f1a30ccc0533e0 100644 (file)
@@ -5,8 +5,7 @@
 ; /* Return the video mode the machine is using */
 ;
 
-        .export         _get_tv
-
+       .include        "get_tv.inc"
         .include        "c128.inc"
 
 
@@ -15,7 +14,7 @@
 
 .proc   _get_tv
 
-        ldx     #$01            ; Assume PAL
+        ldx     #TV::PAL       ; Assume PAL
         lda     PALFLAG
         bne     pal
         dex                     ; NTSC