How to set PAL-Flag in NSF-Header?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
How to set PAL-Flag in NSF-Header?
by on (#63726)
Hi, sorry for newbie question.
How to set PAL-Flag in NSF-Header?

http://kevtris.org/nes/nsfspec.txt
Code:
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?

by on (#63727)
Unless the player you use has a way of switching between NTSC and PAL you should probably set the byte to $01 instead.

by on (#63836)
Ok, thank you.