Initial Support for OPL2Board Arduino

This commit is contained in:
Jose Phillips
2024-12-01 18:07:35 -05:00
parent 7664ca1b62
commit d15342f46c
7 changed files with 758 additions and 3 deletions

View File

@@ -23,7 +23,8 @@ enum fm_type {
FM_YMF289B = 2, /* OPL3-L */
FM_YMF278B = 3, /* OPL 4 */
FM_ESFM = 4, /* ESFM */
FM_MAX = 5
FM_MAX = 5,
FM_OPL2BOARD = 6 /* OPL2BOARD (External Device)*/
};
enum fm_driver {
@@ -47,6 +48,7 @@ extern uint8_t fm_driver_get(int chip_id, fm_drv_t *drv);
extern const fm_drv_t nuked_opl_drv;
extern const fm_drv_t ymfm_drv;
extern const fm_drv_t esfmu_opl_drv;
extern const fm_drv_t ymfm_opl2board_drv;
#ifdef EMU_DEVICE_H
extern const device_t ym3812_nuked_device;
@@ -58,6 +60,8 @@ extern const device_t ymf289b_ymfm_device;
extern const device_t ymf278b_ymfm_device;
extern const device_t esfm_esfmu_device;
extern const device_t ym_opl2board_device;
#endif
#endif /*SOUND_OPL_H*/

View File

@@ -209,6 +209,9 @@ extern const device_t tndy_device;
extern const device_t wss_device;
extern const device_t ncr_business_audio_device;
/* External Audio device OPL2Board (Host Connected hardware)*/
extern const device_t opl2board_device;
#endif
#endif /*EMU_SOUND_H*/