Patent ID: 8060737

Claim:
A method for preventing a basic input/output system (BIOS) from failing to enter a boot program, applicable to a computer, the computer comprising: a central processing unit (CPU), having a first instruction to be executed after the computer is powered on; a south bridge chip, comprising: a start address register, adapted to register a start address; and a start address control register, adapted to control a value of the start address; and a memory, comprising: a boot block, pointed to by the start address, and adapted to record the boot program of the BIOS; and an inverted corresponding block, pointed to by a corresponding start address, wherein a value of the corresponding start address is a value of the start address register when the start address control register is erroneously set; and the method comprising: obtaining the corresponding start address of the inverted corresponding block; setting a jump instruction to the corresponding start address of the inverted corresponding block, wherein the jump instruction is adapted to record the start address so as to point an execution address to the boot block; turning on a power supply of the computer system, and executing, by the CPU, the first instruction; and executing the jump instruction so as to run the boot program, when the CPU points to the corresponding start address of the inverted corresponding block.