aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
2010-07-18SCI: fix warningMartin Kiewitz
svn-id: r51010
2010-07-18SCI: make the left-over opcodes more verboseMartin Kiewitz
...and add ability to easily add workarounds remove ACC_ARITHMETIC_L and POP() svn-id: r51005
2010-07-18SCI: make bnot/mod/mul more verboseMartin Kiewitz
...and add abitility to easily add workarounds svn-id: r51003
2010-07-18SCI: ipToa/ipTos/dpTos more verboseMartin Kiewitz
...and adding ability to add workarounds easily svn-id: r50999
2010-07-18SCI: making int/uint comparsions more verboseMartin Kiewitz
replacing int/uint comparsion opcode with new code that also displays much more information in case of errors and also add possibility to easily add workarounds svn-id: r50997
2010-07-18SCI: adding room numbers to all workaroundsMartin Kiewitz
svn-id: r50990
2010-07-18SCI: adding workaround for script bug in lsl6 when looking through tileMartin Kiewitz
svn-id: r50987
2010-07-18SCI: added uninitialized workarounds for hoyle 3Martin Kiewitz
svn-id: r50978
2010-07-17SCI: adding uninitialized workaround for gk1Martin Kiewitz
svn-id: r50969
2010-07-17SCI: added uninitialized workaround for lsl3Martin Kiewitz
svn-id: r50965
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-07-17SCI: added gameid for send() sq4 workaroundMartin Kiewitz
svn-id: r50961
2010-07-16SCI: adding uninitialized workaround for lsl1 when playing at the casinoMartin Kiewitz
svn-id: r50938
2010-07-14SCI: adding workaround for qfg1vga script bug (div on object) which occurs ↵Martin Kiewitz
when entering inn svn-id: r50892
2010-07-14SCI: separating qfg1ega and qfg1vga gameidsMartin Kiewitz
svn-id: r50881
2010-07-14TyposFilippos Karapetis
svn-id: r50862
2010-07-13SCI: uninitialized workaround for qfg2 when accessing inventoryMartin Kiewitz
svn-id: r50854
2010-07-12SCI: Move breakpoint checks into SciEngine methodsMax Horn
svn-id: r50837
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-12SCI: changing how savegame ids are handled internally. Using range 0-999 so ↵Martin Kiewitz
that scripts are able to signal us to create new slots, using range 1000-1999 for official slots. fixes lsl6 quicksave overwriting wrong save slots svn-id: r50831
2010-07-12SCI: adding uninitialized workaround for lsl6Martin Kiewitz
svn-id: r50819
2010-07-12SCI: add workaround for lsl6 restore issue (needs to get further ↵Martin Kiewitz
investigated), hunk segment is used but hunk segment isn't existant at that point when restoring the game svn-id: r50814
2010-07-12SCI: adding 3 uninitialized temp workarounds for kq6 - found and created by ↵Martin Kiewitz
Ceriand, thanx svn-id: r50813
2010-07-12SCI: returning 0 when parameter reads go out-of-bounds, onto the stack and ↵Martin Kiewitz
hit an uninitialized temp, fixes pq2 .490 svn-id: r50812
2010-07-11SCI: changing uninitialized workaround for lsl6 narratorMartin Kiewitz
svn-id: r50804
2010-07-10SCI: calling speed throttler as well from kPalette(setIntensity) if needed - ↵Martin Kiewitz
fixes kq6 intro svn-id: r50794
2010-07-10SCI: adding to execstack only right before executing kernel call, otherwise ↵Martin Kiewitz
it wouldnt be possible to skip over sub-function kernel calls via workarounds svn-id: r50792
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