Add mapper 594 with expansion sound.

This commit is contained in:
NewRisingSun
2025-09-12 19:58:52 +02:00
parent 7c05fe4723
commit e9a0242248
7 changed files with 317 additions and 0 deletions

19
src/boards/msm6585.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef _MSM6585_H
#define _MSM6585_H
typedef struct {
uint8 whichNibble;
uint8 input;
int16 signal;
int32 count;
int32 hostClock;
int32 rate;
int16 step;
int (*getInput)(void);
} MSM6585;
void MSM6585_init (MSM6585*, int32, int (*)(void));
void MSM6585_reset (MSM6585*);
void MSM6585_setRate (MSM6585*, uint8);
void MSM6585_run (MSM6585*);
int32_t MSM6585_getOutput (MSM6585*);
#endif