home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
screen
/
wbverl19.lha
/
WBVerlauf.doc
< prev
next >
Wrap
Text File
|
1993-05-19
|
4KB
|
94 lines
WBVerlauf WBVerlauf
NAME
WBVerlauf - Create background copper list on the Workbench screen
SYNOPSIS
WBVerlauf Startcolor,Endcolor,ColorNumber/N,Step/N,Info/S
The AGA chipset and Kickstart 3.0 are required.
All options are available from icon tooltypes or as command line
arguments.
DESCRIPTION
WBVerlauf lets you create nice color effects for a selectable
pen color number on the Workbench screen, using the whole
16 million color range of the AGA chips.
It works in Workbench and shell environments, and can be put in the
WBStartup drawer.
You specify the color of the first and the last line of the screen,
and WBVerlauf will make a smooth color change by setting a new
color value on every scanline.
If started from a shell, you can hit Ctrl-C or use the "Break"
command to quit. If started from Workbench, double-clicking the
program icon again forces the running copy to self-terminate.
Example: I have an 8 color Workbench, and I set the Workbench's
background color to color 4 (using the WBPattern prefs
editor). Then I set the COLORNUMBER tooltype to 4, so
only the Workbench's color gets changed by WBVerlauf.
This looks very nice (the icon is designed for this case).
INPUTS
STARTCOLOR - A six digit hexadecimal number specifying the
color of the first line of the screen. The first
two digits select the red level, the next two
digits the green and the last two digits the blue
level. So a startcolor of 0xF765E3 would give you
a nice pink (0xF7 for red, 0x65 for green and
0xE3 for blue; 00 is dark and FF is bright).
If you specify the string "RANDOM", a random value
will be used.
ENDCOLOR - A six digit hexadecimal number specifying the
color of the last line of the screen.
If you specify the string "RANDOM", a random value
will be used.
COLORNUMBER/N - Pen number of the color to change. A value of
0 means background color, 1 is normally the
text color, 3 is for window borders, etc.
Must be in the range of 0 to 255.
STEP/N - Number of lines between color changes. Defaults
to 1. If you have a slow processor, you may wish
to set this to a higher value, so the screens
will scroll faster.
INFO/S - Display a short info message and return to shell
WARNINGS
- This program makes use of undocumented hardware components of the
AGA chips, and is not programmed according to Commodore rules.
It will not work with future hardware or software versions.
You must NOT use this code in professional applications.
BUGS
Tell me about any you find!
AUTHOR
Christian A. Weber
Internet: weber@amiga.physik.unizh.ch
UUCP: chris@mighty.adsp.sub.org
Snail mail: Bruggerweg 2, CH-8037 Zürich, Switzerland.
RELEASE
30-Nov-92 V1.4 Initial release
07-Dec-92 V1.5 Bug fixes:
- Horizontal mouse pointer resolution change
works correctly (with a slight delay..)
- Colornumbers above 32 work correctly now
15-Dec-92 V1.6 Copper list optimized for better performance
09-Mar-93 V1.7 RANDOM parameter for colors added
05-Apr-93 V1.8 Enforcer hit in copperlist routine removed
19-May-93 V1.9 WBVerlauf no longer locks the WB screen, so
you can change screen modes while the
program is running.
LEGAL STUFF
Copyright © 1992, 1993 by Christian A. Weber.
This program may be distributed for non-profit purpose only.
No Warranty. Use at your own risk.