aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
AgeCommit message (Collapse)Author
2010-07-30SCI: Updated the op_mod changes and added a link to the original bug reportFilippos Karapetis
svn-id: r51509
2010-07-30SCI: Added handling of negative numbers toFilippos Karapetis
op_mod for SCI01 and newer games. Fixes the battlecruiser mini-game in SQ5. Many thanks to lskovlun, wjp and m_kiewitz for their joined effort on this issue svn-id: r51508
2010-07-29SCI: some subfunction support for logkernelMartin Kiewitz
svn-id: r51475
2010-07-28SCI: Adding the room number to some more errorsFilippos Karapetis
svn-id: r51413
2010-07-27SCI: changes for mother goose sci2.1Martin Kiewitz
changed signature for kSetCursor sci2.1 added workarounds added separate gameid for mother goose sci2.1 svn-id: r51385
2010-07-27SCI: Add a 0x prefix to localCall to show it's a hexadecimal numberMatthew Hoops
svn-id: r51341
2010-07-26SCI: Added room number to signature mismatch errorsFilippos Karapetis
svn-id: r51303
2010-07-26SCI: Fixed bug #3034464, "ECOQUEST2: Crash near beginning"Filippos Karapetis
svn-id: r51293
2010-07-24SCI: added said spec dump ability to logkernelMartin Kiewitz
svn-id: r51242
2010-07-23SCI: result now displayed in decimal for logkernelMartin Kiewitz
svn-id: r51225
2010-07-23SCI: some small logkernel changesMartin Kiewitz
svn-id: r51224
2010-07-23SCI: logkernel changesMartin Kiewitz
removing old manual debug code, use logkernel * on/off to log all calls svn-id: r51222
2010-07-23SCI: adding new debug command logkernelMartin Kiewitz
svn-id: r51220
2010-07-23SCI: adding table for kDisplay workaroundsMartin Kiewitz
and removing hardcoded checks, adding another workaround for kGraph(drawLine) in island of dr. brain (also gene explanation chart) Moving trackOriginAndFindWorkaround() into workarounds.cpp svn-id: r51209
2010-07-22When modifying variable selectors with argc > 1, don't throw a warning, but ↵Filippos Karapetis
use a debugC instead. These are usually typos in the original scripts, and aren't fatal svn-id: r51147
2010-07-22SCI: Fixed a bug when loading some saved games (sometimes, the execution ↵Filippos Karapetis
stack wasn't cleared properly when loading and you couldn't save or restore) svn-id: r51140
2010-07-21SCI: Moved all the static kernel-related tables in a separate file. Also, ↵Filippos Karapetis
moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls svn-id: r51089
2010-07-21SCI: Moved all the workaround tables in a separate file, to keep them apart ↵Filippos Karapetis
from the actual code svn-id: r51088
2010-07-21SCI: adding lsl6hires uninit workaroundMartin Kiewitz
svn-id: r51087
2010-07-20SCI: Removed the restoring parameter of the run_vm() functionFilippos Karapetis
svn-id: r51076
2010-07-20SCI: some sci32 fixesMartin Kiewitz
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area svn-id: r51074
2010-07-20SCI: adding lsl6hires uninit workaroundMartin Kiewitz
svn-id: r51072
2010-07-20SCI: tiny comment changeMartin Kiewitz
svn-id: r51069
2010-07-20SCI: clean up workaround tables/codeMartin Kiewitz
svn-id: r51068
2010-07-20SCI: adding uninit workarounds for cnick gamesMartin Kiewitz
longbow and king's quest KQ has the same issues as hoyle 3 svn-id: r51063
2010-07-20SCI: fix regression of r51060Martin Kiewitz
svn-id: r51062
2010-07-20SCI: change the workaround-typesMartin Kiewitz
0 is now don't call 1 is do call 2 is don't call and fake acc makes more sense svn-id: r51060
2010-07-19SCI: adding 2 uninit workarounds for hoyle1Martin Kiewitz
svn-id: r51036
2010-07-19SCI: fix ult to work for pq2 japaneseMartin Kiewitz
pq2 japanese compares pointers to 2000 to find out if its a resourceid or a pointer svn-id: r51023
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