Initial implementation of the Yamaha YMF-701 audio controller

This commit is contained in:
win2kgamer
2025-09-06 16:34:10 -05:00
parent 41dcee22b7
commit 5225b37448
6 changed files with 572 additions and 0 deletions

View File

@@ -69,6 +69,9 @@ typedef struct ad1848_t {
pc_timer_t timer_count;
uint64_t timer_latch;
pc_timer_t cs4231a_irq_timer;
uint8_t is_opl3sa;
int16_t buffer[SOUNDBUFLEN * 2];
int pos;
@@ -88,6 +91,7 @@ extern void ad1848_update(ad1848_t *ad1848);
extern void ad1848_speed_changed(ad1848_t *ad1848);
extern void ad1848_filter_cd_audio(int channel, double *buffer, void *priv);
extern void ad1848_filter_aux2(void* priv, double* out_l, double* out_r);
extern void ad1848_is_opl3sa(ad1848_t *ad1848);
extern void ad1848_init(ad1848_t *ad1848, uint8_t type);

View File

@@ -236,6 +236,9 @@ extern const device_t tndy_device;
extern const device_t wss_device;
extern const device_t ncr_business_audio_device;
/* Yamaha YMF-7xx */
extern const device_t ymf701_device;
#ifdef USE_LIBSERIALPORT
/* External Audio device OPL2Board (Host Connected hardware)*/
extern const device_t opl2board_device;