home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
500.lha
/
Blankette
/
Blankette.doc
< prev
next >
Wrap
Text File
|
1991-04-08
|
4KB
|
88 lines
AUTHOR : Max Bithead
DATE : 2-06-91
NAME : Blankette (very tiny screen blanker, hence "blankette")
DESC. : Blankette simply dims the screen when the user is away. This
avoids phospher burns in your monitor that may occur if the screen
displays a bright image for an extended period of time.
To accomplish the screen "dimming", the color values are simply
halved on the currently active viewport.
Blankette uses very little memory (under 2k) and very little CPU
time, thus making it a practical screen blanker.
Blankette must be started under CLI by typing:
run >nil: Blankette [seconds of inactivity before blank]
You may use any value you wish for the delay period. If Blankette
is started by just typing "Blankette n", it will be attached to
the CLI. Hit Ctrl-C to cancel it.
Blankette first cancels any other copies of itself that may be
running, so if you want a new delay period, simply restart
Blankette. To remove Blankette completely, simply type
"Blankette" without any parameters, or "Blankette 0".
If you are running a program that is a real CPU hog, never waits
on any event, and never does any I/O, then the chances are
Blankette won't get a chance to run. This is due to the low
priority at which Blankette operates. If Blankette wasn't at
such a low priority, system performance would suffer. I don't
want that on my system. If I need to walk away while a CPU
intensive program is running, shutting off the monitor works
nicely to preserve it's life. Blankette will otherwise kick in
during normal system activity.
A word about HAM: Normally, halving the color values of a HAM
picture does little or no good, such is the nature of Hold And
Modify mode. To get around this, Blankette turns HAM mode off
to dim the screen, and back on again when it detects user input.
Blankette is sensitive to mouse movement, joystick movement, the
left mouse button, the joystick button, and keyboard input.
HAPPY : So far, Blankette has proven to be compatible with just about
everything! In fact, I haven't been able to crash the system
by using it. :) Enjoy!
Ooops. It's possible, by way of the DisplayBeep function, to
get your screen stuck in the halved colors. To fix this situation,
simply pull up the system preferences. When the preferences
window pops up it resets your colors for you. Happy again.
----------------------------------------------------------------------------
Blankette be true PD, mon! It happens to be © Max Bithead, but I hereby
give anybody the right to mangle it as they wish, so long as ya give me
me just a little credit for the original work. I've included the source
code because, well, there just aint enough good examples of Amiga how-to
programming. And YES, YET ANOTHER assembler program by me! It woulda been
'C', but I wanted it to be REAL small. Anyway, any bright programmer oughta
be able to convert it to 'C' if they really want to.
And hey, don't rag on me if you DEW manage to make Blankette crash your
system some day. I may be responsible, but I aint liable.
I've included two versions of Blankette. One that halves the screen colors,
and one that quarters the screen colors for those who like to really crank
the ole brightness and contrast knobs. The second version is called
Blankette2. You may use either interchangably. Try 'em out with a delay of
1 second to see which you like better. For some real fun, see what happens
to HAM screens when they're dimmed.
Yet another fine product from Bithead Technologies. And the best part :
It's TOTALLY FREE!
-John Enright (A.K.A. Max Bithead)
Boulder, Colorado, 80301
(303) 938-9490