NSFDRV: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
No edit summary
Line 15: Line 15:


== File Format ==
== File Format ==
There is 8 bytes information of sound driver after NSF header.
This 8 bytes information is on actual rom image of 6502.


offset  # of bytes  Function
offset  # of bytes  Function
  ----------------------------
  ----------------------------
  $0000 - $007F      NSF Header
  $0000 - $007F      NSF Header (128byte)
  $0080 - $0085      Name of sound driver (ASCII)
  $0080 - $0085      Name of sound driver (ASCII)
  $0086              Version integral number
  $0086              Version integral number
  $0087              Version integral number
  $0087              Version integral number

Revision as of 13:35, 26 June 2020

NSFDRV is to Include the information of sound driver to NSF.


Background

A some old sound driver for chiptune has bug as follows.

  • In N163 audio, length of waveform is not set correctly.
  • FDC audio is not enable.

NSFDRV is to slove this problem.

  • NSF Player can detect sound driver, and can fix the bug of old sound driver such as mck.
  • User can assert that user's NSF is original easily. (NSF is not ripped data from rom.)
  • If occur BUG in sound driver, Developer can get information of version number from NSF file for the debug.

File Format

There is 8 bytes information of sound driver after NSF header. This 8 bytes information is on actual rom image of 6502.

offset # of bytes Function

----------------------------
$0000 - $007F       NSF Header (128byte)
$0080 - $0085       Name of sound driver (ASCII)
$0086               Version integral number
$0087               Version integral number