Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!portal!cup.portal.com!ekalenda From: ekalenda@cup.portal.com (Edward John Kalenda) Newsgroups: comp.os.msdos.programmer Subject: Re: stealing an interrupt Message-ID: <37017@cup.portal.com> Date: 18 Dec 90 00:31:25 GMT References: <90351.150210TOMIII@MTUS5.BITNET> Organization: The Portal System (TM) Lines: 13 Thomas Dwyer write: > Hi there. Would some kind soul please tell me why my machine hangs when > I run this TSR? What am I doing wrong? The first problem that comes to mind is that your interrupt handling routine is doing a jump to a location pointed to by an area in your data segment. You should use JMP cs:[oldint] since the data segment at the time the interrupt occurs will be that of the program running, not your TSR. You're probobly jumping off into space somewhere based on the value of ds:[oldint] in the current program's frame of reference. Ed ekalenda@cup.portal.com