From: Harald Meyer Newsgroups: comp.os.msdos.djgpp Subject: Re: ScreenSaver? Date: Sun, 19 Jul 1998 22:18:15 +0200 Organization: [Posted via] Interactive Networx Message-ID: <35B25487.E958E952@berlin.netsurf.de> References: <35B1977C DOT 8A1DACD2 AT jove DOT acs DOT unt DOT edu> <35b241b6 DOT 0 AT news DOT provide DOT net> NNTP-Posting-Host: dyn074.berlin.netsurf.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sean Middledich schrieb: > If it was for MS-DOS, you would need to make it a TSR. This can be done > using Interrupt 21h, function 31h or interrupt 27h. You then need tomoniter > the keyboard interrupt ( 09h ). you have to redirect interrupt 9h, so that it points to a routine you programmed. You mustalso reprogramm the timer interrupt. this one starts after a defined time, in which there was no message from your keyboard handler, the screensaver effect. The message would normally be a variable to be set if there was a key hit. The timer int checks this variable, and sets it back. and if it had been set it also sets back the time till calling the screensaver effect. You should do the same with int 33h (mouse) but don't forget to call the old int handlers as well!!! Harald Meyer