home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / bmp2logo.zip / BMP2LOGO.TXT < prev   
Text File  |  1995-03-06  |  3KB  |  68 lines

  1.     Instructions for replacing the OS/2 Warp boot logo
  2.  
  3. The standard boot logo is a bit boring, but worry not!  You can replace it
  4. with a bitmap of your own choice, or even your own design.  To do this, you
  5. need:
  6.  
  7.     A suitable bitmap as a .bmp file
  8.     The BMP2LOGO utility supplied here
  9.     The IBM MAKELOGO utility
  10.  
  11. MAKELOGO is supplied on DEVCON 6.  I don't believe it is freely distributable.
  12.  
  13. BMP2LOGO is a program, supplied, that converts a bitmap file into a form suitable
  14. for input to MAKELOGO.  MAKELOGO was designed to run from log files produced by
  15. a kernel debugger (see the DEVCON 6 newsletter for the (very) gory details of how
  16. to do this, if you wish).  BMP2LOGO creates these log files automatically, so you
  17. don't need to have the kernel debugger running.
  18.  
  19. The bitmap can be in OS/2 1.x, OS/2 2.x or Windows format.  There are restrictions,
  20. which are:
  21.  
  22.     a) It has to be a 16-colour file
  23.     b) It must be no more than 640 pixels wide
  24.     c) It can be more than 400 pixels high, but only the first 400 pixel
  25.        lines will be used.
  26.  
  27. The logo will use the first 400 lines of the display at boot time - the remaining
  28. 80 lines are used by the OS/2 copyright notice.  If your bitmap is < the available
  29. 640x400 space then BMP2LOGO will place it centrally in that area.
  30.  
  31.  
  32. To create the logo file, first create your BMP file.  If the file is too large or
  33. has too many colours you can use a package such as Galleria to shrink and/or colour-
  34. reduce it.  Then, use BMP2LOGO as follows:
  35.  
  36.     BMP2LOGO my_image.bmp
  37.  
  38. This will create 4 files - VRAM0.DAT through VRAM3.DAT - in the current directory.
  39. These files are basically hexdump files containing what the kernel debugger would
  40. have printed had you followed the instructions in the DEVCON newsletter.
  41.  
  42. Next, run the MAKELOGO program.  If you haven't installed this yet then now is a
  43. good time to do so, from the DEVCON 6 CDs.  Once installed, copy MAKELOGO to the
  44. current directory or wherever you keep executables, and run
  45.  
  46.     MAKELOGO
  47.  
  48. This will munge the VRAM?.DAT files into a single VRAM.DAT file.  This file contains
  49. a compressed VGA image which the boot process uses to display the image at boot time.
  50. You need to copy this file over the top of the existing logo, which is contained in
  51. the file OS2LOGO in the root directory of your boot drive.  This is a hidden, system,
  52. read-only file so the first thing to do is remove those attributes.  e.g.
  53.  
  54.     C:
  55.     CD \
  56.     ATTRIB -R -S -H OS2LOGO
  57.  
  58. Next, backup the file and replace it with the new one.  e.g.
  59.  
  60.     COPY OS2LOGO OS2LOGO.OLD
  61.     COPY \TMP\VRAM.DAT OS2LOGO
  62.  
  63. Enjoy!
  64.  
  65. Dave Akerman, 6th March 1995
  66. daveake@cix.compulink.co.uk
  67. CompuServe: 70374,2544
  68.