Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-19 | SCI: check shouldQuit() in main loop | Willem Jan Palenstijn | |
svn-id: r42609 | |||
2009-07-18 | SCI: Fix breakpoints | Willem Jan Palenstijn | |
svn-id: r42599 | |||
2009-07-18 | SCI: Fix stepping in debugger | Willem Jan Palenstijn | |
svn-id: r42587 | |||
2009-07-11 | Moved the kernel and the vocabulary outside of the engine state (they're ↵ | Filippos Karapetis | |
static data, which never changes during a game) svn-id: r42398 | |||
2009-07-11 | Fixed regression in the script parser from commit 42260 | Filippos Karapetis | |
svn-id: r42371 | |||
2009-07-08 | - Moved printObject inside the Console class | Filippos Karapetis | |
- Enabled the parts where disassemble() is called svn-id: r42263 | |||
2009-07-08 | Some cleanup for the script debugger code: | Filippos Karapetis | |
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size) - Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code svn-id: r42260 | |||
2009-07-07 | Added auto-detection for games with older headers for script blocks, and ↵ | Filippos Karapetis | |
removed game flag GF_SCI0_OLD svn-id: r42211 | |||
2009-07-07 | Added a SCI1.1 case in the lofss opcode, like in the lofsa opcode ↵ | Filippos Karapetis | |
(essentially, lofss and lofsa both load an offset, with lofsa loading it in the accumulator and lofss in the stack). lofss is rarely used in SCI1.1 games, which explains why no lofss-related crashes have been observed in SCI1.1 svn-id: r42209 | |||
2009-07-06 | Replaced sciprintf() calls with printf, DebugPrintf, warning and error calls | Filippos Karapetis | |
svn-id: r42167 | |||
2009-07-05 | SCI1 games with absolute parameters to lofs instructions are automatically ↵ | Filippos Karapetis | |
detected now. Removed the GF_SCI1_LOFSABSOLUTE game flag svn-id: r42118 | |||
2009-07-03 | Replaced script_error and CORE_ERROR with error() | Filippos Karapetis | |
svn-id: r42079 | |||
2009-07-03 | - Pushed debugstate into debug.h | Filippos Karapetis | |
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself. svn-id: r42062 | |||
2009-07-02 | Moved some more debug state related variables in the DebugState struct | Filippos Karapetis | |
svn-id: r42044 | |||
2009-06-18 | Patch | Max Horn | |
svn-id: r41647 | |||
2009-06-07 | SCI: Got rid of g_EngineState | Max Horn | |
svn-id: r41359 | |||
2009-06-07 | SCI: Moved resource36 handling into resource manager. | Walter van Niftrik | |
svn-id: r41349 | |||
2009-06-07 | SCI: Fixed the broken SciEngine::pauseEngineIntern code by ensuring that ↵ | Max Horn | |
SciEngine::_gamestate is updated whenever the EngineState gets changed (due to loading a savestate) svn-id: r41346 | |||
2009-06-06 | Store long-term pointers to object variables in a new ObjVarRef struct. | Willem Jan Palenstijn | |
Storing them as reg_t* could cause the pointers to become invalid when they pointed into CloneTable since CloneTable can be re-allocated. svn-id: r41220 | |||
2009-06-05 | Moved some more debug commands to ScummVM's coneole and removed some unused code | Filippos Karapetis | |
svn-id: r41198 | |||
2009-06-04 | SCI: Renamed EngineState::flags and version to _flags and _version ↵ | Max Horn | |
(following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant svn-id: r41177 | |||
2009-06-04 | SCI: Renamed _kfuncTable -> _kernelFuncs; and simplified/streamlined the ↵ | Max Horn | |
kernel func map in kernel.cpp a bit svn-id: r41176 | |||
2009-06-04 | SCI: Renamed various debug related global variables to have a g_ prefix; and ↵ | Max Horn | |
moved any 'extern' decls of them into a new header file svn-id: r41163 | |||
2009-06-04 | Turned debug_weak_validations on by default again, as apparently some games ↵ | Filippos Karapetis | |
like SQ3 fail in some validations (e.g. when loading). Also, fixed a potential out of bounds access when copying the value of __FILE__ into a buffer (as its value can be quite long in some cases). svn-id: r41154 | |||
2009-06-03 | - Sorted the console commands a bit more | Filippos Karapetis | |
- Removed the commands which manipulated variables and turned them into debug variables instead - Rewrote help so that it's more organized and easier to read - Unified the debug variable names svn-id: r41136 | |||
2009-06-02 | Moved some more console commands to ScummVM's debug console | Filippos Karapetis | |
svn-id: r41129 | |||
2009-06-02 | Moved some more console commands to ScummVM's debug console | Filippos Karapetis | |
svn-id: r41126 | |||
2009-06-02 | Removed the gfxw_new_visual and gfxw_new_port wrappers, moved _kfuncTable ↵ | Filippos Karapetis | |
inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct svn-id: r41125 | |||
2009-06-01 | Split the kernel functions away from the vocabulary functions (WIP, ↵ | Filippos Karapetis | |
saving/loading is broken) svn-id: r41101 | |||
2009-05-31 | Removed script_error_flag and script_debug_flag, which were used to error ↵ | Filippos Karapetis | |
out if something went wrong and open the debugger console. Changed all the places where they were used to error() out instead, as ScummVM's debugger console can open on error() svn-id: r41073 | |||
2009-05-31 | - Further objectification of the SCI vocabulary functions | Filippos Karapetis | |
- Rewrote the sci_opcodes enum so that it's easier to read - Made the engine error out if data is sent to an invalid selector (which is a fatal condition) svn-id: r41069 | |||
2009-05-31 | The error() and warning() functions add ! and newline automatically. (I didn't | Torbjörn Andersson | |
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061 | |||
2009-05-31 | More objectification of the Vocabulary functions | Filippos Karapetis | |
svn-id: r41057 | |||
2009-05-30 | Started objectifying the vocabulary functions (WIP) | Filippos Karapetis | |
svn-id: r41051 | |||
2009-05-30 | - Removed debug_mode from the engine state | Filippos Karapetis | |
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function - Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND - Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables svn-id: r41033 | |||
2009-05-29 | SCI: Converted several fprintf(stderr) calls to warning/error (the remaining ↵ | Max Horn | |
fprintf calls should probably be replaced by suitable debug/debugC/debugN invocations) svn-id: r40993 | |||
2009-05-28 | SCI: Fix potential dangling pointer more robustly, | Willem Jan Palenstijn | |
by changing the executionStack implementation to a list. svn-id: r40971 | |||
2009-05-28 | SCI: Merged SfxPlayer/NewPlayer code into sfx/core.cpp | Max Horn | |
svn-id: r40965 | |||
2009-05-28 | SCI: Fix potential dangling pointer after reallocation | Willem Jan Palenstijn | |
svn-id: r40963 | |||
2009-05-21 | Removed the PREG, PSTK, IS_NULL_REG and REG_EQ defines | Filippos Karapetis | |
svn-id: r40767 | |||
2009-05-19 | SCI: Some debugger fixes and cleanup. | Walter van Niftrik | |
svn-id: r40732 | |||
2009-05-19 | SCI: Cleanup/paranoia checks | Max Horn | |
svn-id: r40711 | |||
2009-05-18 | SCI: Got rid of EngineState::execution_stack_pos; overally, the resulting ↵ | Max Horn | |
code should be even stricter in detecting invalid VM stack access (and some bugs when loading saves might be fixed now...) svn-id: r40694 | |||
2009-05-18 | SCI: Replaced SegManager::getHeap() by Script::getHeap() | Max Horn | |
svn-id: r40683 | |||
2009-05-17 | SCI: LSL6 invalid selector workaround is now always active, not just at | Walter van Niftrik | |
startup. Added support for mirrored pic drawing. svn-id: r40648 | |||
2009-05-16 | SCI: Allow the VM to continue when the invalid selector access occurs at the ↵ | Walter van Niftrik | |
start of LSL6. svn-id: r40627 | |||
2009-05-15 | - Moved all the files out of /sci/scicore and into /sci | Filippos Karapetis | |
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608 | |||
2009-05-15 | SCI: Got rid of SEG_ID/SCRIPT_ID | Max Horn | |
svn-id: r40599 | |||
2009-05-15 | SCI: Added SegManager::getScriptIfLoaded() method | Max Horn | |
svn-id: r40598 | |||
2009-05-15 | SCI: Turned several script related SegManager methods into Script methods | Max Horn | |
svn-id: r40597 |