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

 > 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
 FS>> good when SS 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
I'd disable interrupts before I messed with the stack pointers though.
---
---------------
* Origin: Toad Hall (1:3634/2.4)

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