dear all, I would like to ask a question to all nice people here, hope that someone will help. I am developing a tsr program that can handle keyboard interrupt. I want to execute another program when I hit Ctrl+D while other program is still running. ISR routine in tsr program will service the interrupt, but how can I read/retrieve the BIOS keycode, that contains the Ctrl+D value using C? I read the value at port 60h, using inportb(0x60), but it just contains the raw/scan codes for the keypress not the BIOS keycode. and one more thing, can the tsr program terminate the currently running program as soon as the it detects Ctrl+D? basically what I want is like this:-
install tsr -> run A.exe -> Ctrl+D detected! -> Service interrupt -> Close A.exe -> execute B.exe
any suggestions/code examples/etc... would be very appreciated. thxs.