Commit graph pcem/src/sound_gus.c
Author SHA1 Message Date
SarahW
a7d006b637 Rewrote timer code.
The new code is based on timestamps, rather than delays. This eliminates the
need to update every timer in timer_process(), which cost a non-trivial amount
of CPU time on low-end machines.

This involved changes to every user of the timer code, so this change almost
certainly introduces bugs.
2018-08-02 22:06:10 +01:00
SarahW
69f0f7b01c Implemented 16-bit DMA support for GUS. 2017-06-16 20:46:11 +01:00
SarahW
6e51e8975e Sound buffer size now configurable. 2017-06-10 21:00:23 +01:00
SarahW
3fb4eae1b0 Fix a couple of uninitialised variables. 2017-05-24 21:51:03 +01:00
SarahW
a65411466e Corrected GUS IRQs when GF1 and MIDI IRQs are combined.
Corrected voice playback when rollover is enabled.
Fixes issues with Windows 3.1 GUS drivers.
2016-08-16 20:29:12 +01:00
SarahW
d2b6ea7fa3 Mix sound sources in 32-bit buffer, then clip to 16-bit for output. Fixes overflow in some situations, eg MegaRace on SB16. 2016-05-22 16:04:19 +01:00
TomW
91405ece3c Added missing stereo panning to GUS. 2016-03-14 18:00:16 +00:00
TomW
3a57341837 Refactored sound code - slight speedup. 2016-02-10 20:49:28 +00:00
TomW
4817a53619 Fixed terminal count on auto-init DMA. Fixed sound on All New World of Lemmings when using GUS. 2014-08-24 14:08:17 +01:00
TomW
2ca4ead570 Implemented preliminary S3 ViRGE 2D blitter emulation.
Misc ViRGE fixes.
Changes to memory mapping.
Changes to PCI handling.
Disabled 'AMI WinBIOS 486 PCI' due to incomplete chipset emulation.
Invalid GUS register reads no longer kill the emulator.
2014-03-20 14:03:55 +00:00
TomW
657aa19dd1 Devices can now be marked as not working, and disabled in release builds.
Video card menu now build dynamically from list.
2013-11-28 20:03:59 +00:00
TomW
bd873de9ac New 'available' function in device API, to determine whether required ROMs are available. Currently used when building soundcard menu, to remove AWE32 when required ROM dump is not present. 2013-11-04 18:23:15 +00:00
TomW
ae239603e7 Initialise GUS timers to 0xff - GUS & Adlib/SB should work together better. 2013-10-22 19:42:20 +01:00
TomW
72f934d141 Direct3D video output. Fixed redraw when DirectDraw/Direct3D device is lost. 2013-08-13 19:20:28 +01:00
TomW
58085bcc87 Re-organisation of video emulation. 2013-06-24 20:42:35 +01:00
TomW
f822488656 Add missing files from last commit. 2013-05-27 19:56:33 +01:00