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

Hmm... it looks like mail... mmmh, it tastes like mail... it _is_ mail!
Once upon a time (Tuesday, May 6, 1997 to be precise), Barry Block wrote a
letter to Flemming Sondergaard about "Bosskey.Asm - sysreq.asm"...
 FS>> No, but what if SS:IP pointed to, say, 0000:0038 (keyboard interrupt
 FS>> vector)? That would cause a problem, don't you think? :)
 BB> Your code was cs:ss
 BB> How is this different from push cs, pop ds, then ss?
By using the stack you are accessing the memory at location SS:SP. This is
not good if SS and SP are corrupted and may point to e.g. the interrupt
vector.
 BB> It is the same thing.
The same result, yes, but you might cause some damage in the process. You
would even hang the system if SP=1.
 BB> Well, I may be wrong, but, not needed anyway, as the stack is the same
 BB> on return from Int 2E.
If the stack is the same, what's the point in saving SS and IP?
 ___,/|
 \ o_O|    - Flemming Sondergaard
 =(_|_)=
    U
--- Terminate 4.00/Pro
---------------
* Origin: I see a moderator! Quick--change the subject! (2:237/45.15)

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™.