Add the Yamaha YMF-71x (OPL3-SA2/3) audio controllers (#6200)

* Initial implementation of the Yamaha YMF-71x (OPL3-SA2/3) audio controllers

* Give the Intel AN430TX its onboard YMF-715

* Forgotten change to snd_sb_dsp.c

* Disable logging, code cleanup

* Use 32K default SB DSP DMA buffer globally and remove the Yamaha subtype

* Hook up master volume control to the OPL3 as well

* Use custom CD audio filter to apply master volume

* Initial implementation of the OPL3-SA3 bass/treble controls

* Improve CD audio volume filter

* Implement the power management registers

* Move master volume recalc to its own function and update on register write

* Correct YMF-719 PnP ROM filename

* Cleanup
This commit is contained in:
win2kgamer
2025-09-20 23:32:11 -05:00
committed by GitHub
parent cc1dd22ad0
commit b268f95b19
9 changed files with 898 additions and 4 deletions

View File

@@ -15352,7 +15352,7 @@ const machine_t machines[] = {
.max_multi = 3.5
},
.bus_flags = MACHINE_PS2_PCI,
.flags = MACHINE_IDE_DUAL | MACHINE_APM | MACHINE_ACPI, /* Machine has internal video: ATI Mach64GT-B 3D Rage II */
.flags = MACHINE_IDE_DUAL | MACHINE_APM | MACHINE_ACPI | MACHINE_SOUND | MACHINE_GAMEPORT, /* Machine has internal video: ATI Mach64GT-B 3D Rage II */
.ram = {
.min = 8192,
.max = 262144,
@@ -15371,7 +15371,7 @@ const machine_t machines[] = {
.fdc_device = NULL,
.sio_device = NULL,
.vid_device = NULL,
.snd_device = NULL,
.snd_device = &ymf715_onboard_device,
.net_device = NULL
},
/* The BIOS sends KBC command BB and expects it to output a byte, which is AMI KBC behavior.