Allow FDS conversion mappers to use FDS APU

This commit is contained in:
negativeExponent
2020-03-05 23:54:34 +08:00
parent 80b002a04e
commit 722154b93f
22 changed files with 381 additions and 288 deletions

12
src/fds_apu.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef FDS_APU_H
#define FDS_APU_H
void FDSSoundReset(void);
void FDSSoundStateAdd(void);
/* Used for fds conversion-based mappers to allow access to fds apu registers */
void FDSSoundPower(void);
DECLFR(FDSSoundRead); /* $4040-$407F, $4090-$4092 */
DECLFW(FDSSoundWrite); /* $4040-$407F, $4080-$408A */
#endif /* FDS_APU_H */