Mail Archives: djgpp/1997/02/13/11:28:59
You can use inline assembly to turn off, or create your own
ctrl-c ctrl-brk... interupts
mov ah,25h ; means change CTRL-C interupt
mov al,23h
mov dx,CTRL_INTERUPT ; your coded interupt
int 21h
CTRL_INTERUPT: iret ; return with out doing anything
this would work but you would have to convert it into AT&T syntax, there
could be a way of disabling them but here you can customise them.
Liam
----------
> From: Michael Dylan Ryan <mdr6 AT dana DOT ucc DOT nau DOT edu>
> To: djgpp AT delorie DOT com
> Subject: Help with Control-break code
> Date: 12 February 1997 18:40
>
>
> Can someone give me some code (or point me in the right direction) on
> disabling control-break, control-c, control-alt-del?
>
> I am using DJGPP v2.0.
>
> Thanks,
>
>
> --
> --
> Michael D. Ryan [Dark Brotherhood Software]
> Email: mdr6 AT dana DOT ucc DOT nau DOT edu
> Shareware / Freeware programs available on my web page at:
> http://dana.ucc.nau.edu/~mdr6/programs.html
> --
- Raw text -