infovox@infovax.UUCP (Talsvar Gruppens Gemensamma) (07/31/89)
Hello! I'm writing a TSR that uses the timer-interrupt to increment a counter, and the keyboard-interrupt to reset the counter. When the counter reaches a given value I want it to start a little program, e.g. blank the screen or something. The problem is that MS-DOS isn't reentrant. How do I use the InDosFlag to determine whether it's safe to use DOS and BIOS? The program I am thinking of would blank the screen and wait for a password and/or play a game while waiting. I'd appreciate if someone can tell me how to do this without hanging my AT. Also, the TSR shall "steal" all keyboard activities until the correct password is entered! Thanks for helping me, Anders Ohlsson infovox@infovox.se or ohlsson01@lne.kth.se