User Tools

Site Tools


base:detect_pal_ntsc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
base:detect_pal_ntsc [2016-12-27 02:39] tww_ctrbase:detect_pal_ntsc [2018-10-29 10:50] – [Sokrates' variant] mrr19121970
Line 1: Line 1:
-====== Detect PAL/NTSC ======+====== Detect NTSC/PAL ======
  
-Since you cannot rely on $02a6 to detect PAL/NTSC, you better do the check yourself. The theory behind these checks is simply that PAL and NTSC systems have different ammounts of rasterlines, which can thus serve as the basis for a detection check.+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, which can thus serve as the basis for a detection check.
  
 ===== J0x variant ===== ===== J0x variant =====
Line 67: Line 67:
  
 <code> <code>
 +    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