home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / ParamRAM guard / PRAM save.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-08  |  901 b   |  26 lines  |  [TEXT/KAHL]

  1. /*
  2.  ***********************************************************************
  3.  *
  4.  *                                    PRAM boss
  5.  *             Reading Parameter RAM (PRAM) and setting/resetting it
  6.  *
  7.  * The program is intended to save the contents of the parameter RAM and the
  8.  * extended PRAM in a resource. The resource is used by an INIT PRAMset to
  9.  * reset the PRAM and extended PRAM to their "original" values (at the moment
  10.  * when the resource was created/updated). PRAM is a non-volatile RAM that stores
  11.  * almost all system parameters that are controlled by "control panels",
  12.  * say, the current date, the system font number and the speaker volume, beep 'snd '
  13.  * resource id, etc. The resource to store the "standard" PRAM settings is a 'HEXA'
  14.  * resource named "Standard PRAM".
  15.  *
  16.  ***********************************************************************
  17.  */
  18.  
  19. /* MacHeaders Included */
  20.  
  21.  
  22. void main(void)
  23. {
  24.     Initialize_MAC();
  25.     
  26. }