Hello Flemming,
BB>> Your code was cs:ss
BB>> How is this different from push cs, pop ds, then ss?
FS> By using the stack you are accessing the memory at location SS:SP.
I now see the problem. I believe...
Denis explained that we can't be sure where sp is.
You said to Denis we can't trust where ss is.
BB>> Well, I may be wrong, but, not needed anyway, as the stack is the same
BB>> on return from Int 2E.
So I thought.
FS> If the stack is the same, what's the point in saving SS and IP? (SP)
That was Denis idea. It may be a good one!
R. Brown says only IP is restored on return from Int 2Eh.
But I found that there is no stack problem. Some prog's run ok.
4DOS is reporting a memory problem on return, when using other prog's.
List.com is ok. QuikEdit has a problem.
I'd like to know if Turbo Debugger can be used (how?) to see if the
stack is ok on return.
Kind regards, Barry
--- Terminate 4.00/Pro
---------------
* Origin: EBO-BBS A'dam +31-20-6002828 (2:280/901.42)
|