home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
windows
/
tegltc.zip
/
README.TXT
< prev
next >
Wrap
Text File
|
1990-06-29
|
5KB
|
131 lines
You have received the Introductory Package of the TEGL Windows
Toolkit II for Turbo C V 2.0.
This package is designed to let you really try out most of the
features of the Toolkit without having to buy it.
You may create and evaluate programs using this Introductory Package
but you may not sell or distribute them. To do that you must purchase
a commercial version. You may, however, distribute the COMPLETE set
of files in this package provided no charge is made other than a
nominal charge for copying.
Here is a list of differences between the Intro Pack and the
Commercial Version.
Intro Pack Commercial
* 7 fonts * 27 fonts
* available ram * EMM and virtual memory
* no source code * complete source code
including assembly language
* cannot distribute * no royalties, can freely
programs distribute your programs
The documentation provided on the disk is the same as what is
provided with the commercial version. If you decide to order
the commercial version then you won't have to print out a new
copy. These following items in the documentation are not in the
Introductory Package:
* Only the icon editor is provided, not the icon library
management programs.
* Chapter on Virtual Memory. Only the heap management routines
are included.
* SVGA800x600x16 - this graphics mode not provided.
* Only the fonts font07, font09, font14, future, oenglish, pc24
and pc9 are supplied.
Most of the files in this package are in a compressed form.
The installation program extracts the files onto your hard
disk.
Programs supplied in EXE format have been compressed with a
public domain utility call LZEXE. This program is available
on many bulletin boards and compuserve.
FILES supplied in this package
----------------------------------------------------------------
iconedit exe - icon editor program (see chapter 3)
install exe - installtion program for hard drive (see below)
readme txt - you know what this is
samprogs zip - program examples
tegl exe - demo program
tegldoc zip - documentation
tegldisk.prn - the manual
list.com - a program to view the any text file
printdoc.bat - batch file to print the manual
order.doc - order form for toolkit / games
toolkit.doc - more info on the toolkit
teglinfo.doc - info on the company
teglsys zip - all thats required to start programming GUI style
teglsys.lib - contains all the code ready to go, including
fonts and icons.
teglsys.h - header file for library
INSTALL drive:[path]
----------------------------------------------------------------
drive must be a hard drive and have 1 megabyte of
free space.
If you do not specify a path then \TEGLC is used. Exe,
doc and exam sub-directories are created.
COMPILING with the integrated environment.
----------------------------------------------------------------
Since graphics programs require so much memory it is unlikely
that you will be able to run a complex program from within the
environment but many programs can be compiled and linked within
it.
Your 'prj' file should have the following included in it
teglsys.lib
Options that need to be set:
LARGE memory model
Alignment BYTE
MEMORY USE
----------------------------------------------------------------
Graphics images require a lot of memory to process. The toolkit
will grasp all memory at startup. To reserve memory for your own
use you can either allocate it before calling either easytegl
or teglinit, or specify how much memory to leave alone (see
function easytegl in tegleasy.c) or use the memory management
routines in the toolkit (virtmem.c).
The following example leaves 30K of memory untouched for your
use (and the standard library routines).
#include <alloc.h>
#include "teglsys.h"
setheapmemmaxsize(coreleft-30000);
Keep in mind that a program designed to run on varying memory
configurations should check to see if there is going to be
enough left for the window manager. The window manager needs
1.5 x largest frame to work.
If you use easytegl as the startup call then 30000 bytes are
automatically set aside for your use.
BGI Drivers
------------------------------------------------------------------
The BGI drivers are not included in the teglsys.lib. You must
either specifically link them in or have the BGI driver available.
If not the program will display "SetGraphicMode Error".