Can I have the code for the Virtual Sound registers, Please

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
User avatar
Hamtaro126
Posts: 786
Joined: Thu Jan 19, 2006 5:08 pm

Can I have the code for the Virtual Sound registers, Please

Post by Hamtaro126 »

This is related to Sivak's 2 threads, Just in case, I made a seperate post.

To Sivak and/or Memblers: I am interested in using the (in)complete 2a03 (NES-6502) Source for use in a project using a modded (disassembled) .NSF file.

The Original Thread:
http://nesdev.com/bbs/viewtopic.php?t=3818

The New Thread:
http://nesdev.com/bbs/viewtopic.php?t=4149
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

To change some sound playback code to use "virtual" sound registers, use a good NES debugger, like FCEUXDSP.
Just set breakpoints on writes to sound registers, then modify the address of the sound writes to point to the 'virtual' sound registers instead.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
Hamtaro126
Posts: 786
Joined: Thu Jan 19, 2006 5:08 pm

Post by Hamtaro126 »

Dwedit wrote:To change some sound playback code to use "virtual" sound registers, use a good NES debugger, like FCEUXDSP.
Just set breakpoints on writes to sound registers, then modify the address of the sound writes to point to the 'virtual' sound registers instead.
I originally wanted to put the Sound RAM registers from a disassembled ''Hebereke.NSF'' into different slots. like putting $6700-68ff to 6700-68FF and $0080-$07FF to 6080-60FF. And since I am using SMB1, I am going to delete the sound and music code and data for the code to work

But there is one problem for the sound RAM: Registers only go to $0000 to $07FF. and it does not work there.

Does anyone know what is going on with the original plan?
Post Reply