X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Fatari%2Ftvtype.s;h=76661bf7261ba29e7709502967330276928c55cd;hb=85885001b133e2dc320b6f6459259afa69784ca8;hp=84540b898e02f0ab1b56a3633472d9ca76982184;hpb=44fd1082ae807a0b6b4046c65914e20a7e27101c;p=cc65 diff --git a/libsrc/atari/tvtype.s b/libsrc/atari/tvtype.s index 84540b898..76661bf72 100644 --- a/libsrc/atari/tvtype.s +++ b/libsrc/atari/tvtype.s @@ -9,18 +9,18 @@ ; - .include "atari.inc" - .include "get_tv.inc" + .include "atari.inc" + .include "get_tv.inc" -.proc _get_tv +.proc _get_tv - ldx #TV::NTSC ; Assume NTSC - lda PAL ; use hw register, PALNTS is only supported on XL/XE ROM - and #$0e - bne @NTSC - inx ; = TV::PAL -@NTSC: txa - ldx #0 ; Expand to int - rts + ldx #TV::NTSC ; Assume NTSC + lda PAL ; use hw register, PALNTS is only supported on XL/XE ROM + and #$0e + bne @NTSC + inx ; = TV::PAL +@NTSC: txa + ldx #0 ; Expand to int + rts .endproc