home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dosutils / dasbot16.arj / DASBOOT.DOC < prev    next >
Encoding:
Text File  |  1992-04-29  |  17.6 KB  |  335 lines

  1.  
  2.  
  3. DasBOOT.DOC
  4. V.1.6 (04/29/92)
  5. "Stacker Aware!"
  6. Copyright 1991-1992 by Russell Mueller
  7. Member of the Association of Shareware Professionals
  8.  
  9.  
  10. INTRODUCTION
  11. DasBOOT! is a reconfiguration/rebooting program written and compiled in Microsoft 
  12. QuickBASIC V.4.5.  The user may select a configuration from a set of AUTOEXEC.BAT 
  13. & CONFIG.SYS files displayed on the screen.  The program then copies these files to 
  14. AUTOEXEC.BAT & CONFIG.SYS and does a cold boot of the computer.  DasBoot! 
  15. can handle up to 7 configurations plus restore last used configuration.
  16.  
  17.  
  18. DISCLAIMER - AGREEMENT
  19.  
  20.     Users of  DasBOOT! must accept this disclaimer of warranty:
  21. "DasBOOT! is supplied as is.  The author disclaims all warranties, expressed or implied, 
  22. including, without limitation, the warranties of merchantability and of fitness for any 
  23. purpose.  The author assumes no liability for damages, direct or consequential, which may 
  24. result from the use of DasBOOT!."
  25.  
  26.  
  27.       *********************************************
  28.       *WARNING, WARNING, WARNING, WARNING, WARNING*
  29.       *********************************************
  30.     Before running any re-configuration program, such as DasBOOT!, it is advisable 
  31. to create a boot floppy disk that contains the current AUTOEXEC.BAT and 
  32. CONFIG.SYS files.  If you have Stacker installed, then be sure to include necessary lines 
  33. as well in your CONFIG.SYS and path statement in the AUTOEXEC.BAT files.
  34.     Delayed-write disk caches may cause problems with DasBOOT! and similar 
  35. reconfiguration programs which copy files to your AUTOEXEC.BAT and CONFIG.SYS 
  36. files and then cold boot the computer.  You must flush your cache's buffer and then 
  37. disable the cache before running DasBOOT!
  38.     DasBoot! tries to prevent any disk cacheing programs from causing any problems 
  39. by issuing a DOS interrupt call to flush all disk buffers, but this may not work on all disk 
  40. caches.
  41.     DasBOOT! may be run from any directory of your bootable hard drive.  Copy 
  42. DasBOOT.EXE, DASBOOT.CFG, and any configuration startup files (pairs of BAT and 
  43. SYS files) to the root directory of the hard drive from which you normally boot (usually 
  44. C:).  
  45. *****DO NOT RUN DasBOOT! YET!*****
  46.     You must first configure it and edit the sample CONFIG.SYS and 
  47. AUTOEXEC.BAT files!
  48. NEVER RUN DasBOOT! FROM WITHIN MICROSOFT WINDOWS 3.0 or 3.1 !!!
  49.  
  50. Always exit from Windows.  Do not run DasBOOT! from within a DOS session under 
  51. Windows!  If you do so, some data and program files may be left open, and may be 
  52. irreversibly damaged.  Also, Window's TMP files will be left on your hard drive and will 
  53. eventually fill up your hard drive unless you manually erase them.
  54. DasBOOT! does not check for the existence of files which you specify in the 
  55. DasBOOT.CFG file.  No damage will be done, but no reconfiguration will be done either.
  56.  
  57. INSTALLING DasBOOT!
  58. After UnZIPing the DASBOOT.ZIP file, make a DASBOOT subdirectory on your boot 
  59. drive.  (MD C:\DASBOOT)  Copy these files to your DasBOOT! directory
  60.  
  61. DasBOOT.ZIP contains:
  62.  
  63. DASBOOT.DOC   (This file)
  64. DASBOOT.EXE   The executable file
  65. DASBOOT.CFG   The ASCII configuration description
  66. NORMAL.BAT    An example AUTOEXEC.BAT type file
  67. NORMAL.SYS    An example CONFIG.SYS type file
  68. FS4MEM.BAT    An example AUTOEXEC.BAT type file
  69. FS4MEM.SYS    An example CONFIG.SYS type file
  70. VANILLA.BAT   An example AUTOEXEC.BAT type file
  71. VANILLA.SYS   An example CONFIG.SYS type file
  72.  
  73.  
  74. SETTING UP DasBOOT!
  75. 1). The user must create or edit a file called DasBOOT.CFG using a word  processor or 
  76. text editor which can save files in ASCII format.  The file contains three lines for each 
  77. entry.  Do not place any extra carriage returns between entries.
  78. The format is:
  79.  
  80. Line 1: The name of the configuration set of AUTOEXEC.BAT and CONFIG.SYS
  81.     files.  Example: NORMAL to indicate NORMAL.BAT and NORMAL.SYS.
  82.     The example files include FS4MEM.BAT and FS4MEM.SYS, VANILLA.BAT
  83.     and VANILLA.SYS.
  84.     The user must create the BAT and SYS files and name them and use
  85.     this exact name in the first line of each 3-line setup, 8
  86.     characters maximum.
  87. Line 2: A short description, up to 32 characters.
  88. Line 3: A secondary description, up to 80 characters.
  89.  
  90. There is a limit of 7 configurations or 21 lines in the DASBOOT.CFG file.  You may 
  91. create longer files, but DasBOOT! will recognize only the first 7 entries.  The last option 
  92. on the screen will be to re-boot using the previous configuration.  If this is your first use of 
  93. DasBOOT!, the computer will reboot using the current AUTOEXEC.BAT and 
  94. CONFIG.SYS files.
  95.  
  96. 2). Add the environment variable DASBOOT to your AUTOEXEC.BAT files.  Without 
  97. this variable, DasBOOT! will not be able to find it's setup data file and will ask you for the 
  98. setup configuration every time it is run.  Add the following line to your 
  99. AUTOEXEC.BAT file in the root directory of your boot drive and in each of the files 
  100. referenced in DASBOOT.CFG:
  101.  
  102.     SET DASBOOT=[Drive:\Path]
  103.  
  104. (example: SET DASBOOT=C:\DASBOOT
  105.  
  106. 3). If you are using Stacker by Stac Electronics, then add the necessary lines for Stacker 
  107. to every one of your SYS files, and add your Stacker path to the BAT files as well.  If you 
  108. fail to do this, then your Stacker drives will be unavailable after DasBOOTing.
  109.  
  110. IMPORTANT!  Before running DasBOOT! for the first time, backup your 
  111. AUTOEXEC.BAT and CONFIG.SYS files.  Optionally, copy them to new files such as 
  112. AUTOEXEC.XXX and CONFIG.XXX.   I recommend also keeping a backup on floppy 
  113. disk. 
  114.     It is recommended that you copy your normal, everyday startup files into the 
  115. NORMAL files above, and the bare-bones maximum memory configuration startup files 
  116. that you may now be using from a floppy to run Flight Simulator or other memory hungry 
  117. game or application into the FS4MEM files.
  118.  
  119.  
  120. COPY AUTOEXEC.BAT NORMAL.BAT
  121. COPY CONFIG.SYS NORMAL.SYS
  122. COPY BAREBONE.BAT FS4MEM.BAT ; or AUTOEXEC.BAT instead of
  123.         BAREBONE.BAT from your floppy boot disk.
  124. COPY BAREBONE.SYS FS4MEM.SYS ; or CONFIG.SYS instead of
  125.         BAREBONE.SYS from your floppy boot disk.
  126.  
  127.     The example files are for example only!  Do not run them!  They may crash your 
  128. system and have you scrambling for your DOS floppy, if you did not copy the files as 
  129. suggested above.
  130.     Since you are unlikely to have the same hardware and software configuration as I 
  131. have, you will probably want to (and HAVE to) modify the BAT and SYS files to suit 
  132. your system, in order to access any drivers (mice, scanners, memory managers, hard drive 
  133. drivers, etc.).  You may use any word processor which can save in ASCII format, or 
  134. othereditor such as EDIT which comes with DOS 5.0.  If you create other configuration 
  135. setup files, then edit the DASBOOT.CFG as well, following the DasBOOT.CFG syntax 
  136. for the information in each line.
  137.  
  138.  
  139. RUNNING DASBOOT!
  140.     To run DasBOOT, exit Windows or any other shell type program that you may be 
  141. using.  Log onto the drive and directory where you have installed the DasBOOT! files.  
  142. (For beginning computer users, the DOS command is CD\DASBOOT).
  143.     Now run DasBOOT! by typing DasBOOT (and screaming DasBOOT! at the top 
  144. of your lungs.  Just kidding, although my friends and I do this at work, <smile>  That kind 
  145. of gives away that we are using Flight Simulator again.), and pressing the Enter key.  The 
  146. first time that you run DasBOOT!, you will be asked a few questions on the 
  147. configurationof your computer.  A file called DASBOOT.DAT will be written to your 
  148. DasBOOT subdirectory.  Next, you will be presented with a menu of options.   Select one 
  149. of the boot configurations by either pressing a number key, or by using the arrow keys 
  150. (see note below on arrow keys) to highlight a configuration and pressing Enter.  The 
  151. screen will clear and you will see the message:
  152.  
  153.     "DasBOOT!ing in Progress...".
  154.  
  155.     DasBOOT! may not complete the file copying before re-boot if you are using a 
  156. write delay with a hard drive cache.  The AUTOEXEC.BAT and CONFIG.SYS files may 
  157. become corrupted, or the re-boot may cause a lockup if there are incompatible drivers, or 
  158. TSR's in the CONFIG.SYS and AUTOEXEC.BAT files.  If lockup occurs, you will have 
  159. to boot off of a floppy disk, and edit your startup files on the hard drive manually.  If 
  160. DasBOOT! cannot complete the file copies before a boot occurs, then you must first 
  161. disable your cache before DasBOOT!ing!
  162.  
  163.  
  164.  
  165.  
  166. ABOUT STACKER
  167.     DasBOOT V.1.6 has been tested with Stacker V.2.00, by STAC Electronics Inc..  
  168. Stacker modifies the structure of the hard drive.  It creates compressed partitions and adds 
  169. additional drives to the DOS internal drive list.  The compressed drive is the Stacker drive 
  170. and the new uncompressed drive (called the host drive) takes on the next available drive 
  171. letter.  If you modify your configuration, such as adding or removing ramdrives or other 
  172. disk drivers, and re-boot, then the name of the uncompressed drive name will change.  The 
  173. uncompressed boot drive contains AUTOEXEC.BAT, CONFIG.SYS files as well as any 
  174. TSR's that existed on the original boot disk.  Stacker must keep both the compressed 
  175. image of these files the same as the files on the uncompressed drive.  If the 
  176. AUTOEXEC.BAT or CONFIG.SYS changes on the compressed drive, then Stacker must 
  177. update the uncompressed drive as well.  For this reason, it is necessary for DasBOOT! to 
  178. determine the name of the uncompressed drive and copy the new AUTOEXEC.BAT and 
  179. CONFIG.SYS files there as well.  Upon rebooting, if Stacker detects the change, it will 
  180. update the files to both compressed and uncompressed drives, and an additional reboot is 
  181. necessary.  DasBOOT! takes this into account and copies the new files to both the Stacker 
  182. drive as well as the uncompressed drive.  This eliminates the extra reboot that Stacker 
  183. would normally require.  The mechanism for doing this is to run the STACKER.EXE 
  184. program, and sends the  results to a file called STACKER.DAS on the compressed boot 
  185. drive (usually C:).  The files is parsed and DasBOOT! determines the assigned drive letter 
  186. to the uncompressed boot drive.  The STACKER.DAS file that DasBOOT! created  is 
  187. erased.  Lastly, the new AUTOEXEC.BAT and CONFIG.SYS files are written to both 
  188. drives before issuing a cold boot instruction.
  189.     If you did not Stack the boot drive of your computer, then DasBOOT! will copy 
  190. the AUTOEXEC.BAT and CONFIG.SYS files to the boot drive only.
  191.     It is very important, before running DasBOOT! on a Stacked hard drive, that ALL 
  192. renamed AUTOEXEC.BAT and CONFIG.SYS files referred to in the DASBOOT.CFG 
  193. file contain the necessary STACKER lines as well as the path statement to the STACKER 
  194. directory.  If this is not adhered to, then file damage may result.
  195.     You may create a DASBOOT subdirectory on your host drive (the uncompressed 
  196. drive), and copy all of the DasBOOT! files there including your BAT and SYS files.  If 
  197. you should inadvertantly boot up without Stacker loaded, then you will be able to 
  198. DasBOOT! back, with one limitation:  Stacker does not actually use the 
  199. AUTOEXEC.BAT file on the host drive, but instead uses the AUTOEXEC.BAT on the 
  200. compressed (Stacked) drive.  And so, the first execution of DasBOOT! from this situation 
  201. will give you a mixed AUTOEXEC.BAT and CONFIG.SYS.  DasBOOT! once more and 
  202. the problem will be corrected!  And then be sure to add the Stacker lines to ALL of the 
  203. CONFIG.SYS type files!
  204.  
  205. For further information on Stacker, consult your Stacker manual.
  206.  
  207.  
  208.  
  209. HISTORY/Bug Fixes in DasBOOT!:
  210.  
  211. V.1.1. Although the program was written to recognize the up and down
  212.     arrow keys of 101-key enhanced keyboards, some keyboards may
  213.     required that the NUM LOCK and the CapsLock key be off for the
  214.     arrow keys on enhanced keyboards to work.  DasBOOT! now turns
  215.     them both off at the start of the program.
  216. V.1.2. Highlight was not selecting the whole line in V.1.0 and V.1.1,
  217.     and caused an unusual screen display.
  218. V.1.3. DOS interrupt call added which dumps the DOS disk buffers.
  219. V.1.4. DasBOOT! is made "Stacker Aware".  Stacker is a trademark/copyright
  220.     of STAC Electronics.  This version was not publicly released.  It
  221.     was only released for beta testing.
  222. V.1.5. Modifications were made to allow DasBOOT! to exist in a directory
  223.     which is different from the root directory of the boot drive.
  224.     This version has also been made "Stacker Aware".  It has only be tested with
  225.     Stacker V.2.00.  This version was not released to the public.
  226. V.1.6. Additional error checking added to look for errors in DASBOOT.CFG.
  227.  
  228.  
  229. DEFINITION OF SHAREWARE
  230.  
  231. Shareware distribution gives users a chance to try software before buying it. If you try a 
  232. Shareware program and continue using it, you are expected to register. Individual 
  233. programs differ on details -- some request registration while others require it, some specify 
  234. a maximum trial period. With DasBOOT! Version 1.6, registration for individual users is 
  235. $10.00 in U.S. funds.  Non-U.S. registrants, please use an International Money Order 
  236. available from your Post Office and include an additional $3.00 for shipping.
  237.  
  238. This pricing may change in future releases, as features are added.
  239.  
  240.     Copyright laws apply to both Shareware and commercial software, and the 
  241. copyright holder retains all rights, with a few specific exceptions as stated below. 
  242. Shareware authors are accomplished programmers, just like commercial authors, and the 
  243. programs are of comparable quality. (In both cases, there are good programs and bad 
  244. ones!) The main difference is in the method of distribution. The author specifically grants 
  245. the right to copy and distribute the software, either to all and sundry or to a specific 
  246. group. For example, some authors require written permission before a commercial disk 
  247. vendor may copy their Shareware.
  248.  
  249.  
  250.     Shareware is a distribution method, not a type of software. You should find 
  251. software that suits your needs and pocketbook, whether it's commercial or Shareware. 
  252. The Shareware system makes fitting your needs easier, because you can try before you 
  253. buy.  And because the overhead is low, prices are low also. Shareware has the ultimate 
  254. money-back guarantee -- if you don't use the product, you don't need to register/license it.
  255.  
  256.  
  257. DISCLAIMER - AGREEMENT
  258.  
  259.     Users of  DasBOOT! must accept this disclaimer of warranty:
  260. "DasBOOT! is supplied as is.  The author disclaims all warranties, expressed or implied, 
  261. including, without limitation, the warranties of merchantability and of fitness for any 
  262. purpose.  The author assumes no liability for damages, direct or consequential, which may 
  263. result from the use of DasBOOT!."
  264.  
  265.     DasBOOT! is a "shareware program" and is provided at no charge to the user for 
  266. evaluation.  Feel free to share it with your friends, but please do not give it away altered or 
  267. as part of another system. The essence of "user-supported" software is to provide personal 
  268. computer users with quality software without high prices, and yet to provide incentive for 
  269. programmers to continue to develop new products.  If you find this program useful and 
  270. find that you are using DasBOOT! and continue to use DasBOOT! after a reasonable trial 
  271. period, you must make a registration payment of $10.00 to Russell Mueller.  The 
  272. registration fee will license one copy for use on any one computer at any one time. You 
  273. must treat this software just like a book.  An example is that this software may be used by 
  274. any number of people and may be freely moved from one computer location to another, so 
  275. long as there is no possibility of it being used at one location while it's being used at 
  276. another.  Just as a book cannot be read by two different persons at the same time.
  277.  
  278.     Commercial users of DasBOOT! must register and pay for their copies of 
  279. DasBOOT! within 30 days of first use or their license is withdrawn.  Site-License 
  280. arrangements may be made by contacting Russell Mueller.  The registration price for 
  281. commercial users is $10.00 per user.
  282.  
  283.     Anyone distributing DasBOOT! for any kind of remuneration must first contact 
  284. Russell Mueller at the address below for authorization.
  285.  
  286.  
  287.     You are encouraged to pass a copy of DasBOOT! along to your friends for 
  288. evaluation.  Please encourage them to register their copy if they find that they can use it.  
  289. All registered users will receive software support via mail, free upgrades/fixes for 3 
  290. months from date of registration, as upgrades are made available.
  291.  
  292.  
  293.  
  294.  
  295. ***ASP Ombudsman Policy********************************************
  296. "This program is produced by a member of the Association of Shareware
  297. Professionals (ASP).  ASP wants to make sure that the shareware
  298. principle works for you.  If you are unable to resolve a shareware
  299. related problem with an ASP member by contacting the member directly,
  300. ASP may be able to help.
  301. The ASP Ombudsman can help you resolve a dispute or problem with an ASP
  302. member, but does not provide technical support for members' products.
  303. Please write to the ASP Ombudsman at 545 Grover Road, Muskegon, MI
  304. 49442 or send a Compuserve message via Compuserve Mail to ASP Ombudsman
  305. 70007,3536.
  306.     The OMB may be contacted by FAX by sending to the ASP FAX number:
  307. (616) 788-2765.  In communication with the OMB, please include a
  308. telephone number and/or FAX if available."
  309. *******************************************************************
  310.  
  311.  
  312. Thank you for reading this and supporting the shareware marketing method, where you 
  313. try before you buy!
  314.  
  315. DasBOOT! was written and is distributed by:
  316.  
  317. Russell Mueller
  318. 507 Washington Gdns
  319. Washington, NJ  07882-9205
  320.  
  321.  
  322. Compuserve [76662,1623]
  323.  
  324. Registration for DasBOOT! is only $10.00 U.S.
  325. Non-U.S. residents, please use International Postal Money order.
  326.  
  327. *Stacker is a trademark of Stac Electronics.  Russell Mueller is in no way associated with 
  328. Stac Electronic, other than being a registered owner of Stacker V.2.00.
  329.  
  330.  
  331. <End of Document>
  332. 6
  333.  
  334.  
  335.