Industrial Training




Screen Saver For DOS



This program is a Dos based program. Many of us wouldn’t want other to peep into our monitor when we are away. In case of windows there are screen savers. But what about Dos? This program serves this purpose .It prompts for Password (which can be set by the user) when there no input from the keyboard. For a specified period of time that can be set by the user. Once it prompts one cannot enter without giving password.

We have designed the program using TSR PROGRAMING IN C and screen saver in graphics mode without using graphics.h header file. In the vicinity of all function is directly using VIDEO MEMORY AND INTERRUPTS. We have implemented DDA (digital differential analyzer algorithm) for line function and implemented MID POINT ALGORITHM for circle function.

There are four screen savers

  • Analog clock

  • Zooming circles

  • Scroll text

  • Magic dots

We have to set the password and run dssaver.exe, after specified time screen saver automatically started. Analog clock screen saver is designed in mode 19, which is of 320 * 200 and of 16 colors. We have not use graphics.h header file. To set password and time run setpts.exe. To enable screen saver run dssaver.exe from Dos Prompt. Make sure that dssaver.c, setpts.c and password.txt are in the same directory.



Hi I am Pluto.