Салям!

27-Фев-2004 16:48 [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote to
[EMAIL PROTECTED]:

ase> (1) I am able to GET the int21h handler, to hook it, and to JMP to the old
ase> int21h handler. However, if I try to CALL it (of course I PUSHF before, I
ase> try without that and am unsuccessful as well) then it crashes.

1. Don't forget, that INT21 should return carry flag, which you should
   return back from you trapping code.

2. If you test under Windows, don't forget, that Windows traps (some) INT
   instructions and in this case real-mode handler not neccessarily gets
   control (unlike untrapped PUSHF+CALL FAR). There already was troubles
   with this in CuteMouse with Logitech MouseWare for Windows.




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to