home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / grphega / digclock.arj / DIGCLOCK.DOC next >
Encoding:
Text File  |  1992-04-12  |  2.3 KB  |  121 lines

  1.  
  2.  
  3.        DIGCLOCK.EXE
  4.        ============
  5.  
  6.        This was one of the first C programs I wrote for the PC,
  7.        a couple of years ago now. I dug it out the other day,
  8.        and decided that there might be someone else out there
  9.        who would find it useful, so here it is...
  10.  
  11.        DIGCLOCK turns your PC into an extremely expensive
  12.        digital LED clock. It requires either EGA or VGA to run.
  13.  
  14.        The best way to see what it does is to try it - type
  15.        DIGCLOCK at the DOS prompt.
  16.  
  17.        There are two optional parameters to DIGCLOCK. The first
  18.        is the 24 hour clock switch. By default, DIGCLOCK always
  19.        displays the time in 12 hour clock format. The switch /24
  20.        will force DIGCLOCK to display the time in 24 hour clock
  21.        format.
  22.  
  23.        The second parameter is used to specify an alternative
  24.        colour for the clock to use. The default is a nice
  25.        sickly shade of green. To specify a different colour,
  26.        simply choose a number between 0 and 15. The colours are
  27.        as follows :
  28.  
  29.        Black          0    (Black on Black is pretty boring)
  30.        Blue           1
  31.        Green          2    (This is the default)
  32.        Cyan           3
  33.        Red            4
  34.        Magenta        5
  35.        Brown          6
  36.        Light Grey     7
  37.        Dark Gray      8
  38.        Light Blue     9
  39.        Light Green    10
  40.        Light Cyan     11
  41.        Light Red      12
  42.        Light Magenta  13
  43.        Yellow         14
  44.        White          15
  45.  
  46.  
  47.        e.g.  DIGCLOCK 4  will give you a red LED display.
  48.  
  49.        The two parameters can be combined :-
  50.  
  51.        DIGCLOCK /24 1  will give a blue LED display in 24 hour
  52.        clock format.
  53.  
  54.        To quit from DIGCLOCK, simply press any key.
  55.  
  56.  
  57.        ---------------------------------------------------------
  58.  
  59.        DIGCLOCK is copyright (C) 1991, 1992 David Wilkinson.
  60.        Feel free, however, to give copies of this program away
  61.        to anyone you like. The only proviso being that this
  62.        document should be included with the program, and that
  63.        both program and documentation must remain unmodified.
  64.  
  65.        Have fun,
  66.  
  67.        David Wilkinson.
  68.  
  69.        davidw@cix.compulink.co.uk
  70.        70630.67@compuserve.com
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.