Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!cbatt!ihnp4!ihlpa!reb2 From: reb2@ihlpa.UUCP (Brown) Newsgroups: comp.sys.ibm.pc Subject: Control-C Checking Message-ID: <2324@ihlpa.UUCP> Date: Tue, 18-Nov-86 15:24:28 EST Article-I.D.: ihlpa.2324 Posted: Tue Nov 18 15:24:28 1986 Date-Received: Wed, 19-Nov-86 02:27:59 EST Distribution: net Organization: AT&T Bell Labs, Naperville, IL Lines: 30 *** REPLACE THIS LINE WITH YOUR MESSAGE *** I am having a problem regarding Control-C (Control-Break). I have a memory-resident program which intercepts the INT 23h vector, which I believe is the address that gets conrol when a control-c is detected. However, when I interrupt a sample program with a control-break, my resident routine never gets control. What am I missing? The sample program that I interrupt follows: CODE_SEG segment para public 'code' assume cs:CODE_SEG,ds:CODE_SEG,es:CODE_SEG msg1 db 'OK',0Dh,0Ah,'$' p0: push ds xor ax,ax push ax mov ax,CODE_SEG mov ds,ax p1: xor ax,ax int 16h lea dx,msg1 int 21h jmp p1 CODE_SEG ends end p0 Thanks for any help. Rick Brown ihnp4!ihlpa!reb2