home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / discs / gerald / 6_01 / A4Booting / My / !Boot / !Help < prev    next >
Text File  |  1990-09-28  |  4KB  |  100 lines

  1. Hard disc booting routines
  2. ⌐ Ben Summers 1990
  3.  
  4.                        Hard disc booting routines
  5.                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
  6.  
  7. The idea of these routines is to make a boot file for a hard disc which can
  8. be switched on and off with a WIMP application, and the opposite option
  9. selected when a mouse button is held down.
  10. The !Boot application should be copied to the root directory of the hard
  11. disc, and the !BootCtrl appliction should be copied to somewhere on the disc
  12. (I suggest the root directory again).
  13.  
  14. The machine must then be configured as follows:
  15. *Configure FileSystem XXXX    <<-- name of filing system e.g. ADFS or SCSI
  16. *Configure Drive X            <<-- number of drive
  17. *Configure Boot
  18.  
  19. Then select the root directory of the hard disc as the current directory
  20. (e.g. *Mount X where X is the number of the drive), then type *Opt 4,2 to
  21. set the boot option of that disc.
  22.  
  23. Using !BootCtrl
  24. ~~~~~~~~~~~~~~~
  25. Load the application, then select the on or off icon. Click on OK to set the
  26. option. The application sets a location reserved for the user in the battery
  27. backed RAM, which can be read with the utility LC.
  28.  
  29. Customizing the boot file
  30. ~~~~~~~~~~~~~~~~~~~~~~~~~
  31. The file StartUp in the application directory contains a list of *commands.
  32. These can start multi-tasking applications (and only multi-tasking
  33. applications), or be simple *commands (e.g. HourOn - see later in this
  34. file).
  35.  
  36. Have a look at the file supplied to give an idea of how to do it.
  37.  
  38. The file !Run can be used to load modules used by all the startup files or
  39. that you would want to use often, like extra modes.
  40.  
  41. There is a utility called WM which sets the wimp mode to its first command
  42. line parameter. Use this if you want to set different modes in different
  43. startup files, or you want to use a mode in a module which you have loaded
  44. before.
  45.  
  46. Mode53
  47. ~~~~~~
  48. This module provides a large multi-sync mode. It is number 53 (surprise
  49. surprise).
  50.  
  51. HourExt
  52. ~~~~~~~
  53. This module provides a *command interface to the Hourglass module. It provides the following commands:
  54. *HourOn           Turns the hourglass on
  55. *HourOff          Turns the hourglass off
  56. *HourLED <n> <n>  Sets the LEDs on the hourglass. See the PRM for how the
  57.                    numbers affect it
  58. *HourPercent <n>  Sets the percentage on the hourglass
  59. *HourStart <n>    Starts the hourglass after n centi-seconds
  60. *HourSetInc <n>   Sets the increment step for *HourInc
  61. *HourInc          Increments the percentage on the hourglass by the value
  62.                   set with *HourSetInc
  63. These commands can be used to show how far the startup procedure has got.
  64.  
  65. How it works
  66. ~~~~~~~~~~~~
  67. The boot routines use two utilitys - LC and MB:
  68.  
  69.   LC
  70.   ~~
  71. This utility loads the configuration of the boot file set by the BootCtrl
  72. application. It sets the system variable Boot$Config to On or Off.
  73.  
  74.   MB
  75.   ~~
  76. This utility reads the status of the mouse buttons. It then sets the system
  77. variable Mouse$Button to None, Left, Middle or Right. If a mouse button is
  78. held down, it will make a sound to tell you that you can release the mouse
  79. button.
  80.  
  81. After each of these utilitys have been run, it looks to see what the system
  82. variables they set are, and runs the appropriate files.
  83.  
  84. The author
  85. ~~~~~~~~~~
  86. These routines were written by Ben Summers. If you have any bugs (what?) to
  87. report or comments to make, please contact me at the address below. Please
  88. enclose an SAE.
  89.  
  90.   Ben Summers
  91.   39A Cromer Road
  92.   Hellesdon
  93.   Norwich
  94.   NR6 6LX
  95.  
  96.                  **************************************
  97. These routines are Public Domain. Please give copies to all your friends,
  98. but give them the routines as you got them, not your own customized version.
  99.                  **************************************
  100.