diff options
Diffstat (limited to 'src/emu/sound/nes_apu.h')
-rw-r--r-- | src/emu/sound/nes_apu.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/emu/sound/nes_apu.h b/src/emu/sound/nes_apu.h new file mode 100644 index 00000000000..6f44c23cdf5 --- /dev/null +++ b/src/emu/sound/nes_apu.h @@ -0,0 +1,46 @@ +/***************************************************************************** + + MAME/MESS NES APU CORE + + Based on the Nofrendo/Nosefart NES N2A03 sound emulation core written by + Matthew Conte (matt@conte.com) and redesigned for use in MAME/MESS by + Who Wants to Know? (wwtk@mail.com) + + This core is written with the advise and consent of Matthew Conte and is + released under the GNU Public License. This core is freely avaiable for + use in any freeware project, subject to the following terms: + + Any modifications to this code must be duly noted in the source and + approved by Matthew Conte and myself prior to public submission. + + ***************************************************************************** + + NES_APU.H + + NES APU external interface. + + *****************************************************************************/ + +#ifndef NES_APU_H +#define NES_APU_H + +#include "sndintrf.h" + +/* AN EXPLANATION + * + * The NES APU is actually integrated into the Nintendo processor. + * You must supply the same number of APUs as you do processors. + * Also make sure to correspond the memory regions to those used in the + * processor, as each is shared. + */ +struct NESinterface +{ + int region; /* DMC regions */ +}; + +READ8_HANDLER( NESPSG_0_r ); +READ8_HANDLER( NESPSG_1_r ); +WRITE8_HANDLER( NESPSG_0_w ); +WRITE8_HANDLER( NESPSG_1_w ); + +#endif |