I've decided to release the source of DPMS screen saver the
public domain. It's free. Do whatever you want with this source.
If you improve it, send me a version... Thanks.

To compile you will need Delphi and SPHINX C-- 
    C-- was written by Peter Cellik
       PETER SPHINX CELLIK
       RR#2 SITE 33 C11
       GABRIOLA ISLAND B.C.
       V0R 1X0
       CANADA
       cellik@sfu.ca


If you're not interested in the source, you may delete any files except:
dpms.scr
vesa.com
readme.txt

If you want to distrubute it somewhere, do so, don't ask money for it,
and please don't change the original zip file.

Good luck,
Daniel




--- The original readme.txt is coming here ---

DPMS Screen Saver for Windows NT 4.0 
version 0.2 beta

Marczisovszky, Daniel
marczi@kurt.hu

Budapest, Hungary
Csiki-hegyek u. 6.
1118

http://www.kurt.hu/~marczi


General notes:
It was tested only on NT4 SP3, S3Virge and TSENG ET6000/ET6100
Nothing is written to the registry.
Yet it can't be password protected. If there is somebody who is
interested in then I will write it. I promise.


1. Compatibility:
It should work with VESA >1.2 compatible video cards.


2. Install:
Unzip and copy all the files to your WINNT directory.


3. Uninstall:
Delete DPMS Screen Saver program files and DPMS_SCR.INI.

4. Files:
DPMS.SCR  -  Windows Screen Saver
VESA.COM  -  MS-DOS program to switch to Power Saving mode

If you have version 0.1 then please _DELETE_ VESA.PIF. 
(It's not needed any longer.)


5. Technical note:

I don't know how to call VGA BIOS from a Win32 application.
So I've written VESA.COM which can switch to Power Saving mode.
I know it's a dirty solution, but it works.

If anybody can tell me how to make direct BIOS (VESA) calls on NT, 
then please, please, please tell me!!!

I don't want to download WinNT DDK, maybe the answer is in that.
I don't even want to install Visual C++ and SDK and DDK. It's at least
5 micro$oft unit. (1 m$ unit is about 128MB.)

Even if you can tell me how to use DeviceIoControl and CreateFile with
the "Video" device, let me know. Thanks!!!


6. VESA.COM

It's a command line utility. You may even use it. There should be 
only one parameter and it's only a digit. 

VESA.COM 1  -  Suspend mode
VESA.COM 4  -  Standby mode

What it does:

1. It will switch off your monitor
2. Waits until you press a key, a mouse button or you move the mouse
3. Switches the monitor on.


Good luck!!!