Page 1 of 1

How to set PAL-Flag in NSF-Header?

Posted: Mon Jul 05, 2010 2:57 am
by Eugene.S
Hi, sorry for newbie question.
How to set PAL-Flag in NSF-Header?

http://kevtris.org/nes/nsfspec.txt

Code: Select all

Here's an overview of the header:

offset  # of bytes   Function
----------------------------
007a    1   BYTE    PAL/NTSC bits:
                 bit 0: if clear, this is an NTSC tune
                 bit 0: if set, this is a PAL tune
                 bit 1: if set, this is a dual PAL/NTSC tune
                 bits 2-7: not used. they *must* be 0
Image

0000 0000 = 00Н = NTSC
0000 0001 = 01H = PAL
0000 0010 = 02H = NTSC/PAL

It's right?

Posted: Mon Jul 05, 2010 3:27 am
by mic_
Unless the player you use has a way of switching between NTSC and PAL you should probably set the byte to $01 instead.

Posted: Tue Jul 06, 2010 6:08 pm
by Eugene.S
Ok, thank you.