Commit Graph

12478 Commits

Author SHA1 Message Date
Kagamiin~
0af83efb8f Correcting device name 2024-03-23 12:47:41 -03:00
Kagamiin~
6c519904fd Cleanup: miscellaneous 2024-03-23 12:23:32 -03:00
Kagamiin~
639f05d07c Small fixes 2024-03-23 01:09:49 -03:00
Kagamiin~
eee63d7312 Better function naming 2024-03-23 00:58:31 -03:00
Kagamiin~
922a403eb3 Cleanup: get rid of snd_ess.c; move ess to snd_sb.c/.h 2024-03-23 00:54:31 -03:00
Kagamiin~
eb6f4c1118 Fixing compiler warning about parentheses 2024-03-22 23:49:02 -03:00
Kagamiin~
d846a16826 Cleanup: some touch-ups here and there 2024-03-22 23:36:56 -03:00
Kagamiin~
8bfcfec280 Cleanup: clang-format 2024-03-22 23:07:12 -03:00
Kagamiin~
ad61672385 Rename ESFMu flag type to ebit 2024-03-22 22:21:27 -03:00
Kagamiin~
81029da950 Cleanup: rolling back extraneous change in cpu.h 2024-03-22 21:46:27 -03:00
Kagamiin~
f2091e3490 Cleanup: removing broken recording functionality 2024-03-22 21:36:41 -03:00
Kagamiin~
4b93999790 Cleanup: removing a bunch of logging statements 2024-03-22 21:30:23 -03:00
Kagamiin~
5e318dfce9 Updating ESFMu to version v1.2.6 2024-03-22 12:13:57 -03:00
Kagamiin~
d46e2ef7c8 Refactored ESFM timers; removed 16-bit clipping from ESFMu
Co-authored-by: OBattler <oubattler@gmail.com>
2024-03-22 11:57:17 -03:00
Kagamiin~
937537f78e Legacy microphone volume mapping 2024-03-22 11:17:34 -03:00
Kagamiin~
d41e791aec Fix bug introduced by last commit 2024-03-22 01:35:31 -03:00
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