flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
Do you mean CTRL-ALT-DEL?
In real mode you can just take over the kdb interrupt and do what you like with the keystrokes. When you see DEL pressed and CTRL and ALT are already down then just bypass the callback into the BIOS so that the keystroke is ignored. |
|||
![]() |
|
LocoDelAssembly
Quote:
Can you really forward the interrupt 9 to the BIOS after doing this? I mean, what keyboard controller state the BIOS will receive if you had to read the keyboard port first? |
|||
![]() |
|
sinsi
Best way is to hook int 15h, AH=4fh
Quote:
|
|||
![]() |
|
GhostXoPCorp
is there a way where i can check the buffer for ctrl alt del or just alt del and then jump back into getting keys, or is reprogramming the keyboard controller inturrupt the only way?
ps alt del restarts the system also _________________ Oh that divide overflow. Just jumps out of the bushes every time to scare the day lights out of me. |
|||
![]() |
|
sinsi
ctrl-alt-del never gets to the buffer, the system is rebooted from within the BIOS's INT 9 handler. Hook int 15, function 4f and check for the delete key then check ctrl and alt. If they are all pressed, you just tell the int9 handler to ignore it and nothing happens.
|
|||
![]() |
|
GhostXoPCorp
hows ths, when int 9 call a restart, is the restart it calls in another intturupt? int 19? if so, could i just over write int 19 to ask the user
Restart y)es n)o? _________________ Oh that divide overflow. Just jumps out of the bushes every time to scare the day lights out of me. |
|||
![]() |
|
DOS386
> just take over the kdb interrupt
or just disable it completely. You still can peek keystrokes then. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.