Hello Flemming,
DB>> push CS
DB>> pop DS
DB>> mov SS,[_SS] ;restore them back again
DB>> mov SP,[_SP]
DB>> ...
FS> Are you sure this is safe? You are using the stack here. Not good when
S
FS> and SP are messed up, eh? :)
FS> There's nothing wrong with:
FS> mov ss,cs:[_ss]
FS> mov sp,cs:[_sp]
I don't see the problem. push,then pop. Stack is not altered, right?
However, I tried the tsr with Denis's change and it still crashes :)
More needs to be done.
Kind regards, Barry
--- Terminate 4.00/Pro
---------------
* Origin: EBO-BBS A'dam +31-20-6002828 (2:280/901.42)
|