FDS-NES problems - Porting to proper sound registers

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
FDS-NES problems - Porting to proper sound registers
by on (#41956)
I wanted to port music from FDS to NES using either Wavetable6-style DPCM emulation, Namcot106 or MMC5, But the problem is the entirely different registers. Did anyone do a simular project to port FDS to some other expansion?

I might even look at the WaveTable6 code more.
Re: FDS-NES problems - Porting to proper sound registers
by on (#41958)
Hamtaro126 wrote:
But the problem is the entirely different registers.

No, the main problem is that the hardware itself is entirely different. It's not a simple matter of remapping registers; you can't feed an MMC5 and an N106 the same commands and expect them both to work. You'd likely have to rewrite a good portion of the sound driver and music data.
Re: FDS-NES problems - Porting to proper sound registers
by on (#41959)
BMF54123 wrote:
Hamtaro126 wrote:
But the problem is the entirely different registers.

No, the main problem is that the hardware itself is entirely different. It's not a simple matter of remapping registers; you can't feed an MMC5 and an N106 the same commands and expect them both to work. You'd likely have to rewrite a good portion of the sound driver and music data.


Yep, That is really true.

I am better off doing something else, Thank you.

by on (#41962)
If the music engine has potential to write to NES' 2A03 registers, you could re-route the FDS channel so that it's threated as a 2A03 squarewave channel, and place the output on one of the two MMC5 channel which is almost identical, but lacks sweeping.