Commit Graph

270 Commits

Author SHA1 Message Date
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
Jamieson Christian
c5ecbf65cb Another slight tweak to the EV_SYSEX code
svn-id: r8201
2003-06-01 00:14:04 +00:00
Jamieson Christian
3323aa4212 EV_SYSEX definition
svn-id: r8198
2003-05-31 23:27:19 +00:00
Jamieson Christian
5cfb556d67 EV_SYSEX based SysEx for -eseq
svn-id: r8197
2003-05-31 23:14:36 +00:00
Jamieson Christian
ef198afd7c Possible fix for -eseq SysEx
svn-id: r8196
2003-05-31 22:16:25 +00:00
Chris Apers
6054d1c517 Fix a sound problem on exit
svn-id: r8097
2003-05-29 12:09:33 +00:00
Chris Apers
2bb68e1278 Braces
svn-id: r8051
2003-05-28 18:36:29 +00:00
Max Horn
21b41a5456 cleanup
svn-id: r8037
2003-05-27 23:18:03 +00:00
Jamieson Christian
c6568530bd Revamped iMuse and Player classes. Player now uses MidiParser to parse its data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver".
Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser).

*** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! ***

This has been tested through the intros and a number of other scenes from MI2, FOA and S&M.

NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned....

svn-id: r7849
2003-05-23 04:19:47 +00:00
Max Horn
c152233f80 get rid of some tables
svn-id: r7834
2003-05-22 21:24:36 +00:00
Max Horn
9fb601cd3f silence 'Unknown MIDI effect' warning in Simon2
svn-id: r7785
2003-05-21 16:07:39 +00:00
Max Horn
7d4442fca5 yet more memoy init fixes
svn-id: r7727
2003-05-20 14:17:18 +00:00
Max Horn
fc7806b80d more memoy init fixes
svn-id: r7725
2003-05-20 14:08:33 +00:00
Max Horn
19f77c0381 init member vars
svn-id: r7722
2003-05-20 13:05:14 +00:00
Jamieson Christian
a8627b1da6 Fixed Adlib priorities for non-SCUMM games
svn-id: r7694
2003-05-19 19:04:39 +00:00
Jamieson Christian
c81b58d38e Implemented new Simon MIDI module, switching from MidiStreamer to MidiParser. Restructuring enables XMIDI support and vc_72 implementation. Various cleanup on MidiParser's and MidiDriver's.
svn-id: r7654
2003-05-18 23:55:53 +00:00
Jonathan Gray
cf54a63639 HAVE_CONFIG_H
svn-id: r7632
2003-05-18 13:39:02 +00:00
Jamieson Christian
c88e0b5301 Fixed Adlib sound problem on old (small header) games. Thanks for eriktorbjorn for the material that led to the solution.
svn-id: r7610
2003-05-17 17:20:27 +00:00
Jamieson Christian
66cbaa1df7 Moved SEQ driver to its own file
svn-id: r7605
2003-05-17 14:26:58 +00:00
Jamieson Christian
7e7719fd16 Possible fix for Windows SysEx transmissions
svn-id: r7525
2003-05-15 14:16:12 +00:00
Jamieson Christian
cb5d44bc12 Fixed tambourine percussion patch
svn-id: r7522
2003-05-15 01:17:33 +00:00
Jamieson Christian
979b465415 Added rudimentary Adlib percussion support.
Semantic fixes -- Adlib "MIDI Channels" are now "Voices"
Miscellaneous cleanup/streamlining.

svn-id: r7520
2003-05-15 00:05:32 +00:00
Max Horn
325c9b321c new fmopl (from adplug, which has it from mame; we can use it under the LGPL should we ever have to)
svn-id: r7328
2003-05-04 21:17:42 +00:00
Max Horn
38b6a9f090 palmos midi driver
svn-id: r7221
2003-04-30 12:46:02 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
a8c3057875 and more cleanup ....
svn-id: r6719
2003-03-06 18:30:44 +00:00
Max Horn
cc8f6f5ded added SysEx support to the CoreAudio midi backend - though I have no clue what effect this will have, or how I could test this...
svn-id: r6677
2003-03-03 22:39:04 +00:00
Travis Howell
ef67537f09 Add missing simon 1/2 adlib control codes, purpose unknown.
svn-id: r6596
2003-02-10 11:51:23 +00:00
Nicolas Bacca
2c755a1f31 Change AdLib emulation quality for slower devices - added PROP_GET_FMOPL_ENV_BITS and PROP_GET_FMOPL_EG_ENT
svn-id: r6573
2003-01-29 21:28:37 +00:00
Jamieson Christian
b942f42670 First-revision SysEx support for -ewindows.
svn-id: r6381
2003-01-10 14:40:22 +00:00
Jonathan Gray
8acd77b85e make alsa driver print out the correct port
svn-id: r6272
2002-12-30 06:24:59 +00:00
Ruediger Hanke
2d46b1e4d7 This could hardly work, how did this change? scratch head" morphos.cpp
svn-id: r6151
2002-12-25 21:46:35 +00:00
Ruediger Hanke
9e0e918397 Fix midi driver thread for MorphOS
svn-id: r6123
2002-12-25 12:36:29 +00:00
Ruediger Hanke
580df4d2d0 Moved MorphOS midi driver to backends/midi
svn-id: r6120
2002-12-25 12:02:27 +00:00
Jamieson Christian
65ee19610c Instrument definition revamp.
IMuseDriver abstract class removed.
IMuseGM is now IMuseDriver.
Miscellaneous cleanup.

svn-id: r6017
2002-12-18 13:22:40 +00:00
Jamieson Christian
fec55e0b57 Fixed Adlib compilation problem
svn-id: r6014
2002-12-18 07:53:45 +00:00
Jamieson Christian
71e7d1512f message.log
svn-id: r6012
2002-12-18 07:48:02 +00:00
Jonathan Gray
6c20dc48c7 fix up alsa after recent midi changes
svn-id: r5911
2002-12-12 03:22:30 +00:00
Jamieson Christian
8f419dcaa8 Fixed VC++ errors in Windows driver after streaming capability was removed.
svn-id: r5908
2002-12-12 01:35:57 +00:00
Max Horn
bf62494fd5 ripped out obsolete midi streaming code from backends (this may break Alsa/SEQ/Windows/Morphos compile, I tried my best, but you'll have to clean up after me)
svn-id: r5905
2002-12-11 16:09:58 +00:00
Max Horn
0602c7ed49 fixed legal header
svn-id: r5902
2002-12-11 02:38:38 +00:00
Jamieson Christian
7d3a423df7 Separated Windows MIDI driver into its own file
svn-id: r5901
2002-12-11 02:08:32 +00:00
Travis Howell
90b844d95e Compile fix
svn-id: r5895
2002-12-09 02:40:22 +00:00
Oliver Kiehl
a112545d7e split alsa from mididrv
svn-id: r5890
2002-12-08 20:47:42 +00:00
Max Horn
0ac3214fd5 started to split out the midi drivers
svn-id: r5889
2002-12-08 20:19:01 +00:00
Jamieson Christian
cc6c37e1ad Fixed Adlib instrument setup in old (GF_SMALL_HEADER) games.
Restored MT-32 emulation lost during restructuring.

svn-id: r5786
2002-12-01 15:51:29 +00:00
Oliver Kiehl
5215379191 fixed compile problems
svn-id: r5724
2002-11-26 20:14:12 +00:00
Jamieson Christian
973164a741 Restructured MIDI channel allocation architecture.
Adlib no longer suffers from 16-channel MIDI restrictions.
Fixes a regression in the MI2 intro music under Adlib.

svn-id: r5721
2002-11-26 16:54:58 +00:00
Oliver Kiehl
efb40c99e8 added .cvsignore
svn-id: r5714
2002-11-24 15:41:17 +00:00
Max Horn
afa6707b22 fixed warnings
svn-id: r5680
2002-11-21 19:19:14 +00:00
James Brown
2274a4f9de Update module.mk system for the new adlib driver
svn-id: r5679
2002-11-21 19:17:00 +00:00
Jamieson Christian
c9ed09e7df Revamped Adlib functionality.
IMuseAdlib is defunct.
New MidiDriver_ADLIB device.
Simon 1/2 now supports Adlib.

svn-id: r5677
2002-11-21 19:06:42 +00:00