Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-02 | SCI: Remove unexpected side effect from ExecStack constructor | Willem Jan Palenstijn | |
The ExecStack constructor set argp[0] to argc before. This is now moved to the caller, to make this action more explicit. | |||
2016-07-02 | SCI: Improve kernel subfunction logging | Willem Jan Palenstijn | |
ExecStack now stores the kernel call number as well as the subfunction. This allows kStub and backtraces to log the actual subfunction called. The kernel call number in ExecStack used to be stored in the debugSelector field. It now has its own field, to avoid confusion. | |||
2016-02-05 | SCI: Clean up the op_infoToa and op_superToa SCI3 opcodes | Filippos Karapetis | |
2014-02-18 | SCI: Make GPL headers consistent in themselves. | Johannes Schickel | |
2012-07-04 | SCI: make g_base_opcode_formats and SciOpcodes a bit more readable | Filippos Karapetis | |
2012-06-23 | SCI: Change the program counter (PC) to be a 32-bit variable | Filippos Karapetis | |
This is needed for future support of large SCI3 scripts. The program counter is isolated and does not interfere with other parts of the VM, plus it does not get stored in saved games, so it's pretty straightforward to convert | |||
2012-06-18 | SCI: Add setter/getter methods to reg_t's | Filippos Karapetis | |
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB) | |||
2012-06-15 | SCI: Replace RAW_IS_OBJECT with a method | Filippos Karapetis | |
2012-05-20 | SCI: Fix case of the SciOpcodes enum | Filippos Karapetis | |
2012-05-20 | SCI: Change sci_opcodes to CamelCase | Filippos Karapetis | |
2011-11-29 | SCI: Fix restarting SCI engine with different SCI version | Willem Jan Palenstijn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-03-28 | SCI: Set the GC_INTERVAL define to its hexadecimal equivalent | md5 | |
2011-03-26 | SCI: Refactored and cleaned up the VM call stack handling code | md5 | |
- Removed the CallsStruct intermediate stack. Calls are inserted directly in the execution stack - Added a constructor for the ExecStack struct and removed add_exec_stack_varselector() and add_exec_stack_entry() | |||
2010-07-20 | SCI: Removed the restoring parameter of the run_vm() function | Filippos Karapetis | |
svn-id: r51076 | |||
2010-06-28 | SCI: cleanup of execstack, output of backtrace slightly modified, is now ↵ | Martin Kiewitz | |
also displaying local calls and exports svn-id: r50445 | |||
2010-06-28 | SCI: Make Script member vars private; add const qualifiers | Max Horn | |
Only three Script members remain public (for now) svn-id: r50428 | |||
2010-06-27 | SCI: 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-26 | Removed the misleading getHeap() function (only valid for SCI0-SCI1), plus ↵ | Filippos Karapetis | |
removed some unused defines svn-id: r50358 | |||
2010-06-26 | SCI: 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-25 | SCI: 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-24 | Cleanup uninitialized read workaround(s). | Matthew Hoops | |
svn-id: r50225 | |||
2010-06-24 | SCI: created a workaround table for uninitialized reads, removing old ↵ | Martin Kiewitz | |
commented out workarounds for pharkas and laura bow 2 svn-id: r50214 | |||
2010-06-23 | Moved the SelectorCache struct inside selector.h, where it belongs, and ↵ | Filippos Karapetis | |
fixed some header dependencies in the process svn-id: r50183 | |||
2010-06-23 | SCI: adding some more global scaling code, adding vanishingY and vanishingX ↵ | Martin Kiewitz | |
as selectors svn-id: r50180 | |||
2010-06-23 | SCI: some initial work on global scaling | Martin Kiewitz | |
svn-id: r50179 | |||
2010-06-10 | Moved all of the game init/run/exit logic inside the SciEngine class | Filippos Karapetis | |
svn-id: r49559 | |||
2010-06-09 | Merged script_init_engine() and game_init() and cleaned up SciEngine::run() ↵ | Filippos Karapetis | |
a bit svn-id: r49537 | |||
2010-06-08 | Merged _game_run() inside game_run(). Some cleanup | Filippos Karapetis | |
svn-id: r49513 | |||
2010-06-06 | Now that EngineState is not deleted when loading games, we can move some ↵ | Filippos Karapetis | |
more state-related variables to it, and remove several FIXME's about non-const global variables. Also, the entries in the data stack are now deleted when loading (fixes a memory leak - thanks to digitall for this). svn-id: r49465 | |||
2010-06-03 | The setCursor selector is no longer used for the detection of the ↵ | Filippos Karapetis | |
kSetCursor() kernel function semantics svn-id: r49408 | |||
2010-06-03 | Moved several object-related defines inside vm.h into segment.h, where the ↵ | Filippos Karapetis | |
Object class resides. Also, removed several unused defines svn-id: r49406 | |||
2010-05-29 | Limit access to the _classTable array (now it's directly accessible only ↵ | Filippos Karapetis | |
inside saveLoadWithSerializer() svn-id: r49318 | |||
2010-05-29 | Mass renaming of selector-related functions, and removed some defines which ↵ | Filippos Karapetis | |
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317 | |||
2010-05-24 | Add support for showing the icon bar in SCI1.1 Mac. | Matthew Hoops | |
svn-id: r49196 | |||
2010-05-23 | Made shrink_execution_stack() a member of EngineState | Filippos Karapetis | |
svn-id: r49159 | |||
2010-05-19 | Moved the breakpoint information inside the DebugState struct | Filippos Karapetis | |
svn-id: r49092 | |||
2010-05-18 | - Removed the wrapper kalloc, kmem and kfree functions. Now, the associated ↵ | Filippos Karapetis | |
Segment manager functions allocateHunkEntry, getHunkPointer and freeHunkEntry are used directly (which are more descriptive, anyway) - Replaced the GET_SEGMENT macro by a method of the segment manager - Removed the unused reference to the created hunk in allocateHunkEntry(), only the reg_t reference to it is returned now svn-id: r49078 | |||
2010-05-18 | Moved breakpointWasHit inside the DebugState struct, thus resolving a FIXME | Filippos Karapetis | |
svn-id: r49071 | |||
2010-05-18 | Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵ | Matthew Hoops | |
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070 | |||
2010-02-17 | SCI: Remove hack in convertSierraGameId which caused a memory leak | Max Horn | |
svn-id: r48083 | |||
2010-02-07 | SCI: Add function readPMachineInstruction() | Max Horn | |
svn-id: r47956 | |||
2010-02-04 | SCI: adding back selector for sci32 | Martin Kiewitz | |
svn-id: r47879 | |||
2010-02-04 | SCI: adding selectors bottom and right | Martin Kiewitz | |
svn-id: r47876 | |||
2010-02-04 | SCI: adding support for resX, resY selectors for sci32 | Martin Kiewitz | |
svn-id: r47874 | |||
2010-02-03 | Initial implementation of text drawing for SCI2 (it's a hack for now, done ↵ | Filippos Karapetis | |
the "SCI0-SCI11" way, and text splitting is wrong...) svn-id: r47838 | |||
2010-02-03 | SCI: Make add_exec_stack_entry & add_exec_stack_varselector static / private | Max Horn | |
svn-id: r47837 | |||
2010-02-03 | SCI: restoring param of run_vm is a bool, not an int | Max Horn | |
svn-id: r47834 | |||
2010-02-02 | SCI: Use Common::List and Common::String to simplify breakpoint handling ↵ | Max Horn | |
(untested) svn-id: r47824 | |||
2010-01-28 | Detect whether to use the modified SCI2 or SCI2.1 kernel table based on the ↵ | Matthew Hoops | |
kDoSound call used in Sound::play(), which fixes at least my version of KQ7 - probably others. The kernel table initialization now occurs after the script signatures are adjusted as we need it adjusted before checking through Sound::play for the kDoSound call. svn-id: r47645 |