home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
desqview
/
colortbl.arc
/
COLORTBL.DOC
< prev
next >
Wrap
Text File
|
1988-01-30
|
3KB
|
57 lines
COLORTBL - A COLOR ATTRIBUTE TABLE POP-UP FOR USE WITH DESQVIEW
Written By: Phillip A. Kaufman January, 1988
Copyright 1988 Phillip A. Kaufman. All rights, except those
specifically granted herein are reserved by the author. The right
to copy and distribute this material is granted without fee for
any and all non-commercial use. This material specifically may
not be distributed or sold for a fee nor incorporated in whole or
in part into any other product that is distributed or sold for a
fee without specific permission of the author. To obtain special
permission or to report any difficulties with this material
contact:
Phillip A. Kaufman
19987 Moran Lane
Saratoga, CA 95070
THIS MATERIAL IS DISTRIBUTED "as is" WITHOUT ANY EXPRESSED OR
IMPLIED WARRANTY OR LIABILITY FOR DIRECT, INDIRECT OR
CONSEQUENTIAL DAMAGES.
OVERVIEW
This program is similar to others written in assembly language
but it is written entirely in C. It was done to show that such
a program in C is nearly as small and fast as is the assembly
version and is easy for the user to modify as desired.
The program displays the colors possible on a display. For each
color combination the attribute byte [background color << 4 |
foreground color] is shown in hex.
Use: ESC to exit
Installation: Must be installed in Desqview environment.
Requires a DV memory size of only 3k.
Must set the window size to 8 high and 49 wide.
Program generates colors so set Uses Own Colors.
Files:
colortbl.c the source file ( for MSC 4.0;
compile with small model and link
with stack of 150 bytes - IT IS
REALLY IMPORTANT to either use linker
directive to set stack or to use
EXEMOD. Microsoft's default stack size
is 2k and program will crash DV if
loaded into a 3k segment.)
colortbl.exe compiled version of above - fits in 3k
with room to spare!
ct-pif.dvp dv 2.0 pif file