Patryk Obara
2310498f79
Merge branch 'svn/trunk' r4308
2020-01-13 00:52:10 +01:00
Peter Veenstra
51aecb14c6
Refinement of the checks, so no IRQ is raised when not in autodma mode.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4307
2020-01-12 17:51:04 +00:00
Patryk Obara
d726f59d83
Hide SoundBlaster autoexec line
2019-12-27 07:34:48 +01:00
Patryk Obara
b344344821
Properly fix warnings about unused variable
...
A workaround with no-op assignment fools the compiler and static
analyzer, but the proper fix cleans up this code as well.
2019-11-24 17:14:32 +01:00
Peter Veenstra
f923a8e644
a=a can trigger warnings as well. This should be hopefully do the trick.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4294
2019-11-22 07:28:27 +00:00
Peter Veenstra
db51b63554
Remove some old code and do an a=a to trick a compiler in non-debug mode
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4293
2019-11-20 07:17:12 +00:00
Peter Veenstra
a2e7d257e5
GenerateDMASound can generate sound even with input size is 0, so lets not do that. Might even be an option to skip this call entirely depending on the sblaster configuration (not sb.dma.autoinit)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4280
2019-11-06 08:59:40 +00:00
Sjoerd van der Berg
95ac285db1
Fix sblaster autoinit restart and improve the auto into single cycle transfer handling
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4278
2019-10-31 20:00:08 +00:00
Peter Veenstra
1fbaff47fc
Update year and address of FSF
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
ripsaw8080
e0a7ede037
Don't generate sound after DMA is masked at end of single-cycle transfer. Prevents issues with some games.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4176
2018-11-23 21:55:12 +00:00
Sjoerd van der Berg
72f8544723
Make autoinit exit work and prevent double single cycle transfers when quitting autoinit
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4174
2018-11-19 18:34:49 +00:00
Peter Veenstra
fdc5a06200
No irq generating when masking the IRQ channel. Fixes later sci games and bug #482 .
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4113
2018-06-11 14:51:22 +00:00
Peter Veenstra
5bb10db88b
Time keeps on ticking
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
fd7f929f9e
Updated stereo before using it.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4093
2018-04-09 10:47:34 +00:00
Sjoerd van der Berg
eb2448316b
Fix SBlaster issue with counter not being restarted with an autoinit transfer
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4077
2018-02-13 22:07:41 +00:00
Sjoerd van der Berg
d949fee410
Allow an autoinit transfer to go over into a single cycle transfer
...
Fixes Paddlers.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4066
2017-12-08 15:31:59 +00:00
Peter Veenstra
085c7a2f18
Update mixer volume calculations for the SBPRO1,2 and SB16. Thanks for the measurements James-F.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4022
2017-06-08 17:32:17 +00:00
Peter Veenstra
6cf39c1fc6
Years update
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
ripsaw8080
babb297c60
Add opl3gold option to oplmode setting. With this option the AdLib Gold music can be selected in Dune. Only FM music without effects (reverb, stereo enhancement, surround sound, etc.) is supported; and FM volume control, used in the CD-ROM version of Dune, does work.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3936
2015-09-20 23:39:55 +00:00
ripsaw8080
b9cb003a62
Setting SB input rate sets output rate, fixes Fasttracker II. Clear incomplete DSP command at reset, fixes Romancing Prince.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3926
2015-08-05 14:40:51 +00:00
ripsaw8080
6cec6d144b
Do less to update the frequency of an active SB DMA transfer, and include DSP command 0x41 (fixes SB16 sound in Tempest 2000). Handle DSP command 0x42 as unimplemented, because it is.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3896
2015-01-28 22:20:49 +00:00
Peter Veenstra
0f4c92ca32
Year update.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
ripsaw8080
3b2adeccbf
The SB DMA callback ignores previously selected, but not currently selected, DMA channels. Fixes Visual Player 2 with SB16.
...
Bits 0 and 4 of the SBPro mixer volume registers are always set. Fixes SBPro detection in Wolfenstein 3D, Alone in the Dark (European versions), Visual Player 2, and possibly others.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3850
2013-11-19 13:43:40 +00:00
Peter Veenstra
a5c6f014cc
Add small delay when raising IRQ, fixes Llamatron 2012 and Lemmings 3D.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3845
2013-11-11 12:59:54 +00:00
Peter Veenstra
2fea508f7f
Year update
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Peter Veenstra
41d307292b
Implement 0x7d. Fixed death by dark shadows (ripsaw)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3767
2011-12-08 13:08:58 +00:00
Peter Veenstra
1b74652bab
Update volume for cda mixer changes as well.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3746
2011-08-30 12:29:24 +00:00
Peter Veenstra
999f33de27
Update year. Remove CVS tags
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Sebastian Strohhäcker
2375c15de2
add function to manually trigger the 16bit sb IRQ (ripsaw; fixes sb16 detection for Assault Wing)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3699
2011-04-23 10:50:38 +00:00
Sebastian Strohhäcker
617fd7006d
fix sb halt/continue sequence when no transfer in progress (thanks to tcostin, fixes some GameWizard crash)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3696
2011-04-19 19:46:02 +00:00
Peter Veenstra
d7597b8dd8
soundblaster cd audio control (this is not the same as mscdex audio control). Thanks ripsaw.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3658
2010-11-06 14:00:46 +00:00
Sebastian Strohhäcker
2efab7ece3
update svn properties
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3653
2010-10-29 21:33:50 +00:00
Ralf Grillenberger
8d916cfa5a
- Fix SB16 16-bit interrupt cause identification (makes games using CT-VOICE.DRV work).
...
- Add SB16 identification bit for an older version of CT-VOICE.DRV
Thanks ripsaw8080.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3625
2010-07-28 20:18:04 +00:00
Ralf Grillenberger
461ffb6c40
Unload CMS/Gameblaster when sbtype is changed. Add GUS FM forwarding when Gameblaster is selected. Make some CMS tables const.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3566
2010-04-04 10:23:16 +00:00
Peter Veenstra
a78b2c4f8b
Update year
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +00:00
Ralf Grillenberger
bf5257415d
CMS/Gameblaster: add sbtype=gb, fix base addresses other than 220h, fix lack of sound when starting from autoexec, add autodetection (Thanks robertmo and Cloudschatze)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3523
2010-01-06 19:40:45 +00:00
Ralf Grillenberger
8021ebdb6c
Clear Soundblaster interrupt if needed. Fixes sound detection in Xenoball.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3521
2010-01-01 21:45:12 +00:00
Peter Veenstra
3c25b8e28f
Make Talking parrot happy. (ripsaw)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3514
2009-12-14 18:14:23 +00:00
Sebastian Strohhäcker
ee5f6c5a92
behave like the real thing
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3487
2009-10-25 16:22:22 +00:00
Sjoerd van der Berg
4ed39f7fd3
Set the correct dsp version for sb 1.5 ( thanks tryton )
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3444
2009-07-11 10:39:38 +00:00
Sebastian Strohhäcker
b58bbc5c36
doesn't like Bit8u (char) there
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3421
2009-06-10 17:44:59 +00:00
Sebastian Strohhäcker
4ad533c78f
use different sb detection for tandy dac initialization
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3418
2009-06-07 10:18:14 +00:00
Sebastian Strohhäcker
f5fc904ff5
better sb dsp reset mechanism (hal), fixes stmik-based applications;
...
add sb irq acknowledge logic
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3416
2009-06-06 15:45:31 +00:00
Peter Veenstra
150dd14433
Fix some warnings in pedantic mode. (another one).
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3351
2009-04-25 07:02:28 +00:00
Sebastian Strohhäcker
ce5ef7a254
fix 16bit mixer handling on bigendian machines (sb16 hdma, cdda for cd images), also see sf patches #1284246 and #1989569
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3324
2009-03-19 20:45:42 +00:00
Peter Veenstra
d584afc0ef
Rename mixer => sbmixer. Add Wari hack (beta2)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3277
2009-02-01 11:07:11 +00:00
Sebastian Strohhäcker
5f12dea767
reset dma request line on soundblaster reset (thanks to hal), fixes 3d bomber
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3219
2008-09-13 20:04:28 +00:00
Sebastian Strohhäcker
ba077a4d76
add/fix some undocumented sb16 dsp commands (asp/csp programming)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3212
2008-08-28 17:37:23 +00:00
Sebastian Strohhäcker
c78a9f6c03
fix/work around some gcc Wall warnings
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Sebastian Strohhäcker
6188566e38
add partial ega-only machine
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2992
2007-09-20 16:42:43 +00:00