Is there a way to tell if the roms are pal or ntsc (with hex-editor). I mean is there a way to determine the dumped roms on AtariAge are pal or ntsc? So far i found in some docs the following:
Only in the 2-port
FD32 AD 14 C0 LDA $C014 ;Read PAL register
FD35 29 0E AND #$0E ;Mask off bits 1-3
FD37 D0 0F BNE $FD48 ;Jump if system is NTSC
FD39 AD E7 BF LDA $BFE7 ;Read PAL byte in cart
FD3C C9 15 CMP #$15 ;Be sure it's a PAL cart
FD3E F0 08 BEQ $FD48 ;
FD40 C9 30 CMP #$30 ;
FD42 F0 04 BEQ $FD48 ;
FD44 29 02 AND #$02 ;
FD46 F0 FE BEQ $FD46 ;If it's not PAL cart hang system
and
PAL (Read $D014)
0 NTSC 1
If this computer is designed for the NTSC television standard (used in North America), the NTSC bits will all be set. If this computer is designed for the PAL standard (used in Europe), the NTSC bits will be clear.
On NTSC systems, vertical blank occurs at 60Hz. Since the computer's clock speed is tied to the television color frequency, and the chrominance signal is defined as 3.579545MHz, the CPU speed is 1.7897725MHz. There are 262.5 scan lines vertically and approximately 210 color clocks horizontally (taking out the delays for horizontal blanking and color burst. I forgot to write down the exact timing values before returning the book.)
On PAL systems, vertical blank occurs at 50Hz. The CPU speed is approximately 2.217MHz. (I don't have more detailed timing values for the PAL television standard. The number of scan lines is somewhere around 312, which may affect the vertical display ranges.)