summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-09-26Move register read/write code into OPL library. Detect OPL in theSimon Howard
library code, so that we fall back to software emulation if we have port access but an OPL is not detected. Fix detection of ioperm in configure. Subversion-branch: /branches/opl-branch Subversion-revision: 1692
2009-09-26Don't use snd_mport to control OPL base I/O port; Vanilla doesn't doSimon Howard
this. Subversion-branch: /branches/opl-branch Subversion-revision: 1691
2009-09-21Implement pausing of music.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1688
2009-09-20Implement volume control.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1685
2009-09-20Remove old test code.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1684
2009-09-20Avoid possible overflow due to base note offset.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1683
2009-09-20Use the base note offset field to offset notes, not a fixed lookup tableSimon Howard
of instruments to offset. Subversion-branch: /branches/opl-branch Subversion-revision: 1680
2009-09-19Add octave offset table, offset notes on specific instruments down bySimon Howard
one octave, as per research. Subversion-branch: /branches/opl-branch Subversion-revision: 1678
2009-09-13Change intro/introa fix to be more accurate: Doom uses d_intro, butSimon Howard
transforms this to d_introa when using OPL playback (thanks entryway) Subversion-branch: /branches/opl-branch Subversion-revision: 1672
2009-09-12Remove separate volume calculations for non-feedback (separate operator)Simon Howard
voices. Doom writes the same value to both operators. Subversion-branch: /branches/opl-branch Subversion-revision: 1671
2009-09-12Vanilla Doom plays d_introa, not d_intro.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1670
2009-09-12Discard an existing voice when no voices are available (based onSimon Howard
research with Vanilla). Subversion-branch: /branches/opl-branch Subversion-revision: 1668
2009-09-11Implement the fine tuning field, based on research.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1664
2009-09-10Merge from trunk.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1662
2009-09-08Set the correct instrument voice, instead of using the first voice forSimon Howard
both. Subversion-branch: /branches/opl-branch Subversion-revision: 1661
2009-09-08Program two voices for double voice instruments.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1660
2009-09-07Implement pitch bend.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1658
2009-09-06Fixes for MSVC compile (thanks entryway).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1657
2009-09-01Loop songs (when appropriate)Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1654
2009-08-31Perform volume mapping on note and channel volumes before multiplyingSimon Howard
them. This gives voice volume values that are almost identical to Doom's. Subversion-branch: /branches/opl-branch Subversion-revision: 1653
2009-08-31Dont program an instrument if it is already set.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1652
2009-08-31Set the volume on both operators for instruments that use non-modulatingSimon Howard
voice mode. Subversion-branch: /branches/opl-branch Subversion-revision: 1651
2009-08-31Make channel volume work.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1650
2009-08-30Use fixed note on instruments with the fixed note flag set.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1649
2009-08-30Use milliseconds rather than microseconds, to avoid integer overflow.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1648
2009-08-30Make I_OPL_StopSong work.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1647
2009-08-30Use the pedal speed value for the volume. This sounds better, but it'sSimon Howard
still not right. Subversion-branch: /branches/opl-branch Subversion-revision: 1646
2009-08-30Set the right instrument for percussion notes.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1645
2009-08-30Initial, broken, volume level setting.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1644
2009-08-30Initial/basic MIDI track playback.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1643
2009-08-30Make some noise.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1640
2009-08-29MIDI_OpenFile -> MIDI_LoadFile.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1639
2009-08-29Use OPL_Delay to wait 1ms for timer to expire when doing OPL detect.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1638
2009-08-29Load MIDI file.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1637
2009-08-29Rename MIDI_OpenFile to MIDI_LoadFile, remove unneeded structureSimon Howard
packing. Subversion-branch: /branches/opl-branch Subversion-revision: 1636
2009-07-20Save and display the loading disk icon as a fixed 16x16 square, from anSimon Howard
image drawn at the bottom right corner of the screen. This seems to be the same as how Vanilla behaves, and fixes chook3.wad, that uses an STDISK replacement with an offset that pushes the image to the left. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1629
2009-07-13Add stdio.h include to fix MSVC build (thanks Kaiser)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1625
2009-07-13Merge from trunk.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1624
2009-07-12Fix compile with libsamplerate.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1620
2009-07-12On Windows CE, use the Windows API to find the amount of availableSimon Howard
memory, so that at least two megabytes are always left available to the OS. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1619
2009-06-16Automatically allocate a smaller zone size if it was not possible toSimon Howard
allocate the default 16 MiB. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1603
2009-06-13Don't post zero key events.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1602
2009-06-12On Windows CE systems without a keyboard, patch the default settings toSimon Howard
use hardware keys. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1600
2009-06-12Always grab input on Windows CE.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1597
2009-06-11Include libc_wince.a in chocolate-server build.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1595
2009-06-11Grab the input in setup when reading a new key binding, so that WindowsSimon Howard
CE buttons are read properly. Map buttons to PC function keys. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1594
2009-06-10Add key bindings for pause, message refresh.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1586
2009-06-08Use SDL's getenv/putenv implementation, and populate at startup.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1577
2009-06-07Use CreateFileW instead of OpenFile (doesn't exist on Windows CE)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1576
2009-06-07Use home dir to store configuration and savegames under Windows CE.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1573