From: Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
Date: 06/29/92


From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
Subject: Re: LILO - Generic boot loader (ALPHA TEST RELEASE)
Date: Mon, 29 Jun 1992 11:56:16 GMT

If you aren't fast enough to hit a key at the right time to get the
boot prompt in LILO (quite difficult if you have a master boot sector
that also reads keyboard input), you should apply the following patch
to boot.S. (Replace the boot sector by issuing the same command you've
used to install it the first time.)

With the new boot sector you can enter the prompt by either keeping
one of the shift, Alt or Ctrl keys pressed or by toggling CapsLock or
ScrollLock before LILO gets loaded. This will be the standard behaviour
in the next release.

- Werner

================================== cut here ===================================

*** old/boot.S Sun Jun 28 21:23:52 1992
--- boot.S Mon Jun 29 12:11:46 1992
***************
*** 53,58 ****
--- 53,59 ----
        mov ds,ax ! AX is already set
        mov ss,ax ! put stack at INITSEG:0x4000-12.
  
+ #if 0
        mov ah,#1 ! key pressed ?
        int 0x16
        jz bfirst ! no -> boot first image
***************
*** 59,64 ****
--- 60,71 ----
  
        xor ah,ah ! discard keypress
        int 0x16
+ #else
+ mov ah,#2 ! get shift keys
+ int 0x16
+ and al,#0x5f ! anything set ? (except NumLock)
+ jz bfirst ! no -> boot first image
+ #endif
  iloop: mov bx,#msg_p ! display boot prompt
        call say
        mov bx,#name

-- 
   _________________________________________________________________________
  / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
 / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
/_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/