TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: FLEMMING SONDERGAARD
from: BARRY BLOCK
date: 1997-05-12 12:44:00
subject: Bosskey.Asm - sysreq.asm

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.