home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / GLEN / NICEBT11.ZIP / NICEBOOT.DOC < prev    next >
Text File  |  1991-07-30  |  17KB  |  353 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                     NiceBoot
  7.                                    Version 1.10
  8.  
  9.               A utility to improve (and revolutionize) the way the PC boots!
  10.  
  11.                              Copyright (c) August 1991
  12.                                  By Joe Tamburino
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                                    Introduction
  21.                                    ------------
  22.  
  23.      Welcome to the NiceBoot program!  Are you tired of that endless mass of information which
  24. gets installed by CONFIG.SYS and AUTOEXEC.BAT every time you fire up your machine?  This program
  25. was designed to neaten up your IBM PC's screen display during the booting sequence, and even
  26. more importantly: to provide a nice-looking screen with a status bar which allows you to see
  27. instantly how much time is left until the DOS prompt appears (or your favorite application
  28. program begins to load).
  29.  
  30.      The following list highlights some of the most important features of NiceBoot:
  31.  
  32.      - Hides the loading of most device drivers in CONFIG.SYS as well as most TSR programs 
  33. loaded by AUTOEXEC.BAT.  (Most means "almost all".  There are a few pesky TSRs and device driv-
  34. ers which will fail and will have to be loaded either BEFORE or AFTER NiceBoot is activated).
  35.  
  36.      - Uses NO memory!  Your application programs will see no difference in the amount of memory 
  37. available to them.  Honest!
  38.  
  39.      - Works with DOS shells such as 4DOS.  Windows users can use NiceBoot too; just keep in 
  40. mind that NiceBoot must be deactivated BEFORE Windows begins to load.
  41.  
  42.      - NiceBoot's screen is a simple, clutter-free screen which uses the EGA 640x350 monochrome 
  43. screen (0fh).  Both the background and foreground color can be changed by the user.  Keep in 
  44. mind that a standard VGA adapter or higher is required to use NiceBoot since many of the ad-
  45. vanced VGA features are used.
  46.  
  47.      - As an added bonus, NiceBoot also allows keys to be stuffed into the keyboard buffer!  If 
  48. there is a certain key-sequence that you always type during the boot process, NiceBoot can be 
  49. told to generate these keypresses (up to 15 keypresses total).
  50.  
  51.  
  52.  
  53.                                 Legal Information
  54.                                 -----------------
  55.  
  56.      NiceBoot is being distributed under the ShareWare concept.  You are entitled to use the
  57. program for a period of up to one week.  If, after that time, you decide to keep using NiceBoot,
  58. you are required to pay for the program.  In turn for your payment, you will be notified of any
  59. changes and upgrades to NiceBoot, as well as any other programs that the author has constructed.
  60. To register for NiceBoot, send $15.00 to the author at:
  61.  
  62. Joseph J. Tamburino
  63. 7 Christopher Rd.
  64. Westford, MA 01886                    Phone: (508) 692-7756
  65.  
  66.  
  67.                                  Revision History
  68.                                  ----------------
  69.  
  70. The following is the revision history for NiceBoot:
  71.  
  72.  
  73.           dates                            comments
  74.   ------------------------------------------------------------------
  75.  
  76.   Beta version: released before 2/11/91      Beta version
  77.   1.01:         released 2/11/91             Fixed time clock problem *
  78.   1.02:         released 2/11/91             Added blank screen option *
  79.   1.03:         released 7/29/91             Fixed DoneBoot screen rest. prob.
  80.   1.04:         released 7/30/91             Added plane protection
  81.   1.10:         released 7/30/91             Option to customize status
  82.                                              bar colors, use 3rd color
  83.  
  84. * Thank you, Tom Moore, for suggestions employed in releases 1.01 through
  85.   1.02.
  86.  
  87.  
  88.                                    Source Code
  89.                                    -----------
  90.  
  91.      I normally include source code with the programs that I write.  However, since I have never 
  92. come across a program quite like this one before, it is reasonable to assume that there might 
  93. actually be a market for a program such as this.  If this is the case, the source code will
  94. probably not be made available.  But in the advent that NiceBoot is an unpopular program (as is 
  95. the case with virtually all ShareWare programs), I will provide a free copy of the source code 
  96. with your registration payment upon request (please specify diskette format).
  97.  
  98.      
  99.  
  100.                                  Getting Started
  101.                                  ---------------
  102.  
  103.      NiceBoot's archive is composed of the following files:
  104.  
  105. NICEBOOT.SYS:   This is the main program.  Include it in your CONFIG.SYS file
  106.                 above the devices (and later, TSRs) to be hidden from view.
  107.  
  108. DONEBOOT.COM:   The purpose of this program is twofold.  It's first job is to
  109.                 tell NICEBOOT when it's time to deactivate itself, and the
  110.                 second purpose is to tell NICEBOOT how long the last booting
  111.                 sequence took (so that next time, NICEBOOT will be able to
  112.                 more accurately predict the time-left-to-go).
  113.  
  114. NICEBOOT.DOC:   This documentation.
  115.  
  116.  
  117.      That's it, just two program files!  Now keep in mind that the initial setup of NiceBoot may
  118. be a little tricky.  This is because there are some TSRs and device drivers out there which will 
  119. interfere with NiceBoot's operation.  Unfortunately, knowing which of the TSRs are causing the 
  120. conflicts might take a little bit of trial & error.  To help you out, here are a few things to 
  121. look out for in terms of conflicts:
  122.  
  123. - If you have a video driver installed in your system which controls the BIOS of your VGA card,
  124. it probably will conflict with NICEBOOT, so load it BEFORE NICEBOOT is loaded.
  125.  
  126. - If you have any TSRs which appear to draw graphical images on the screen, they MAY conflict 
  127. with NICEBOOT; it all depends on whether the image was drawn with text symbols or with graphic 
  128. pixels.  TSRs such as this must be loaded AFTER doneboot has executed.
  129.  
  130. - In general, if you find that a certain device driver conflicts with NiceBoot, load it BEFORE 
  131. NiceBoot.  If, on the other hand, you find that something in the AUTOEXEC.BAT file is conflict-
  132. ing with NiceBoot, load it after the DONEBOOT program is executed.
  133.  
  134.  
  135.                                How to Setup NiceBoot
  136.                                ---------------------
  137.  
  138.  
  139.      With all that said, here is the exact procedure for setting up NiceBoot:
  140.  
  141.      First, insert NICEBOOT.SYS into the CONFIG.SYS file with the following syntax (It makes no 
  142. difference whether lowercase, uppercase, or both, are used):
  143.  
  144. DEVICE=[path]NICEBOOT.SYS [/cbbff] [/snn] [/e(n1,n2,n3,..,nn)] [/b] [/p]
  145.  
  146.      Well, don't insert it exactly like that!  First, you need to know what everything means.  
  147. Brackets mean that the information enclosed is optional.  But don't actually include any brack-
  148. ets in the CONFIG.SYS entry.  As you can see, you may need to specify a path before 
  149. "NICEBOOT.SYS" if the program resides somewhere other than where CONFIG.SYS is.  
  150.  
  151.      Ok, now the "/c" option stands for "color".  It is here that you can optionally set the 
  152. background and foreground colors for NiceBoot. (NiceBoot defaults to using a black screen with 
  153. bright white foreground text.)
  154.  
  155.     Keep in mind that you must specify both colors in hexadecimal, and that ALL four digits must 
  156. be specified.  The colors refer to the EGA DAC register index containing the color value that
  157. you wish to use.  For those who are unfamiliar with the way DAC registers are specified, her are 
  158. the standard indexes used for the 16 normal colors:
  159.  
  160. Index         Color
  161. ------------------------
  162.  30           Black
  163.  31           Blue
  164.  32           Green
  165.  33           Cyan (Bluish green)
  166.  34           Red
  167.  35           Magenta (purplish)
  168.  36           Brown
  169.  37           White
  170.  38           Gray
  171.  39           Light Blue
  172.  3A           Light Green
  173.  3B           Light Cyan
  174.  3C           Light Red
  175.  3D           Light Magenta
  176.  3E           Yellow
  177.  3F           Bright White
  178.  
  179.     Note, however, that these are only a small sample of the colors available during startup.
  180. There are about 240 other colors that you could use in place of these!
  181.  
  182.      The "/s" option is similar.  The "/s" option specifies the pattern to be used for the 
  183. status bar.  Optionally, you may specify a "special" mode whereby the planes are masked to get 
  184. the status bar to display in a 3rd color!  (Don't forget, this is a monochrome screen.  Normal-
  185. ly, such screens permit only two colors onscreen at once.  But with this special option, you can
  186. get a third!)  The format is like this:  you specify two hexadecimal digits after the "/s".  The 
  187. first one is "8" to get the special third color option (which typically comes in looking black-
  188. ish-blue.  The color varies depending on the value of the foreground color specified above).  A 
  189. "0" as the first digit indicates that the status bar is to be drawn in the current foreground 
  190. color (see above).  Now, the chart below details the second digit:
  191.  
  192.  
  193.                  Second Digit         Resulting Pattern
  194. ----------------------------------------------------------------------------
  195.                        0              Solid Background color (see above)
  196.                        1              Solid Foreground color (see above)
  197.                        2              Alternating Vertical Bars
  198.                        3              Same, but bars shifted to the right
  199.                        4              "Matrix" Pattern
  200.  
  201.      Here are some examples of the "/s" and "/c" switches:
  202.  
  203.       Command Line                   Status Bar
  204. -----------------------------------------------------------------------------
  205.        /c313f /s00                   Blue status bar
  206.        /c313f /s01                   White status bar
  207.        /c313f /s02                   Blue/Black striped status bar
  208.        /c313f /s84                   Blackish/Blue matrix-style status bar
  209.        /c3f31 /s82                   Blackish/White striped status bar
  210.  
  211.      The next option on the command line is "/e" which is short for "enter".  The enter option 
  212. is used to enter up to 15 keystrokes into the keyboard buffer so that commonly used key se-
  213. quences can be entered during the boot process. 
  214.  
  215.      To use this option, follow the /e with an open parenthesis followed by a list of two-digit 
  216. hexadecimal numbers separated by commas, followed finally with the close parenthesis (see the
  217. syntax diagram described above).
  218.  
  219.      In this case, the two-digit hexadecimal numbers represent the ASCII values of keypresses to
  220. generate.  Unfortunately at this time, NiceBoot provides no option for generating scan-codes as
  221. well as ASCII codes, so you'll be restricted to using only those keys that are found in the IBM
  222. ASCII character set.
  223.  
  224.      Finally, NiceBoot's last option is the "/b" option which stands for "blank screen".  Speci-
  225. fying this option, as you might imagine, keeps the screen completely blank during the booting
  226. process.  NOTE: When using this option, keep in mind that the background of the screen remains 
  227. the color you choose with the "/c" option.  That is, you could have a blank screen that is, say,
  228. green.
  229.  
  230.     When the "/b" option is used, no activity of any sort ever appears while NiceBoot is active.  
  231. The screen remains COMPLETELY blank (if all goes well with your TSRs and devices).
  232.  
  233.     The last currently-available option is "/p".  This option is a currently untested option 
  234. that hopes to solve some problems that some people have been having with NiceBoot.  Actually, it 
  235. "turns off" this new bug-fix.  You see, with the release of version 1.04/1.10, a new bit-plane 
  236. masking feature has been added which prevents any and all writes to video memory while NiceBoot 
  237. is active (except for what NiceBoot wants to write).  The intent of this option was to prevent 
  238. "noise" and other stray pixels from appearing on the screen while the program is running (from 
  239. device drivers, TSRs, etc).  
  240.  
  241.      As an added bonus, since the code resides IN graphics memory, the code should also be 
  242. protected.  This should alleviate some of the system crashes that have resulted from TSRs writ-
  243. ing over the currently executing program.
  244.  
  245.      The "/p" feature's job is only to "turn off" this protection feature!!  Do not use the "/p" 
  246. switch unless the protection code is actually causing more problems than is solves.  In the
  247. event that this "fix" is screwing things up even worse, you might need to use "/p".  Try it both 
  248. ways.
  249.  
  250.      Now that you are totally confused, here are some examples of valid NiceBoot CONFIG.SYS 
  251. entries:
  252.  
  253. DEVICE=NICEBOOT.SYS                     (No options -- just load NiceBoot)
  254. DEVICE=NICEBOOT.SYS /c3137              (Use blue background, white text)
  255. DEVICE=NICEBOOT.SYS /e(0d)              (Insert a carriage-return into the
  256.                                          keyboard buffer)
  257.  
  258.  
  259. DEVICE=NICEBOOT.SYS /c313e /e(0d)       (Use blue background, yellow text, and
  260.                                          insert a carriage-return into the
  261.                                          keyboard buffer)
  262. DEVICE=NICEBOOT.SYS /b /c3100           (Use a blank screen, colored blue)
  263. DEVICE=NICEBOOT.SYS /p                  (Turn off memory-protection feature)
  264. DEVICE=NICEBOOT.SYS /c3f32 /s81         (Use white background, green text,
  265.                                          and blackish status bar) 
  266.  
  267.  
  268.      So far so good.  Now when the system is booted, NiceBoot will take control of the screen 
  269. and display the time left until the system is fully booted.  But the problem is this:  NiceBoot
  270. has absolutely no idea when the booting process is complete; it will sit there forever waiting 
  271. for nothing ....  This is where DoneBoot.COM comes in.  DoneBoot's job is to tell NiceBoot that 
  272. the booting-period is over and it's time to turn screen-control over to the system.  Since 
  273. DoneBoot is a COM file, it must be loaded via AUTOEXEC.BAT (or another batch file).  Load Done-
  274. Boot at the END of your batch file.  If you come across any conflicting TSRs or programs,
  275. though, load them AFTER DoneBoot.  Here's its syntax:
  276.  
  277.  
  278. DONEBOOT pathname
  279.  
  280.      Note that the pathname is NOT optional.  In fact, incorrect specification of the pathname
  281. will produce weird errors (NiceBoot offers little in the way of error messages -- this will
  282. change in future versions).
  283.  
  284.      The pathname refers to the EXACT path and name of which NICEBOOT.SYS exists.  If there is 
  285. any chance that NICEBOOT.SYS is not in the same directory as the directory that your batch file
  286. is currently set to, you should probably specify a full pathname for DONEBOOT.  Here are some 
  287. examples:
  288.  
  289. DONEBOOT C:\NICEBOOT.SYS
  290. DONEBOOT NICEBOOT.SYS
  291. DONEBOOT D:\DOS\NICEBOOT.SYS
  292. DONEBOOT NB                           (NiceBoot is renamed in this example)
  293.  
  294.      Again, the pathname is not optional -- it must be included, and it must be correct!
  295.  
  296.  
  297.  
  298.                              Seeing NiceBoot in Action
  299.                              -------------------------
  300.  
  301.  
  302.      Now that you finally have everything in place, why don't you reboot your system now.  If 
  303. your system crashes, then there has been a conflict and you'll have to try any guess where the
  304. problem lies and include this program outside of the NiceBoot..DoneBoot pair.
  305.  
  306.      Otherwise, enjoy the boot sequence!  You may notice that the status bar you see on the
  307. screen is incorrect!  This is ok -- the first time NiceBoot runs on your system, it has abso-
  308. lutely no idea how long it's going to take to boot the system.  It is the job of DoneBoot to 
  309. update the NICEBOOT.SYS to reflect the amount of time it took to load.
  310.  
  311.      So now that your system has been booted, try again and see if the status bar more closely
  312. reflects the amount of time left to boot. 
  313.  
  314.      Note that every time you update either your CONFIG.SYS or your AUTOEXEC.BAT file, the 
  315. status bar may be a little bit "out of sync" the next time you reboot since the new time delay 
  316. has yet to be recorded.  But when you reboot the time after that, and from then on, the status 
  317. bar should be fairly accurate once again.
  318.  
  319.  
  320.                                 If You Need Help!
  321.                                 -----------------
  322.  
  323.      If you need further assistance during installation of this program, don't hesitate to give
  324. me a call, and I'll try to help you out.  Again, my phone number is (508) 692-7756, and you can
  325. send mail to me at:
  326.  
  327. Joseph J. Tamburino
  328. 7 Christopher Rd.
  329. Westford, MA 01886
  330.  
  331.      I can also be reached via CompuServe by sending mail to 70033,107.  I also have a Genie 
  332. account and I can be reached there at J.TAMBURINO1.
  333.  
  334.      Lastly, I can be reached via Channel 1 in Cambridge, MA, via the name Joe Tamburino.
  335.  
  336.      Keep in mind that I rarely use Genie!  
  337.  
  338.      I sincerely hope that you enjoy this program!
  339.  
  340.  
  341. jjt
  342. JJT     
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.