Commit Graph
6575 Commits
Author SHA1 Message Date
Jerome Fisher a158e884a0 - More cleanup.
- Note-on MIDI commands outside the range 12-108 are now raised/lowered by octaves until in range (instead of being ignored).

svn-id: r15802
2004-11-14 04:40:12 +00:00
Jerome Fisher 1aeca6838b MT32 MidiDriver:
- Cleanup

MT32Emu:
- Lots more cleanup.
- Properly implemented pitch bending (not fast, but theoretically perfect).
- Full position delta is now calculated before PCM interpolation/decimation is performed, so that pitch modifiers will be considered.
- Now reports when using SSE or 3DNow, and when the samplerate is invalid.

svn-id: r15801
2004-11-14 04:13:15 +00:00
Jerome Fisher 5e442766e5 MT32 MidiDriver:
- Channels now ignore effectLevel() and chorusLevel(), instead of sending unsupported control change messages to MT32Emu (they're not supported in a real MT-32, either, according to docs).
- Implemented setPitchBendRange() by sending a sysex write command to adjust the patch.
- _outputRate is now hard-coded at 32000, until tuning can be fixed for other sample rates.

MT32EMu:
- Extended File interface to deal with reading/writing 16/32-bit values endian-independently (they're always big-endian on file).
- Improved usage of packing-related pragmas.
- Should now be endian-agnostic (without depending on #defines for the endianness).

svn-id: r15800
2004-11-13 19:24:37 +00:00
James Brown 2ae3166f2d Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.
svn-id: r15799
2004-11-13 04:33:33 +00:00
Paweł Kołodziejski 22afdfc5c9 renamed file mt32
svn-id: r15794
2004-11-12 11:32:35 +00:00
Paweł Kołodziejski 6f8f614893 renamed file mt32
svn-id: r15793
2004-11-12 11:09:47 +00:00
Jerome Fisher e4f600ee48 - Minor improvement to failure handling.
svn-id: r15777
2004-11-10 10:50:47 +00:00
Max Horn cbfa7e3b5c Use the actual output rate of the sound mixer when producing MT32 audio samples -> by default only does 22.5 kHz -> it's now actually almost usable on my machine ;-). Alternative approach might be to hard code 32000 here
svn-id: r15775
2004-11-10 00:25:58 +00:00
Chris Apers e92da96760 Updated prefix file
svn-id: r15771
2004-11-09 11:56:45 +00:00
Chris Apers 28682e6d09 Major update :
- now modular
- modules are located on memory card and imported to storage memory when needed
- renamed AddArgs(..) -> ArgsAdd
- args related fucntions moved to args.* source files
- make some args passed even if no game was selected
- modules management stuffs

svn-id: r15770
2004-11-09 11:54:16 +00:00
Chris Apers fd2bde21d3 Init stuffs
svn-id: r15769
2004-11-09 11:50:04 +00:00
Chris Apers c9c862989a Updated based on last changes
svn-id: r15768
2004-11-09 11:49:07 +00:00
Chris Apers 27449a3254 - ARM call functions moved to init_arm.cpp
- Added new operators
- cleanup

svn-id: r15767
2004-11-09 11:48:12 +00:00
Chris Apers 5fd488b7a0 - operator new moved to extend.h
- bLauched var : to know if we have launched an engine
- new info panel
- sysAppLaunchCustomDeleteEngine : if the back to launcher option is disabled

svn-id: r15766
2004-11-09 11:46:50 +00:00
Chris Apers 2f6670bfcd New options
svn-id: r15765
2004-11-09 11:44:28 +00:00
Chris Apers c7653da156 Split main resource file into two parts :
- one with launcher only resource
- one with engine only resource
+ new info panel
+ updated game panel

svn-id: r15764
2004-11-09 11:39:34 +00:00
Chris Apers 5fc9d34542 Moved to init_arm.h
svn-id: r15763
2004-11-09 11:35:17 +00:00
Chris Apers 4fb01fd0fd Added Audio button
svn-id: r15762
2004-11-09 11:33:30 +00:00
Chris Apers 0f1a0f80b2 Use the new init stuffs
svn-id: r15761
2004-11-09 11:32:00 +00:00
Chris Apers 48c3ae226c New info panel (formsystem is now part of it)
svn-id: r15760
2004-11-09 11:30:52 +00:00
Chris Apers e40f30e81a Cleanup
svn-id: r15759
2004-11-09 11:27:15 +00:00
Chris Apers 6854c86eb2 Fixed potential crash
svn-id: r15758
2004-11-09 11:23:49 +00:00
Chris Apers d890d56502 Cleanup + sword1 support
svn-id: r15757
2004-11-09 11:17:45 +00:00
Chris Apers 54d55f2efd New options :
- lightspeed integration
- return to launcher on exit
+ cleanup

svn-id: r15756
2004-11-09 11:13:50 +00:00
Chris Apers ef2cc66363 New info panel + new audio skin button
svn-id: r15755
2004-11-09 11:12:59 +00:00
Chris Apers 3bed649682 Added engine selection
svn-id: r15754
2004-11-09 11:11:55 +00:00
Chris Apers 681159971c New folder
svn-id: r15753
2004-11-09 11:11:05 +00:00
Chris Apers 1232eb18dc Cleanup
svn-id: r15752
2004-11-09 11:08:32 +00:00
Chris Apers 9c7d87e710 New info panel handler
svn-id: r15751
2004-11-09 11:07:43 +00:00
Chris Apers 628d369c43 Adlib
svn-id: r15750
2004-11-09 11:07:07 +00:00
Chris Apers efb7ffe22f Added pre-init capability
svn-id: r15749
2004-11-09 11:06:40 +00:00
Chris Apers 8068fd40d4 Added Sword1 support
svn-id: r15748
2004-11-09 10:57:22 +00:00
Chris Apers 77618b5974 Check width instead of height, and use newly added header files
svn-id: r15747
2004-11-09 10:54:45 +00:00
Chris Apers 05da0f8eb8 Only with 320x[x] games
svn-id: r15746
2004-11-09 10:53:25 +00:00
Chris Apers 923e53724c New module code
svn-id: r15745
2004-11-09 10:50:30 +00:00
Chris Apers 58557e6457 Move common palm definitions
svn-id: r15744
2004-11-09 10:49:08 +00:00
Chris Apers 618971dd2f Gathered common functions into new source files
svn-id: r15743
2004-11-09 10:45:47 +00:00
Chris Apers 2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Max Horn daee2edcfe oops
svn-id: r15734
2004-11-08 10:17:47 +00:00
Max Horn 79509f9383 cleanup
svn-id: r15733
2004-11-08 10:16:07 +00:00
Eugene Sandulenko 6d38776da0 Fix it on LE systems. SCUMM_LITTLE_ENDIAN is defined in common/scummsys.h,
so it's a good idea to have that included before check :)

svn-id: r15732
2004-11-08 01:17:55 +00:00
Max Horn e759cf5522 Re-apply endian fix
svn-id: r15731
2004-11-07 18:25:32 +00:00
Torbjörn Andersson 6b3432a93e Be more consistent with the other module.mk files.
svn-id: r15719
2004-11-06 09:26:36 +00:00
Travis Howell b36be2d8bc Remove stray ;
svn-id: r15717
2004-11-06 05:18:04 +00:00
Eugene Sandulenko dee673d96e Improve reporting (OSD messages, file open errors) and fix typos.
Forgot to mention:

 o waveforms.raw is autogenerated if not present

svn-id: r15716
2004-11-06 02:20:43 +00:00
Eugene Sandulenko 805b21181a Major MT-32 emu overhaul based on KingGuppy's code.
o added configure option
 o mi2 intro doesn't freeze anymore and has no sound glitches
 o missing instruments in many titles are fixed
 o numerous memory overwrite bugs are fixed
 o code is cleaned a lot and splitted into many smaller files
 o mt32.cpp went to backends/midi
 o synced with upstream code
 o reverberation fixed

 * don't complain about File class wrapper :)
 * all custom types are back
 * #pragmas are to do
 * maybe some indentation is wrong too

I prefer smaller commits, but this thing came in one piece.

svn-id: r15715
2004-11-06 01:41:32 +00:00
Eugene Sandulenko 6fd31192e1 o Sync with upstream source
o Move back to old sawtooth filter, which sounds better

svn-id: r15683
2004-10-24 19:21:38 +00:00
Torbjörn Andersson 53d1021985 More cleanup. Too bored to continue now.
svn-id: r15682
2004-10-24 15:04:19 +00:00
Torbjörn Andersson 22581c3c10 More cleanup.
svn-id: r15681
2004-10-24 14:50:34 +00:00
Eugene Sandulenko 7b84693125 o Check size of waveforms.raw so output rate could be adjusted
o Eliminate rom_path, as we use our File class

svn-id: r15679
2004-10-24 13:03:42 +00:00