home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / tegltc.zip / README.TXT < prev    next >
Text File  |  1990-06-29  |  5KB  |  131 lines

  1. You have received the Introductory Package of the TEGL Windows
  2. Toolkit II for Turbo C V 2.0.
  3.  
  4. This package is designed to let you really try out most of the
  5. features of the Toolkit without having to buy it.
  6.  
  7. You may create and evaluate programs using this Introductory Package
  8. but you may not sell or distribute them. To do that you must purchase
  9. a commercial version. You may, however, distribute the COMPLETE set
  10. of files in this package provided no charge is made other than a
  11. nominal charge for copying.
  12.  
  13. Here is a list of differences between the Intro Pack and the
  14. Commercial Version.
  15.  
  16. Intro Pack                   Commercial
  17.  
  18.   * 7 fonts                    * 27 fonts
  19.   * available ram              * EMM and virtual memory
  20.   * no source code             * complete source code
  21.                                  including assembly language
  22.   * cannot distribute          * no royalties, can freely
  23.     programs                     distribute your programs
  24.  
  25. The documentation provided on the disk is the same as what is
  26. provided with the commercial version. If you decide to order
  27. the commercial version then you won't have to print out a new
  28. copy. These following items in the documentation are not in the
  29. Introductory Package:
  30.  
  31.   * Only the icon editor is provided, not the icon library
  32.     management programs.
  33.   * Chapter on Virtual Memory. Only the heap management routines
  34.     are included.
  35.   * SVGA800x600x16 - this graphics mode not provided.
  36.   * Only the fonts font07, font09, font14, future, oenglish, pc24
  37.     and pc9 are supplied.
  38.  
  39.  
  40. Most of the files in this package are in a compressed form.
  41. The installation program extracts the files onto your hard
  42. disk.
  43.  
  44. Programs supplied in EXE format have been compressed with a
  45. public domain utility call LZEXE. This program is available
  46. on many bulletin boards and compuserve.
  47.  
  48. FILES supplied in this package
  49. ----------------------------------------------------------------
  50. iconedit exe    - icon editor program (see chapter 3)
  51. install  exe    - installtion program for hard drive (see below)
  52. readme   txt    - you know what this is
  53. samprogs zip    - program examples
  54. tegl     exe    - demo program
  55. tegldoc  zip    - documentation
  56.               tegldisk.prn - the manual
  57.               list.com - a program to view the any text file
  58.               printdoc.bat - batch file to print the manual
  59.               order.doc - order form for toolkit / games
  60.               toolkit.doc - more info on the toolkit
  61.               teglinfo.doc - info on the company
  62.  
  63. teglsys  zip    - all thats required to start programming GUI style
  64.               teglsys.lib - contains all the code ready to go, including
  65.                             fonts and icons.
  66.               teglsys.h   - header file for library
  67.  
  68.  
  69.  
  70. INSTALL drive:[path]
  71. ----------------------------------------------------------------
  72.  
  73. drive must be a hard drive and have 1 megabyte of
  74. free space.
  75.  
  76. If you do not specify a path then \TEGLC is used. Exe,
  77. doc and exam sub-directories are created.
  78.  
  79.  
  80. COMPILING with the integrated environment.
  81. ----------------------------------------------------------------
  82. Since graphics programs require so much memory it is unlikely
  83. that you will be able to run a complex program from within the
  84. environment but many programs can be compiled and linked within
  85. it.
  86.  
  87. Your 'prj' file should have the following included in it
  88.  
  89. teglsys.lib
  90.  
  91. Options that need to be set:
  92.  
  93.    LARGE memory model
  94.  
  95.    Alignment BYTE
  96.  
  97.  
  98. MEMORY USE
  99. ----------------------------------------------------------------
  100.  
  101. Graphics images require a lot of memory to process. The toolkit
  102. will grasp all memory at startup. To reserve memory for your own
  103. use you can either allocate it before calling either easytegl
  104. or teglinit, or specify how much memory to leave alone (see
  105. function easytegl in tegleasy.c) or use the memory management
  106. routines in the toolkit (virtmem.c).
  107.  
  108. The following example leaves 30K of memory untouched for your
  109. use (and the standard library routines).
  110.  
  111. #include <alloc.h>
  112. #include "teglsys.h"
  113.  
  114. setheapmemmaxsize(coreleft-30000);
  115.  
  116. Keep in mind that a program designed to run on varying memory
  117. configurations should check to see if there is going to be
  118. enough left for the window manager. The window manager needs
  119. 1.5 x largest frame  to work.
  120.  
  121. If you use easytegl as the startup call then 30000 bytes are
  122. automatically set aside for your use.
  123.  
  124. BGI Drivers
  125. ------------------------------------------------------------------
  126.  
  127. The BGI drivers are not included in the teglsys.lib. You must
  128. either specifically link them in or have the BGI driver available.
  129. If not the program will display "SetGraphicMode Error".
  130.  
  131.