aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_adlib.cpp
AgeCommit message (Expand)Author
2006-03-12Renamed callback1 to primaryEffect and callback2 to secondaryEffect.Torbjörn Andersson
2006-03-12Cleaned up comment and did some more renaming:Torbjörn Andersson
2006-03-12- Renames some functions:Johannes Schickel
2006-03-12- Changes usage of regBx to regAx in primaryEffect2 (seems to be a bug introd...Johannes Schickel
2006-03-12Compensate for rounding errors in _samplesPerCallback by having readBuffer()Torbjörn Andersson
2006-03-12Corrects former commit which deleted sound file loading after the scene with ...Johannes Schickel
2006-03-12After several days, telling LordHoto over and over that "no, I don't think theTorbjörn Andersson
2006-03-12Music in the last two intro scenes plays now again with adlib.Johannes Schickel
2006-03-12Added debug message for the standard "note on" opcodes as well.Torbjörn Andersson
2006-03-12And now, for a change, some more renamings:Torbjörn Andersson
2006-03-12Added a block of comments about command parsing and timing. Perhaps it will beTorbjörn Andersson
2006-03-11Some more renaming:Torbjörn Andersson
2006-03-10More comments, and some very minor cleanup.Torbjörn Andersson
2006-03-10Added comment detailing what I believe I know about the remaining "unk"Torbjörn Andersson
2006-03-10Further guesswork: 'unk2' appears to be the priority of a sound, since theTorbjörn Andersson
2006-03-10Fleshed out some guesswork comments.Torbjörn Andersson
2006-03-10Renamed _unkOutputByte1 _curRegOffset. It doesn't always correspond to theTorbjörn Andersson
2006-03-10Added guesswork comments for stateCallback2_1() and its related functions andTorbjörn Andersson
2006-03-10Added guesswork comments for stateCallback1_1() and its related functions andTorbjörn Andersson
2006-03-10Fixed some obvious errors in the comments I added before.Torbjörn Andersson
2006-03-10Added some guesswork comments about stateCallback1_2() and related functionsTorbjörn Andersson
2006-03-10The calculateLowByte1() and 2() functions are used for calculating the "totalTorbjörn Andersson
2006-03-10Renamed "algorithm" "twoChan" to be more consistent with our MidiDriver_ADLIBTorbjörn Andersson
2006-03-10Since updateAndOutput2() is the only function that sets up wave forms andTorbjörn Andersson
2006-03-10Some more/updated comments.Torbjörn Andersson
2006-03-09- Removes deleted waitTicks prototype in KyraEngineJohannes Schickel
2006-03-09As LordHoto pointed out to me, updateCallback41() was slightly different afterTorbjörn Andersson
2006-03-09More cleanups and renamings:Torbjörn Andersson
2006-03-09Set down in comments what I know about _outputTable[], and what I suspect aboutTorbjörn Andersson
2006-03-09Corrected a few comments where I had mistaken the note on/off bit for one ofTorbjörn Andersson
2006-03-08Fixed tons of format string warnings for debug/error calls (including several...Max Horn
2006-03-08The adlib code was calling the Kyra delay() function instead of the Oystein Eftevaag
2006-03-06Renamed setTempo to update_setTempo, also fixed tempo handling (intro is too ...Johannes Schickel
2006-03-06More renamings: _unkTableByte1 is now _tempo, and updateCallback29() isTorbjörn Andersson
2006-03-06CleanupTorbjörn Andersson
2006-03-05Corrects implementation of updateCallback48.Johannes Schickel
2006-03-05Note to self: compile before commit.Torbjörn Andersson
2006-03-05The updateUnk6Value() appears to be some sort of random number generator, so ITorbjörn Andersson
2006-03-05Renamed output1() to adjustVolume(). I'm still uncertain exactly *how* theTorbjörn Andersson
2006-03-04Cleanup: output0x388(0xABCD) is now writeOPL(0xAB, 0xCD), which is slightlyTorbjörn Andersson
2006-03-02Changed timeing related variables to unsigned.Johannes Schickel
2006-03-01Oops forgot to enable music again.Johannes Schickel
2006-03-01Added debug calls to the adlib functions, also uses mixer samplerate now.Johannes Schickel
2006-03-01Fixed updateCallback11() according to LordHoto's directions, and renamed itTorbjörn Andersson
2006-03-01Renamed 'unk9' to a slightly more descriptive 'repeatCounter'. (I should haveTorbjörn Andersson
2006-03-01Use signed integers for jump offsets, so that the jump opcodes can jump bothTorbjörn Andersson
2006-03-01Cleaned up updateCallback36() and renamed it setVibratoDepth().Torbjörn Andersson
2006-03-01Cleaned up updateCallback35() and renamed it setAMDepth(). It looks like theTorbjörn Andersson
2006-03-01Minor cleanup and comments.Torbjörn Andersson
2006-02-28Added lock() and unlock() again to readBuffer.Johannes Schickel