Disabling CTRL-BREAK

 BBS: Inland Empire Archive
Date: 10-28-93 (00:01)             Number: 382
From: TIM GERCHMEZ                 Refer#: NONE
  To: ALL                           Recvd: NO  
Subj: Disabling CTRL-BREAK           Conf: (2) Quik_Bas
The following code may interest someone - it changes the
CTRL-BREAK interrupt vector so that if the user presses
CTRL-BREAK the machine reboots.  Note that this doesn't
affect CTRl-C, just CTRL-BREAK.  It won't work in the
environment either, just in standalone .EXE's.

POKE 108,0:POKE 109,0
POKE 110,255:POKE 111,255
Hope someone finds this useful.

--- QuickBBS 2.80 GoldBase (Gamma-3)
 * Origin: Programmers Information Exchange   (206) 283-5978 (1:343/27)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET