Commit Graph

12462 Commits

Author SHA1 Message Date
Kagamiin~
3e539c630b Mixer code cleanup: fixing ESS volume calculation 2024-03-22 01:31:13 -03:00
Kagamiin~
c835a4d156 Uncluttering logs; making ESFM output work again (oops) 2024-03-22 00:32:57 -03:00
Kagamiin~
882b65de48 Implementing ESFM timer interface using 86Box's timers; dropping ESFMu's internal timer emulation
Co-authored-by: OBattler <oubattler@gmail.com>
2024-03-21 23:32:26 -03:00
Kagamiin~
56859a9173 Fixing ESPCM 2/2 2024-03-21 12:52:13 -03:00
Kagamiin~
40607b291d Fixing ESPCM 1/2 2024-03-21 12:52:13 -03:00
Kagamiin~
011b06441d Removing extraneous DSP update from ess_get_music_buffer_sbpro 2024-03-21 12:52:13 -03:00
Kagamiin~
6fc43a8082 Implement ESPCM_4 recording 2024-03-21 12:52:13 -03:00
Kagamiin~
416edcf1a5 Fix: clear espcm_sample_idx upon starting ESPCM DMA 2024-03-21 12:52:13 -03:00
Kagamiin~
9d54a78918 Implement ESPCM_3 decoding 2024-03-21 12:52:13 -03:00
Kagamiin~
e2200f8d75 Add tables for ESPCM_3 mode 2024-03-21 12:52:13 -03:00
Kagamiin~
f4c75226ef Implementing ESPCM decompression (incomplete) 2024-03-21 12:52:13 -03:00
Kagamiin~
0ed203cbd5 Mixer functions; recording (incomplete/commented out); set default IRQ to 5 2024-03-21 12:52:13 -03:00
OBattler
7ad48f8d29 Switching filter implementation to use SB16 filters; fixing CD audio volume 2024-03-21 12:52:13 -03:00
Kagamiin~
7c99887293 Implementing ESS DMA counter; handling disable of auto-init while DMA is turned on 2024-03-21 12:52:13 -03:00
OBattler
34be04ab80 Implementing command 0xF2 IRQ masking behavior 2024-03-21 12:52:13 -03:00
Kagamiin~
b59db332f0 Implement registers 0xC2/0xC3; sound now works in Win3.1 2024-03-21 12:52:13 -03:00
Kagamiin~
6d3f2c478b Fix port 388h being disabled erroneously; set filter freq on sample rate change 2024-03-21 12:52:13 -03:00
Kagamiin~
d3aa111ba3 Fix bug in command length override; fix some other stuff; logging galore 2024-03-21 12:52:13 -03:00
Kagamiin~
c76ada30b7 Some cleanup, implementing IRQ and DMA channel register update 2024-03-21 12:52:13 -03:00
Cacodemon345
b8ff131996 More changes 2024-03-21 12:52:13 -03:00
Cacodemon345
f4c2a9c3ac Logging aids 2024-03-21 12:52:13 -03:00
Cacodemon345
0362f563f6 Some fixes 2024-03-21 12:52:13 -03:00
Cacodemon345
2e9e20c078 Deal with edge cases where drivers use non-ESS playback route 2024-03-21 12:52:13 -03:00
Cacodemon345
552f595bc5 Fix AudioDrive detection on Windows 3.1
Sound is not working, and neither is MPU-401
2024-03-21 12:52:13 -03:00
Cacodemon345
2bdd5ca9bc Correct IRQ selection and detection fixes 2024-03-21 12:52:13 -03:00
Cacodemon345
6ae6ca1171 Fix OPL address decoding getting disabled for some reason 2024-03-21 12:52:13 -03:00
Cacodemon345
2446c4ebd4 Fix some stale functions 2024-03-21 12:52:13 -03:00
Cacodemon345
181d42610f Correct name of ESS device 2024-03-21 12:52:13 -03:00
Cacodemon345
a2b13cadbf ESS: implement mixer regs and fix ESS-specific DMA 2024-03-21 12:52:13 -03:00
Cacodemon345
dfa0ec6be8 Implement ESS identification mixer register 2024-03-21 12:52:13 -03:00
Cacodemon345
68f6779b2f Handle length reloading correctly 2024-03-21 12:52:13 -03:00
Cacodemon345
650b7e633b Minor fixing 2024-03-21 12:52:13 -03:00
Cacodemon345
d46e00e5a0 Autolen updating 2024-03-21 12:52:13 -03:00
Cacodemon345
6ab45767e5 Some cleanup and crash fixes 2024-03-21 12:52:13 -03:00
Cacodemon345
7f9f072b3e Add ESS ES1688 (COMPLETELY UNTESTED!!!) 2024-03-21 12:52:13 -03:00
Cacodemon345
e7e582cd74 Finish DSP part of ESS 2024-03-21 12:52:13 -03:00
Cacodemon345
eda528d98c ESS register read function 2024-03-21 12:52:13 -03:00
Cacodemon345
3f7fbc7467 Extended mode toggle 2024-03-21 12:52:13 -03:00
Cacodemon345
4369284f65 ESS register 0xA2 update function 2024-03-21 12:52:13 -03:00
Cacodemon345
3f72c788bd ESS bits for IRQ raise 2024-03-21 12:52:13 -03:00
Cacodemon345
97b239aed5 More small pieces of ESS emulation 2024-03-21 12:52:13 -03:00
Cacodemon345
d5dad279c4 ESSreg macro 2024-03-21 12:52:13 -03:00
Cacodemon345
8308f41069 A bit of ESS 2024-03-21 12:52:13 -03:00
Cacodemon345
d806ce250e ESFMu update 2024-03-21 12:52:13 -03:00
Cacodemon345
5d97fb886f Fix bad audio on ESFM emulation 2024-03-21 12:52:12 -03:00
Cacodemon345
e1badc3e0f ESFM update 2024-03-21 12:52:12 -03:00
Cacodemon345
2341b28c7f Add FM_ESFM type 2024-03-21 12:52:12 -03:00
Cacodemon345
12c64ab43d Fix incorrect internal name 2024-03-21 12:52:12 -03:00
Cacodemon345
eec49e4a76 Fix multiple symbol definition error 2024-03-21 12:52:12 -03:00
Cacodemon345
2fd511cc58 Add ESFMu for ESFM emulation 2024-03-21 12:52:12 -03:00