Max Horn
ca13989959
some incremental changes (more will follow, this is step-by-step optimzation, watch it happen in pseudo-real-time and color. icecream is sold at the entrance, please stop smoking
...
svn-id: r10636
2003-10-06 12:33:40 +00:00
Jamieson Christian
94134421bc
More performance optimizations
...
svn-id: r10629
2003-10-06 04:41:25 +00:00
Max Horn
a4150583cc
oops - that happesn if you incorrectly re-apply a broken patch =)
...
svn-id: r10628
2003-10-06 01:25:24 +00:00
Max Horn
ef485006b1
more optimizations
...
svn-id: r10627
2003-10-06 01:24:22 +00:00
Jamieson Christian
97d7223bca
Fix compiler warnings
...
svn-id: r10626
2003-10-06 01:08:38 +00:00
Jamieson Christian
f16775476f
The real YM2612 implementation. Portable,
...
and with significant performances optimizations
thanks to Fingolfin, or optimizing emperor. :)
svn-id: r10625
2003-10-06 01:01:31 +00:00
Jamieson Christian
a722d0601e
Preliminary preparation for new YM2612 FM emulator.
...
All the hooks are in, but actual implementation
needs to be checked for portability.
svn-id: r10615
2003-10-05 15:36:52 +00:00
Max Horn
17bf7b95aa
removed duplicate g_timer object (one was global, one was static to timer.cpp); set g_system earlier (might prevent a few race conditions)
...
svn-id: r10471
2003-09-28 21:08:48 +00:00
Jamieson Christian
7f707acfb6
Converted the MPU-401 timer to use the Timer class.
...
Since this was the only place where we were using
create_thread, that method should be removable now.
I also removed the midi_driver_thread overrides
for the MorphOS and YPA1 (Palm) backends. These need
to be tested by their respective porters.
svn-id: r10414
2003-09-26 14:05:33 +00:00
Jamieson Christian
a30eb131bb
Fix for Bug [810564] ALL: missing instruments with native MT-32
...
As defined in Patch [811623] MT-32 patch for Bug 810564
Added a channel mask to MPU-401 devices so that --native-mt32
may force the device to use only the subset of MIDI channels
actually supported by the MT-32. Also added a best-guess
interpretation of iMuse Part priority in the SysEx 0x00 msg,
since part priorities become more of an issue when the
channel count is cramped.
svn-id: r10409
2003-09-25 22:32:05 +00:00
Max Horn
9470c9f661
changed & documented the premixer semantics
...
svn-id: r10294
2003-09-18 16:01:33 +00:00
Torbjörn Andersson
3342a20578
Extend the ALSA version check to look at SND_LIB_MAJOR as well. They're
...
bound to hit 1.0 any year now.
Of course, this is completely untested.
svn-id: r10288
2003-09-18 07:27:48 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
925ddb1b86
moved declaration of error/warning/debug from engine.h to util.h
...
svn-id: r10151
2003-09-10 12:23:42 +00:00
Ruediger Hanke
191c4b9b8e
use startup message, avoid possible race condition on exit
...
svn-id: r9833
2003-08-23 18:03:17 +00:00
Jochen Hoenicke
d1391b8f2d
Changed adlib note priorities for small header games
...
svn-id: r9746
2003-08-17 19:31:10 +00:00
Jochen Hoenicke
3b75fa8d3c
Changed on_timer frequency in adlib so V3 SFX are correctly timed.
...
Changed V3 conversion code to adapt to the new (correct) speed.
svn-id: r9712
2003-08-15 16:40:17 +00:00
Travis Howell
124650e073
Remove debug code that shouldn't have been commit
...
svn-id: r9655
2003-08-13 12:16:42 +00:00
Travis Howell
b198fbc3bb
Add adlib music for indy3ega/loom and adlib sfx, patch #770862
...
svn-id: r9649
2003-08-12 16:09:41 +00:00
Jamieson Christian
dbc42e0fb3
Revamped the GM-to-FM emulation tables.
...
The new tables come directly from the Adlib driver
for the original Sam & Max distro. Sam & Max using
Adlib should now sound essentially identical to
the original distro ("a few more tests"), and other
games without specific Adlib support, such as Simon,
should sound a whole lot closer to the GM tonality.
Percussion support is now comprehensive for Sam & Max
and a lot more thorough for other games.
svn-id: r9605
2003-08-08 12:06:14 +00:00
Jamieson Christian
154e872d5a
Added generic send() option to MidiChannel.
...
This circumvents problems doing generic send()
calls to MidiDrivers that support more than
16 MIDI channels (i.e. Adlib). Because of the
way it interacts with MidiDriver, Simon could
have run into a problem if it tried to
allocate more than 15 Adlib music channels
(though this would only happen in very, VERY
rare circumstances).
Also fixed a problem with the channel
numbering scheme used by MidiDriver_Adlib,
in particular the percussion channel number.
svn-id: r9604
2003-08-08 11:54:24 +00:00
Max Horn
75db41750e
getting rid of g_mixer; removing lots of whitespace
...
svn-id: r9527
2003-08-05 23:58:24 +00:00
Max Horn
c431e229b3
removing whitespace
...
svn-id: r9526
2003-08-05 23:57:37 +00:00
Ruediger Hanke
c99f6980c7
Hotfixes ...
...
svn-id: r9514
2003-08-05 18:18:26 +00:00
Travis Howell
318a6dc408
Rvert this non-smallheader adlib change
...
svn-id: r9491
2003-08-05 12:43:03 +00:00
Travis Howell
8bf012d966
Add adlib music improvements for indy3/monkeyega/monkeyvga and cleanups from patch #770862
...
svn-id: r9480
2003-08-05 05:21:57 +00:00
Jamieson Christian
f6984add8f
Fixed unit'd var in Adlib driver
...
svn-id: r9195
2003-07-26 19:52:34 +00:00
Ruediger Hanke
5c9ebd053e
Some MorphOS port fixes
...
svn-id: r9136
2003-07-22 22:30:16 +00:00
Max Horn
b05e7de7bb
replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
...
svn-id: r9032
2003-07-15 02:16:33 +00:00
Jamieson Christian
c4455fc0fd
Fix for OOB Adlib frequencies
...
svn-id: r8907
2003-07-11 10:47:10 +00:00
Jamieson Christian
378856a693
Post FMOPL-reversion cleanup.
...
svn-id: r8906
2003-07-11 10:23:13 +00:00
Jamieson Christian
8b8b964aad
Reverted to "old" YM3812 (FMOPL) emulator code.
...
Until specific information regarding the benefits
of migrating to the new emulator can be made
available, the "old" code will remain in effect
for the benefit of slower hardware platforms such
as some WinCE-based devices.
svn-id: r8903
2003-07-11 07:14:21 +00:00
Jamieson Christian
39b37df37a
Fix for Bug [766984]: FOA: Adlib sound distortion
...
Added check for OOB note numbers when instantiating
Adlib registers with frequency information. Must check
WHY exactly we're getting OOB note numbers (and *way*
OOB, at that).
svn-id: r8902
2003-07-11 06:25:37 +00:00
Chris Apers
aba8284008
New thread emu
...
svn-id: r8837
2003-07-07 08:53:05 +00:00
Oliver Kiehl
c29d39fad7
fix compile
...
svn-id: r8814
2003-07-06 20:19:54 +00:00
Max Horn
85c467c6a0
fixed two leaks
...
svn-id: r8739
2003-07-04 13:16:48 +00:00
Max Horn
3ed9aae095
const correctness
...
svn-id: r8727
2003-07-03 22:06:13 +00:00
Max Horn
6598673ac3
cleanup
...
svn-id: r8718
2003-07-02 23:24:05 +00:00
Max Horn
c9d22c69a2
fixed volume controller (compared to the core midi backend, volumes are now equal; plus this is the logical implementation :-)
...
svn-id: r8642
2003-06-24 11:56:43 +00:00
Jonathan Gray
9ce9ce620f
fix typo
...
svn-id: r8495
2003-06-15 01:05:03 +00:00
Jamieson Christian
66af2e9861
Added MPU401 crash fix
...
svn-id: r8450
2003-06-12 17:34:34 +00:00
Torbjörn Andersson
f504809b87
Applied Jamieson630's race condition fix to the ALSA driver as well.
...
svn-id: r8440
2003-06-12 06:45:48 +00:00
Jamieson Christian
eb23eb1cd7
Removed unnecessary warning.
...
svn-id: r8436
2003-06-11 18:30:28 +00:00
Jamieson Christian
d2c952b315
Fixed race condition in MPU401 shutdown
...
svn-id: r8432
2003-06-11 05:54:46 +00:00
Jonathan Gray
738497ef14
actually sending the event helps too
...
svn-id: r8219
2003-06-01 03:39:44 +00:00
Jonathan Gray
220c2f6389
give alsa sysex more chance of working, still broken though
...
svn-id: r8218
2003-06-01 03:25:14 +00:00
Jamieson Christian
3103dfa1f3
Fixed SysEx errors
...
svn-id: r8212
2003-06-01 02:37:37 +00:00
Jamieson Christian
e2b2f8cc64
Fixed stupid SysEx error
...
svn-id: r8211
2003-06-01 02:25:07 +00:00
Jonathan Gray
8f4660fb5c
hopefully add sysex support to alsa midi backend
...
svn-id: r8210
2003-06-01 02:08:47 +00:00
Jamieson Christian
f047955b0d
Restored SEQ_MIDIPUTC SysEx approach
...
svn-id: r8208
2003-06-01 01:45:08 +00:00