From: Arkady V.B. <ar...@be...> - 2004-02-27 16:44:22
|
=F3=C1=CC=D1=CD! 27-=E6=C5=D7-2004 16:48 _ai...@wa... (ait...@wa...) wrote = to fre...@li...: ase> (1) I am able to GET the int21h handler, to hook it, and to JMP to t= he old ase> int21h handler. However, if I try to CALL it (of course I PUSHF befo= re, 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. |