Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29
Hi, sorry for newbie question.
How to set PAL-Flag in NSF-Header?
[color=yellow]http://kevtris.org/nes/nsfspec.txt
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
This is totally correct. Offset 7A is where you need to change the bit-value.
I see you did the logic correctly, too; 00h )0000 0000) is NTSC, 01h (0000 0001) is PAL & 02h (0000 0010) is both. They must be values of 00h, 01h or 02h because the file's header will be corrupted.
So you've followed the instructions in the text file perfectly.
If you're using FamiTracker, you don't need to export the music to NSF & hack it in a hex editor, though.
In FamiTracker, move your mouse to the top of the window & go to the Tracker option. Near the bottom of the list, you can choose between NTSC, PAL or a custom speed; click on PAL & you'll be able to export NSF files with offset 7A set to 01h automatically.
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
Thank you for answer, TechEmporium
I want to hack standard NTSC NSF-collection [color=yellow]http://akumunsf.good-evil.net/
and play it at 50FPS using NSFplay/NSFplug.
I want to recieve tempo like Famiclones (Dendy, MicroGenius, etc) system.