home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 336_01 / readme.doc < prev    next >
Text File  |  1990-10-26  |  3KB  |  69 lines

  1. /*
  2. *                      E D I P A L . C v1.0
  3. *
  4. *                      written by Marwan EL-AUGI  23-oct-1990
  5. *
  6. *     Mr.Marwan EL-AUGI
  7. *     Res. PROBY  BAT.A5  App.527       /* feel free to send any comment*/
  8. *     115, imp. Villehardouin
  9. *     F-34090  MONTPELLIER
  10. *                   FRANCE
  11. *
  12. */
  13. A short history introduction
  14.  
  15.         This software is born from the need to assign a symbolic name to
  16. the 64 colors of the EGA color card. In TurboC (tm by Borland International)
  17. only the 16 colors of a standard CGA palette are given symbols
  18. which are : EGA_BLACK, EGA_BLUE... and so on.
  19.  
  20.         Calling the other colors is quite easy by their codes but giving
  21. a name to every color was pretty hard, I had to give standard names
  22. as EGA_LIGHT/DARK/PALE... to stay in the line given by the graphics library
  23. shipped with the TurboC package.
  24.  
  25.         I sent a copy of the new color chart to Borland maybe this modest
  26. contribution of mine will help choosing colors when designing a graphic
  27. application willing to be nicer to the eye.
  28.  
  29.  
  30. The actual package is shipped with two utilities :
  31.  
  32.      EDIPAL  .*  (.c & .EXE)
  33.      OUT     .*  (.c & .EXE)
  34.  
  35. The exe works fine on any EGA or EGA compatible board though I only tested
  36. it on a LEGA-enhanced card.
  37.  
  38. EDIPAL.EXE is the palette editor : with it you can change as you like the
  39. palette and save it. It lacks the possibility of a permanent save, by this
  40. I mean that I had to trick to save the changed palette by not closing
  41. the graphics system at exit time, so I had at last my DOS commands scrolling
  42. in bright orange and my prompt in a nice EGA_LIGHTPISTACHIOGREEN.
  43.  
  44. If you don't save the new palette, of course the standard one will be restored.
  45.  
  46. The problem is that any application that does graphics initialization results
  47. in erasing the new set palette.
  48.  
  49. The out.exe is a little utility I needed to draw two colums of numbers with
  50. an explicit header eather on disk or on printer so I could write (by hand)
  51. the new color chart (coding such a trivial program would have been killing
  52. mosquitos with a cannon)
  53.  
  54. By the time you read this there should be a SETPAL utility which reads
  55. a palette file and sets the graphics palette according to this file.
  56.  
  57. One last word about out.exe it tries to create the "printcol.dat" file
  58. in a directory named c:\tc\garbage which is my actual bucket directory
  59. for tcs' outputs.
  60.  
  61. This soft is also available At C users Journal Directory of shareware
  62. and public domain.
  63.  
  64. This software is just the first step I made, some enhancements are planned
  65. and should be ready by the time you read this : saving the palette to a disk
  66. file, a set of small utilities are planned to read and run palettes files
  67. saved with edipal main program.
  68.  
  69.