Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

CTRL-break handling in the Freepascal programs (Developers)

posted by Laaca Homepage, Czech republic, 15.10.2022, 08:31

> Q: With all of that turned-off,
> is there some other key press which _can_ be used to interupt the
> program
> if one should desire to do so ?


It is possible to turn off the CTRL-Break only, keep CTRL-C signal and even redirect it to another key combination.



/* Hardware Interrupt Flags:

1 = Disable INTR and QUIT keys (Ctrl-C and Ctrl-\);
2 = Count Ctrl-Break (don't kill);
4 = IRET from our timer interrupt handler, don't chain */

---
DOS-u-akbar!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 63 users online (0 registered, 63 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum