Posted by Dmitry Uvarov on 1999-05-11
> > I know how to terminate programs. What I want to know is "how to make them > terminate and stay resident". I don't want to remove my interrupt from 1Ch > because this will destroy the idea of permanently displaying time. I have > seen tsrs that remain resident and continue occupying interrupts without any > error. > > When I use int 27h (to make it a tsr), my computers simply hangs up. Any > solutions? In Show_time handler you save only some of registers, and you also call int 10h to print strings, but don't forget that int 10h handler can modify registers too. Try to use pusha and popa commands to save all registers. Dmitry ICQ# 20079823 homepage: http://pascal.bizhosting.com ----------------------------------------------------------------------- Anything is possible, unless it's not.
Previous post | Next post | Timeline | Home