[Scummvm-tracker] [ScummVM :: Bugs] #13554: LSL6 break to debugger when calling bad numbers
ScummVM :: Bugs
trac at scummvm.org
Tue Jun 7 13:42:39 UTC 2022
#13554: LSL6 break to debugger when calling bad numbers
-----------------------------------------+---------------------------------
Reporter: RayKoopa | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCI
Version: | Resolution:
Keywords: debugger, signature mismatch | Game: Leisure Suit Larry
| 6
-----------------------------------------+---------------------------------
Comment (by m-kiewitz):
>I tried to reproduce this in DOSBox, but couldn't make it happen.
Just fyi, these signature checks that we do internally are safety checks
from our side. Original SCI did none of that. When signature checks fail,
it's typically script bugs, which can cause all sorts of weird issues down
the line, which is the cause why we are doing them.
For example some kernel calls in SCI take 2 parameters. And a script calls
it with one 1 parameter. That will get caught by the signature check.
We also do checks for reads an uninitialized variables, which SCI also
didn't care about and which caused random errors in some games. Some games
even depend on a certain state of uninitialized variables. Our memory
system works differently and initializes variables, so these script bugs
caused a few issues in our SCI and were very hard to track down (we didn't
have these checks in place originally).
--
Ticket URL: <https://bugs.scummvm.org/ticket/13554#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list