base:detect_pal_ntsc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
base:detect_pal_ntsc [2017-01-02 21:33] – [Detect PAL/NTSC] moloch | base:detect_pal_ntsc [2019-05-15 20:11] – [Detect NTSC/PAL] silverdr | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Detect NTSC/PAL ====== | ====== Detect NTSC/PAL ====== | ||
- | Since you cannot rely on $02a6 to detect NTSC/PAL, you better do the check yourself. The theory behind these checks is simply that PAL and NTSC systems have different amounts of rasterlines, | + | Since you cannot rely on $02a6 to detect NTSC/PAL, you better do the check yourself. The theory behind these checks is simply that PAL and NTSC systems have different amounts of rasterlines, |
===== J0x variant ===== | ===== J0x variant ===== | ||
Line 67: | Line 66: | ||
< | < | ||
+ | SEI | ||
LDX #$00 | LDX #$00 | ||
w0 LDA $D012 | w0 LDA $D012 |
base/detect_pal_ntsc.txt · Last modified: 2020-11-11 01:49 by copyfault