Chapter 7  BIOS ROM
   Compaq Deskpro EP Series of Personal Computers
 First Edition - April 1998
7-14
7.4.6  FLASH ROM FUNCTIONS
The system BIOS may be upgraded by flashing the ROM using the INT 15, AX=E822h BIOS
interface, which includes the necessary subfunctions. Upgrade by flashing is provided by a
ROMPAQ diskette. The upgrade procedure is described at the end of this chapter. Corrupted
BIOS code will be indicated by the keyboard LEDs as described previously in section 7.2.1.
7.4.7  POWER BUTTON FUNCTIONS
The BIOS includes an interface for controlling the system unit’s power button. The power button
can be disabled and enabled.
The INT 15, AX=E822h, BL=08h function can be invoked to disable the power button,
preventing a user from inadvertently powering down the system. This tri-modal function is
typically used in the ROM flashing procedure to reduce the chance of an accidental power down
while the BIOS is being upgraded.
Entry:
AX  = E822h
BL  = 08h
Return:
(Successful)
CF  = 0
AH  = 00
(Failure)
CF  = 1
AH  = 86, not supported
NOTE:
 With the Disable function invoked the system can 
still
 be powered down by
holding the power button in for four seconds or more.