Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cca.UUCP Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!cca!norcott From: norcott@cca.UUCP (Bill Norcott) Newsgroups: net.micro.pc Subject: Re: How do I disable? Message-ID: <3201@cca.UUCP> Date: Mon, 8-Jul-85 11:50:13 EDT Article-I.D.: cca.3201 Posted: Mon Jul 8 11:50:13 1985 Date-Received: Thu, 11-Jul-85 00:24:30 EDT References: <24700111@uiucdcs> Organization: Computer Corp. of America, Cambridge Lines: 27 > > What is the best way to completely disable / on the IBM-PC? > I have tried setting the int 23h vector to point to an IRET instruction, but > the DOS still echoes ^C, which is annoying. Any suggestions greatly > appreciated. Please mail replies, I will summarize if enough interest is > generated. Apologies if this has been covered before. Thanks. > > Phil Goldberg > goldberg@Uiuc > goldberg%Uiuc@csnet.ARPA > ...!{ihnp4,convex,pur-ee}!uiucdcs!goldberg *** REPLACE THIS LINE WITH YOUR MESSAGE *** Here is the code to disable the CTRL-BREAK interrupt: call by INT 21H REG AH = 33H ( get or set CTRL-BRK) REG AL = 0 for get, 1 for put (set it to 1) REG DL = 0 for OFF, 1 for ON (set it to 0) On return: DL = 0 if BREAK=OFF, or 1 if BREAK=ON Sincerely, Bill Norcott Computer Corp. of America P.S. thanks to Ross Greenberg for donating his interrupts list to USERNET