home *** CD-ROM | disk | FTP | other *** search
/ Best of Big Blue Disk / bbdbest.zip / COLOR.TXT < prev    next >
Text File  |  1987-09-14  |  2KB  |  40 lines

  1. |D╔══════════════════╗════════════════════════════════════════════════════════════
  2. |D║ |5The Happy Hacker |D║════════════════════════════════════════════════════════════
  3. |D╚══════════════════╝════════════════════════════════════════════════════════════
  4.  
  5. ^C^1THE COLOR COMMAND
  6. ^Cby
  7. ^CGeorge Leritte
  8.  
  9.    George's COLOR command lets you set screen colors to the foreground/
  10. background combination of your choice by simply entering information at a DOS
  11. prompt:
  12.  
  13.    ^1COLOR [fg],[bg],[br]
  14.  
  15.    The "FG" parameter sets the foreground color.  The IBM has 16 foreground
  16. colors; enter a number between 0 and 15 here.  The "BG" parameter sets the
  17. background color; sixteen colors (0-15) are possible.  Finally, "BR" sets the
  18. border color; the border can be made any of 16 colors (0-15).  Add 16 to the
  19. foreground to get blinking letters; however, blinking foreground is overridden
  20. if you choose high-intensity background (colors 8-15).  High intensity
  21. background does not work on the PCjr.  Note that all of these parameters are
  22. optional.  If you do not enter any parameters, the default colors will be used.
  23. Just remember that commas must be kept in the command and that spaces do not
  24. count.  For example, if you like the default foreground and background color,
  25. but would like to change the border color, you would enter:
  26.  
  27.    ^1COLOR ,,[br]^0.
  28.  
  29.    The default screen uses a bright white foreground on top of a blue background
  30. with a red border.  With a little work, however, you can change the COLOR
  31. command's default setting.  The third byte of the program contains the default
  32. border color.  The fourth byte of the program contains the default attribute,
  33. the byte which contains background and foreground color information.
  34.  
  35.    To learn more about IBM screen colors, consult Joel Rea's video tutorial
  36. series and George's COLOR TEST that we ran in BIG BLUE DISK #6.
  37.  
  38. DISK FILES THIS PROGRAM USES:
  39. ^FCOLOR.COM
  40.