aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
2010-07-10SCI: removing hoyle workaround from kAbs & signature and adding it into ↵Martin Kiewitz
workaround table svn-id: r50790
2010-07-10SCI: added signatures for kGraph, removed isDummy boolean from KernelFunctionMartin Kiewitz
svn-id: r50786
2010-07-09SCI: improve error message on subcall signature mismatchMartin Kiewitz
svn-id: r50774
2010-07-09SCI: adding workaround support for kernel subcalls, cleanupMartin Kiewitz
svn-id: r50770
2010-07-09SCI: removing origName from KernelFunction struct, adding debugCalls boolean ↵Martin Kiewitz
for later use svn-id: r50769
2010-07-09SCI: implemented subsignatures for kDoSoundMartin Kiewitz
svn-id: r50755
2010-07-08SCI: part of subfunction signature&mapping implemented, little cleanupMartin Kiewitz
svn-id: r50750
2010-07-06SCI: Simplified op_div and op_mod, removed some variables and removed the ↵Filippos Karapetis
pointless OBJ_PROPERTY wrapper svn-id: r50719
2010-07-04SCI: Removed the unused line number parameter from validate_variable() and ↵Filippos Karapetis
related functions svn-id: r50654
2010-07-04SCI: Added a short description for all opcodes, so that it's easier to ↵Filippos Karapetis
understand what they do without cross referencing the wiki, and removed some obsolete and unused code svn-id: r50645
2010-07-01Added a workaround for an unitialized variable in GK2Filippos Karapetis
svn-id: r50580
2010-07-01Accidentally missed this file in commit 50577Lars Skovlund
svn-id: r50578
2010-07-01SCI: added another workaround for uninit temps, this time for jones/cdMartin Kiewitz
svn-id: r50574
2010-07-01SCI: Mark the ShiftScreen, ListOps and ATan SCI1 kernel functions as unused ↵Filippos Karapetis
(dummy) - we haven't seen them being used anywhere. Added a check and an error in case a kernel function which is considered to be unused is called. svn-id: r50567
2010-07-01SCI: Added workarounds for 2 uninitialized reads in Jones floppy (EGA and ↵Filippos Karapetis
VGA), and added information on the SQ6 uninitialized workarounds svn-id: r50562
2010-07-01Added a workaround for an uninitialized temp read in KQ6 floppy, when ↵Filippos Karapetis
opening the controls window - from bug report #3023602 svn-id: r50541
2010-06-30SCI: Silenced a warning about a non game breaking script bug in Castle of ↵Filippos Karapetis
Dr. Brain, room 360 svn-id: r50538
2010-06-30SCI: fixed a typo, so that workarounds really trigger an ignore kernel call ↵Martin Kiewitz
for now svn-id: r50529
2010-06-30SCI: removing full debug output when signature fails to the point where we ↵Martin Kiewitz
didnt find a workaround for a signature mismatch svn-id: r50522
2010-06-30SCI: Reverting r50516, SSCI didn't reset the node value when deleting the ↵Filippos Karapetis
node. Also, a slight fix in VM debug code. svn-id: r50521
2010-06-30SCI: implementing workarounds for kernel calls, removing original code ↵Martin Kiewitz
workaround for kDisposeScript / qfg1 room 64 and adding it to workaround table svn-id: r50520
2010-06-30SCI: adding inheritancelevel to uninit workarounds to make them saferMartin Kiewitz
svn-id: r50518
2010-06-29Fixed 2 uninitialized reads in SQ6Filippos Karapetis
svn-id: r50502
2010-06-28SCI: cleanup of execstack, output of backtrace slightly modified, is now ↵Martin Kiewitz
also displaying local calls and exports svn-id: r50445
2010-06-28SCI: Make Script member vars private; add const qualifiersMax Horn
Only three Script members remain public (for now) svn-id: r50428
2010-06-28SCI: cleanupMax Horn
svn-id: r50419
2010-06-28SCI: added uninit workaround for lsl3 - when accessing set volume menu the ↵Martin Kiewitz
first time sound got muted before (because a uninitialized temp was used to do it, would have been 's' in sierra sci) svn-id: r50416
2010-06-28SCI: show arguments on selector invoke breakpoint even when VM_DEBUG_SEND is ↵Martin Kiewitz
not used, but in a compressed fashion svn-id: r50410
2010-06-27SCI: Removed the hack for loading games from the launcher from run_vm(). ↵Filippos Karapetis
This is now done on startup. This should fix loading from the launcher for LSL6 svn-id: r50406
2010-06-27CleanupFilippos Karapetis
svn-id: r50404
2010-06-27Made the script initialization/uninitialization methods part of the segment ↵Filippos Karapetis
manager svn-id: r50402
2010-06-27SCI: Moved all the script-related code inside script.cpp/.h, and all script ↵Filippos Karapetis
opcode-related code inside vm.cpp/.h svn-id: r50396
2010-06-27SCI: now showing kernel call name when argument signature check failsMartin Kiewitz
svn-id: r50380
2010-06-27SCI: better solution for the lsl6 uninit issue, we now go through all the ↵Martin Kiewitz
parents till we find a working workaround - we can use Narrator::startText that way inside the workaround table svn-id: r50374
2010-06-27SCI: adding uninit workaround for lsl6 (Narrator::startText)Martin Kiewitz
svn-id: r50373
2010-06-26SCI: added comment to vm-workaround tableMartin Kiewitz
svn-id: r50347
2010-06-26SCI: add another unint temp workaround for kq5 - when playing harp for the ↵Martin Kiewitz
harpies svn-id: r50334
2010-06-26SCI: pseudo-adding workaround for kq5 room 25 witch forestMartin Kiewitz
svn-id: r50332
2010-06-26SCI: fixing stupid torturegit conflict mergeMartin Kiewitz
svn-id: r50329
2010-06-26Fix format string warningWillem Jan Palenstijn
svn-id: r50325
2010-06-26SCI: adding more comment for export workaround (sq1)Martin Kiewitz
svn-id: r50318
2010-06-26SCI: added workaround for island of dr. brain elements puzzleMartin Kiewitz
svn-id: r50317
2010-06-26SCI: adding capability to resolve local calls as well for valgrind-sci, ↵Martin Kiewitz
adding another workaround for a script bug in sq1 (this time export 1 gets called locally) svn-id: r50308
2010-06-25SCI: implementing workaround for issue in room 58 sq1 (operation lt, doing ↵Martin Kiewitz
comparsion against pointer) svn-id: r50294
2010-06-25SCI: adding capability for detecting export-calls into valgrind-sci, adding ↵Martin Kiewitz
workaround for export 1 of script 703 in sq1 (gets called from various objects) svn-id: r50292
2010-06-25SCI: fix typoFlorian Kagerer
svn-id: r50291
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-25SCI: adding workaround for uninitialized read in sq1Martin Kiewitz
svn-id: r50287
2010-06-25SCI: changing workaround results for opcodes from signal_reg to make_reg(0, 1)Martin Kiewitz
svn-id: r50278
2010-06-25When loading a game, stop all running VMs recursively, and also stop ↵Filippos Karapetis
kAnimate's current recursion. This fixes the invalid execution stack frame in SQ1, when loading from the death screen after dying from the acid drops in Kerona. This should also fix the invalid hunk pointers, thus the warning about invalid hunk pointers has been turned into an error, as it shouldn't occur anymore svn-id: r50277