Music NES rom (VegaPlay)

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Music NES rom (VegaPlay)
by on (#118144)
Hello!

I want to create music NES rom with VegaPlay by No Carrier http://no-carrier.com/index.php?/vegaplay/ and I have a problem. My NSF file have big size with 1.5 song and not converted:

Big NSF files have this sign:
Load Address: 0x8000
Init Address: 0x8000
Play Address: 0x8003
and after converting appears this message: "value out of range". If nsf have little size (less than 50k) converting is ok and this address have variable values.

Also I used vrc6 mapper (24) :)
How to win this problem? Do you have any ideas?

Sorry for my horrible English, I'm just studying it :)
Re: Music NES rom (VegaPlay)
by on (#118161)
Vegaplay does not support NSF files over 30k because they require bank switching to work and the way that a NSF file switches banks is different than any standard NES mapper, so automatic conversion is not possible without editing the NSF.

What song files are you trying to convert? If it's music that you made in FamiTracker, FamiTracker has a NES file export option. Also consider using a more size efficient music engine or cutting down on the amount of DPCM samples you are using.

If you want to run NSF files on real hardware, you can use the PowerPak which supports the NSF mapper (but not all of the expansion sound chips at once).
Re: Music NES rom (VegaPlay)
by on (#118164)
Grapeshot wrote:
Vegaplay does not support NSF files over 30k because they require bank switching to work and the way that a NSF file switches banks is different than any standard NES mapper

Define "standard NES mapper". I know someone who plans to put the NSF mapper on a CPLD, just as the PowerPak has put it on an FPGA.

Quote:
so automatic conversion is not possible without editing the NSF.

Then the player should be structured such that writes go through one particular function, so that that function can be customized for UNROM, MMC1, MMC3, or NSF banking.
Re: Music NES rom (VegaPlay)
by on (#118167)
Quote:
What song files are you trying to convert? If it's music that you made in FamiTracker, FamiTracker has a NES file export option. Also consider using a more size efficient music engine or cutting down on the amount of DPCM samples you are using.

It's FamiTracker music. Separately one nsf song have size 5-10kb. When I combine their in one nsf file size rise to 60kb.

Quote:
If you want to run NSF files on real hardware, you can use the PowerPak which supports the NSF mapper (but not all of the expansion sound chips at once).

I want to use EverDrive N8 http://shop.retrogate.com/EverDrive-N8-Famicom-ver-EDN8.htm
Re: Music NES rom (VegaPlay)
by on (#118171)
tepples wrote:
Grapeshot wrote:
Vegaplay does not support NSF files over 30k because they require bank switching to work and the way that a NSF file switches banks is different than any standard NES mapper
Define "standard NES mapper". I know someone who plans to put the NSF mapper on a CPLD, just as the PowerPak has put it on an FPGA.
Getting horribly distracted with pedantry: By "standard NES mapper", well, it hasn't been allocated an iNES mapper nor a UNIF MAPR, and 10x4k PRG banking is unique to NSFs. And INL's not planning on making the NSF mapper exactly, but something equivalent that is incompatible with expansion audio.
Re: Music NES rom (VegaPlay)
by on (#125341)
Thanks all! Project released without vegaplay:

http://forums.nesdev.com/viewtopic.php?f=22&t=11003