home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR36
/
VGACON10.ZIP
/
VGACON.DOC
next >
Wrap
Text File
|
1994-01-05
|
10KB
|
312 lines
VGA Control v1.0
Copyright 1994
All Rights Reserved
New-Ware Shareware Products
8050 Camino Kiosco
San Diego, CA 92122
(619) 455-6225
Contents
1 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . 2
2 What is VGA Control? . . . . . . . . . . . . . . . . . . 2
3 VGA Color Palette . . . . . . . . . . . . . . . . . . . . 2
4 The Main VGACon Controls . . . . . . . . . . . . . . . . 3
5 VGACon Palette File Operations . . . . . . . . . . . . . 3
6 Exiting VGACon . . . . . . . . . . . . . . . . . . . . . 4
7 Using VGACon in a Batch File . . . . . . . . . . . . . . 4
8 Usage License and Registration . . . . . . . . . . . . . 4
i
1 Disclaimer
New-Ware hereby disclaims all warranties relating to this product,
whether express or implied, including without limitation any implied
warranties of merchantability or fitness for a particular purpose. New-Ware
cannot and will not be liable for any special, incidental, consequential,
indirect or similar damages due to loss of data or any other reason, even if
New-Ware or an authorized New-Ware agent has been advised of the possibility
of such damages. In no event shall the liability for any damages ever
exceed the price paid for the license to use software, regardless of the
form and/or extent of the claim. The user of this program bears all risk as
to the quality and performance of the software.
2 What is VGA Control?
VGA Control (hereafter known as VGACon) was originally designed as a
tool to support experimentation with manipulating the VGA color palette. It
provides a fast, direct visual interface between the user and his/her VGA
video card. The most important feature that VGACon provides is the
capability to save a specific color palette to a user-named disk file. When
executed with a command line parameter that is a VGACon palette file, VGACon
will set the VGA palette accordingly. This allows creating palette files
for various applications and using VGACON.EXE in batch files to set and
reset the VGA palette before and after running the application.
3 VGA Color Palette
The standard VGA palette consists of 16 colors numbered and named as
follows:
0 Black 8 Dark Gray
1 Blue 9 Light Blue
2 Green 10 Light Green
3 Cyan 11 Light Cyan
4 Red 12 Light Red
5 Magenta 13 Light Magenta
6 Brown 14 Yellow
7 Light Gray 15 White
Each color is formed by a combination of three RGB (for Red, Green,
Blue) values and each value can vary from 0 to 63. For example, the
standard RGB value for Magenta is 42, 0, 42 and for Light Blue is 21, 21,
63. With VGACon you can change the RGB combination to suit your tastes.
- 2 -
4 The Main VGACon Controls
Operation of VGACon is simple and very straightforward. When executed,
VGACON will first check to see if the current video system supports standard
VGA color manipulation. If not, the program will abort with an appropriate
message. The main VGACon display consists of a menu bar at the top, a large
interactive dialog box, and a status bar at the bottom. A color selection
matrix (16 colors) box appears in the upper left hand corner of the dialog
box. To the right of the color selection box there is a large box that
displays the current color and above that box is the standard color name and
palette number.
The color selection matrix is a control through which the active color
is selected. Use the mouse or the cursor keypad to select the desired
color. Note that the color display box will change as the active color
changes.
Just below the color display box are two push buttons. The "Restore
RGB" button will restore the current color RGB to the value detected at
start-up. The "Restore PAL" button will restore the entire VGA palette to
it's original start-up values. So feel free to experiment without concern
that you'll have to reboot your machine to get rid of the weird colors.
Three horizontal slider bars dominate the lower half of the dialog box.
These bars are the controls to use to change the Red, Green, or Blue values
for the palette color that is active. Each slider control can be moved via
the keypad or mouse the full range of 0 (left) to 63 (right) and the color
display box will reflect the current RGB value for the active color as the
sliders are moved.
Don't think that your VGA Brown really looks like brown? Select the
Brown color from the matrix (row #2, column #3) and move the RGB sliders
until it looks like you think it should look.
5 VGACon Palette File Operations
Once you have set the VGA palette the way you want, you can save the
current palette to a file of your choice. Either pull down the "File" menu
(Alt+F or mouse) or press F2 to activate the file save dialog. This dialog
contains controls that allows you to specify the name and host directory of
the palette file. You MUST use the extension of .PAL! So if you wish to
save the current palette to a file named WP.PAL, pop up the save file
dialog, enter WP.PAL, and select "Ok" or press the "Enter" key. Each PAL
file is 48 bytes long.
- 3 -
You may also load a PAL file via the "File" menu or by pressing the
"F3" key. If you wish to make a specific directory in your system active,
pull down the "File" menu and select "Directory Change" or press the "F5"
key. This is the control to use if you need to save a palette file to a
directory on a drive that is not active.
Remember, palette files MUST have a .PAL extension!
6 Exiting VGACon
You have the option of quitting VGACon and restoring your VGA colors to
the values they had when you executed VGACON or of quitting and retaining
the current values. "Alt+X" ALWAYS exits immediately and restores the VGA
colors as they were at start-up. To quit and retain the current color
settings, select the "Quit" menu and then select "Retain Changes". VGACon
will exit to DOS and your colors will remain intact unless and until some
other program resets them.
7 Using VGACon in a Batch File
One use for this utility is to set up a specific palette for different
programs. For example, perhaps you wish to have a different "look" when in
Word Perfect. First, use VGACon to create a "normal" PAL file. Start the
program and immediately save the current palette to a file, perhaps named
NORMAL.PAL. Then create the palette you wish to use in Word Perfect and
save it to a file perhaps named WP.PAL. Create a small BAT file from which
to load and run WP as follows:
VGACON WP.PAL
WP.EXE
VGACON NORMAL.PAL
This strategy will work fine as long as the target application does not
itself manipulate the VGA palette.
8 Usage License and Registration
VGACon is Shareware but it is not required to register VGACon in all
cases in order to continue using it. Individuals that use VGACon on their
personal computers at home for personal use are hereby granted a license to
continue operation without registering. These users are, however,
encouraged to register the product by sending a contribution of any amount
- 4 -
they deem appropriate. Those submitting individual registrations in the
amount of $10.00 or more will receive a 3 1/2" diskette containing the
latest version.
All business users, corporations, governments, and other institutions
are required to register VGACon for the fee of $10.00 within 30 days of
first evaluating the product. If after 30 days of first running the VGACon
program, it is decided that the program is useful a registration must be
submitted or the temporary usage license is revoked. Site licenses are
available for company use of more than one program.
Please use the following form to register:
Company Name:__________________________________________
Individual Name:_______________________________________
Address #1:____________________________________________
Address #2:____________________________________________
City:__________________________________________________
State:_____________________________ Country:___________
ZIP or Postal Code:____________________________________
This is an individual [ ] or a company [ ] registration.
Remitted Fee: ($10.00 if Company)______________________
Credit Card # (MCard/Visa only):_______________________
Exp. Date:_____________________________________________
Signature:_____________________________________________
Remit To:
New-Ware
8050 Camino Kiosco
San Diego, CA 92122
(619) 455-6225 [Voice orders]
455-5226 [BBS orders]
Copyright 1994 by New-Ware, all rights reserved.
- 5 -