home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Pascal / Applications / PRAM-Reader 1.2 / Read me < prev   
Encoding:
Text File  |  1995-11-04  |  5.8 KB  |  99 lines  |  [TEXT/ttxt]

  1. PRAM-Reader, What's That?
  2. PRAM-Reader reads and writes the original parameter RAM ("PRAM") data and the extended parameter RAM data of the Macintosh to a file on the disk. You can make a backup of the content of your PRAM with PRAM-Reader and rewrite this backup back to your PRAM in case the content of the PRAM is lost or you would like to restore old settings in control panels.
  3.  
  4. About the Parameter RAM
  5. The parameter RAM is a small piece of storage where the Macintosh saves information, for example, about the blinking rate of the cursor. In the extended PRAM more technical information is saved, for example, the default AppleTalk zone or the highlight colour. If the battery which supplies the parameter RAM with power loses its charge, the contents are lost. If any program crashes, it could also write garbage into the parameter RAM.
  6.  
  7. How to Clear and Restore the PRAM ("Zap" the PRAM)
  8. If the parameter RAM data is not valid, the macintosh might not start up. In this case, hold down the command key, the option key, the "P"-key and the "R"-key at startup. This deletes your parameter RAM and should solve your problem, but your settings in some control panels are lost and revert to default. Now you can use PRAM-Reader to restore the old settings from your Backup-PRAM-file back to the parameter RAM. After a restart, your settings and those of the system software will be there again! You will only have to reset your system clock to the correct time.
  9.  
  10. Using PRAM-Reader
  11. When you start PRAM-Reader, a window with two buttons appears. 
  12.  
  13. The first one saves the parameter RAM settings of your Macintosh onto your hard disk. Copy this file and the application itself to another disk. You should always keep this file containing your actual PRAM-content and the application PRAM-Reader in a safe place.
  14.  
  15. The other button restores your parameter RAM settings from a disk file. Be careful! All the old contents of the PRAM will be lost and replaced by the settings saved in the PRAM-Reader file. Changes are effective after a restart.
  16.  
  17. All commands can be accessed through the menus; there are command-key shortcuts as well.
  18.  
  19. Preferences dialog
  20. You can invoke the Preferences dialog by choosing "Preferences" from the Edit menu.
  21. In the Preferences dialog, you can tell PRAM-Reader to
  22. A) quit automatically when it has rewritten the (x)PRAM
  23. B) don't ask if the (x)PRAM should be overwritten
  24.  
  25. Restoring the (x)PRAM automatic at startup
  26. When you would like your PRAM to be reset at every startup, you may switch on both options in the Preferences dialog and put the PRAM file you want to write to the (x)PRAM or an alias of it into the Startup Items folder in your system folder.
  27.  
  28. PRAM-Reader now launches at every startup, writes the file to the (x)PRAM (it doesn't ask you if you want to overwrite the (x)PRAM) and quits to the Finder.
  29.  
  30. You may also want to take a look on the System Extension "ParamRAM boss" by Kiselyov Oleg (oleg@ponder.csci.unt.edu). You can get it via anonymous ftp at
  31.  
  32. ftp://replicant.csci.unt.edu/pub/oleg/ParamRAM_boss.cpt.hqx
  33.  
  34. Another utility whioch restores the (x)PRAM at startup and/or shutdown is "PRAM Auto-Restore", also by me. You can get it at info-mac sites. If you don't find it I can mail it to you.
  35.  
  36. Thanks, Source Code, Address, Bugs, etc.
  37. Thanks to Eric from Los Angeles at "EELEEL@aol.com", Bob Eidson and Alan Weissman at "JayBananas@aol.com" who corrected mistakes in this file.
  38.  
  39. Thanks to Kiselyov Oleg at "oleg@ponder.csci.unt.edu" who helped me with the extended parameter RAM.
  40.  
  41. Thanks to Dave Good. He pointed out some bugs in PRAM-Reader.
  42.  
  43. PRAM-Reader is completely free.
  44. Please report to me any errors or bugs (in the documentation and its spelling, also).
  45.  
  46.   Matthias Wuttke
  47.   Hilterweg 14
  48.   33803 Steinhagen
  49.   GERMANY
  50.  
  51.   Internet: wuttke@stein.teuto.de
  52.  
  53. You can get parts of the source code if you send me a disk and a self-addressed envelope (of course stamped!!). I can send it to you via e-mail, also. PRAM-Reader 1.2 was developed with Metrowerks Pascal from the CodeWarrior 6 CD and ResEdit 2.1.3. Previous version were developed with THINK Pascval 4.0.1. It works fine with System 7. I do not know if it works with older systems, too.
  54.  
  55. History
  56. 1.0    PRAM-Reader worked, but saved only the "normal" PRAM.
  57. 1.1    It saved also the extended PRAM through undocumented traps ($A051, $A052).
  58.        For information about these traps mail to Kiselyov Oleg (oleg@ponder.csci.unt.edu) or me.
  59. 1.1.1  Corrected and extended this file.
  60. 1.1.2  Caught some minor bugs.
  61. 1.2    Now PRAM-Reader is a fat binary. I completely rewrote it in Metrowerks Pascal (from the
  62.          CodeWarrior 6 CD ROM)
  63.        Improved this documentation 
  64.        PRAM-Reader saves more of the xPRAM (Thanks to Dave Good)
  65.        The PRAM can be restored automatically every startup
  66.  
  67. What does PRAM-Reader save and restore from the (x)PRAM:
  68. • the entire "regular" PRAM:
  69.   - node ID for Modem/Printer port
  70.   - modem/printer port configuration
  71.   - Alarm clock settings
  72.   - default application font
  73.   - printer connected to printer port or modem port?
  74.   - auto-key rate (the rate at which a character key repeats when it’s held down)
  75.   - auto-key treshold (the length of time a key must be held down before it begins to repeat)
  76.   - caret blink time
  77.   - double click time
  78.   - speaker volume
  79.   - menu blink time
  80.   - startup drive is internal/external
  81.   - mouse scaling on/off
  82.  
  83. • parts of the "extended" PRAM:
  84.   - Information for _InternalWait
  85.   - Information for _InitProcMenu
  86.     Apparently it has smth to do with the way windows
  87.     and dialogs appear on the screen
  88.   - Some default video settings
  89.   - RAM disk (size, on/off)
  90.   - System Beep
  91.   - Highlight Colour
  92.   - Memory/cache flags: 32 bit addressing, cache on/off
  93.   - Startup Disk Info
  94.   - Default AppleTalk zone
  95.   - Network access (LocalTalk/EtherTalk)
  96.   - AppleTalk active?
  97.   - Latitude/Longitude of the place the Mac is at
  98.  
  99. If you have more information about the (x)PRAM, please mail it to me.