Hello Denis,
BB> ...the stack is the same on return from Int 2E.
DB> It's not the same on the return.
DB> SS:SP are toasted after the INT 2E call.
DB> (...did you know that OpenDOS...debug supports 386+ instructions?
No, interesting :)
DB> SS:SP is preserved with OpenDOS! :)
DB> ...boot from DOS 6
DB> BEFORE INT 2E CALL
DB> SS = 1538 SP = FFFE
DB> AFTER INT 2E CALL
DB> SS = 0E38 SP = 0603
DB> Which is why...SS:SP...needs to be saved.
I reassembled with the 2 relevant lines rem'ed out.
My OS is ms-dos 6.20 rev. A
With or without 4DOS I can run List.com or Turbo Debugger and everything
is fine. I see no change in the registers on the debugger screen so it
is not a useful tool, however.
I tried to use the debug.exe that came with dos 6.20, but the tsr won't
respond when running it. I'll try the debug that comes with opendos next.
Kind regards, Barry
--- Terminate 4.00/Pro
---------------
* Origin: EBO-BBS A'dam +31-20-6002828 (2:280/901.42)
|