home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / proclc / clockid.c < prev    next >
Text File  |  1994-03-22  |  2KB  |  67 lines

  1. /*************************************************************************
  2.              TINY CLOCK -- DISPOSABLE DATA
  3.         Copyright (c) 1992-94 by Omega Point, Inc.
  4. --------------------------------------------------------------------------
  5.    This module contains ALL disposable data only.  The marker at the end
  6.    called init_end_data is just a marker to the end of disposable data
  7.  
  8.    NO CODE CAN BE PUT INTO THIS MODULE, DATA ONLY 
  9. **************************************************************************/
  10.  
  11.  
  12. #include "cr.h"
  13.  
  14.  
  15. /* Video attributes for signon screen. The last one is for the Clock */
  16.  
  17. char attrc[]={0x17,0x1E,0x13,0x1F,0x1B,0xA}; /* Color screen attributes */
  18. char attrm[]={0x07,0x0F,0x07,0x07,0x07,0xF}; /* Mono screen attributes  */
  19.  
  20. /* This is the signon message */
  21.  
  22. char sms[]= "`0"
  23.         "█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█`m"
  24.         "█`1     CLOCK  1.24      `0█`m"
  25.         "█`2     ───────────      `0█`m"
  26.         "█`3  (c) Copyright 1992  `0█`m"
  27.         "█`3   Omega Point, Inc.  `0█`m"
  28.         "█`2     ───────────      `0█`m"
  29.         "█`4     Written by:      `0█`m"
  30.         "█`4      RGL & RVT       `0█`m"
  31.         "█`2     ───────────      `0█`m"
  32.         "█`1   Unload: `3CLOCK -r   `0█`m"
  33.         "█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█`n`5";
  34.  
  35.  
  36. char already[]="Error - CLOCK already present.`n"
  37.                "Enter CLOCK -R to unload.";
  38.  
  39. char unloaddone[]="CLOCK has been removed from memory.";
  40. char unloadnot[]="CLOCK could not be removed from memory.";
  41.  
  42. char _tsr_name[]="CLOCK (C) 1992 OP";
  43.  
  44.  
  45. struct cfg_rec config_block = {    /* This record stays in only one module */
  46.     sizeof(config_block),    /* Configuration block size */
  47.     'O','P','C','L',    /* Program ID string */
  48.     100,            /* Version 1.00 */
  49.     };
  50.  
  51. /***********************************************************
  52.  STORE THIS IMMEDIATELY AFTER THE LAST DISPOSABLE DATA ITEM
  53. ************************************************************/
  54.  
  55. /****  1. Store all install_?? type function pointers into install_list ****/
  56.  
  57.  
  58. fp install_list[]={install_tsc};  /* Only tiny scheduler used */
  59.  
  60.  
  61. /****  2. Put Marker for the end-of-init-data (must be = NONZERO) ****/
  62.  
  63. word init_data_end=1;
  64.  
  65. /************************************************************************/
  66.  
  67.