Super Copy of Great Power Technology

Chapter 304 Modifying BIOS

Qiao Ruida used her feet hard and slid the office chair under her buttocks to the front of the desk next to her. She reached out from the printer and pulled out a piece of A4 printing paper. Then she picked up a signature pen and scribbled on the white paper. The next is a very complex molecular formula, and a model number combined with English numbers. Putting on the pen cap, Qiao Ruida tapped the molecular formula on the white paper with a signature pen and said: "This is the molecular formula of the plastic particles used in the production of chocolate keyboards. You can give this piece of paper to colleagues in the purchasing department and ask them to purchase a batch. This kind of molecular plastic particles are used to make notebook keyboards. As for the processing problem of the keyboard

Xiao Jingsheng took out his mobile phone, took a photo of the chemical formula on the A4 paper, and sent it to his colleagues in the purchasing department through the company's internal communication software. "As long as the raw material problem is solved, the remaining processing problems can be tried a few more times." With different processing methods, it’s just a matter of time before a solution is found.”

After looking at the casing, it was time to turn it on and test it. Qiao Ruida placed the ten fingers of her right hand on the fingerprint recognition module and pressed it gently. A pinpoint-sized LED indicator next to it lit up with a faint white light. The next moment, the dark screen lit up instantly, the logo of Reda Technology flashed away, and then a blue interface popped up, and large chunks of English prompt information appeared on the screen.

Seeing this scene, Jamel Xiao spread his hands and said helplessly: "The situation is like this. After we assembled the laptop and installed the Kaitian PC version operating system packaged by the system research and development team into the SSD hard drive, we could not enter the system. , the prompt message that pops up is different every time it is restarted. Our entire laptop R&D team and system R&D team have been studying for several hours and have not found the problem."

Qiao Ruida frowned and studied the prompt information on the screen carefully. Then I pressed the power button and restarted, and the new prompt information changed as expected, with different content and order. Qiao Ruida restarted her laptop a few more times and finally found some clues. "Based on these prompts, the problem probably lies in the BIOS file. Find the source code of the BIOS and show it to me."

BIOS is the abbreviation of "Basic Input Output System" in English. When translated literally, the Chinese name is "Basic Input Output System". In fact, it is a set of programs solidified on a ROM chip on the motherboard of the computer. It saves the computer's most important basic input and output programs, post-boot self-test programs and system self-starting programs. It can be read and written from CMOS. Specific information about system settings. Its main function is to provide the lowest and most direct hardware settings and control for the computer. In addition, the BIOS also provides some system parameters to the operating system. Changes to system hardware are hidden by the BIOS, and programs use BIOS functions instead of directly controlling the hardware.

Now the BIOS file is imperfectly written and cannot fully drive all notebook hardware. No matter how well the Kaitian operating system is written, it will not help.

"Duan Kaile, bring the source code of the BIOS file you wrote and show it to Mr. Qiao." Jamel Xiao waved to a fat man wearing glasses and said.

"Okay, boss." The little fat man agreed, walked over with a Dell laptop, then placed the computer in front of Qiao Ruida, pointed at the code on the screen and said: "Mr. Qiao, these are the few of us. A hardware engineer wrote the BIOS program. This BIOS has been run many times in the simulator and has always been normal. After installing the Kaitian system, there is no problem with compatibility. But after installing it on these laptop test machines, it will pop up. There are all kinds of messy error messages, and I don’t know where the problem is.”

Qiao Ruida took the Dell laptop and quickly browsed tens of thousands of lines of code at a glance. Then I turned on the golden finger in my mind, took photos and analyzed the test prototype of the laptop, and finally discovered where the BIOS problem lies.

"The problem has been found. The BIOS programs you wrote before were all prepared for X86 computers, and have formed programming inertia. The laptop we are developing now is designed based on the ARM reduced instruction set architecture. At the hardware level, There is a fundamental difference. The bios file you wrote is generally OK in terms of ideas, but there are some compatibility issues in some basic instructions, function definitions, stack order, etc., and it cannot be perfectly recognized and executed by the M1 chip. . It is necessary to make some targeted modifications to the code before it can be correctly guided and entered into the system."

Next, Qiao Ruida put her hands on the keyboard, typing and modifying the code, and explained to Duan Kaile why she made such changes. Duan Kaile, the little fat man, was suddenly enlightened and nodded frequently. Several other researchers who participated in BIOS programming also came over, stood behind Qiao Ruida, and listened carefully to his explanation. Half an hour later, Qiao Ruida corrected all the errors in the BIOS source code, checked it from beginning to end, and only after confirming that there were no errors, recompiled it into a BIOS file.

"Do you have a USB flash drive to flash the BIOS file? Is there a USB flash drive missing?" Qiao Ruida asked.

"Yes, yes, 2G size, FAT16 format, can be read and written directly under the DOS system. The DOS system has been installed inside and can be used to start the computer." Duan Kaile took out a Kingston USB flash drive from his trouser pocket and handed it to To Jorida.

After Qiao Ruida took the USB flash drive, she inserted it into the USB interface of the Dell laptop and copied the compiled BIOS file to the root directory of the USB flash drive. Then open a text editor, write a batch file, and also copy it to the root directory of the U disk. After doing all this, Qiao Ruida unplugged the USB flash drive, inserted it into the laptop test machine, then restarted the computer and pressed the shortcut key at the same time to force the computer to start from the USB flash drive. The Ruida LOGO flashed away, and we entered the most primitive DOS system. On the black screen, a few lines of English code appeared, and a cursor behind the drive letter kept flashing. Then the batch file is automatically executed, and the modified BIOS file is automatically flashed into the ROM chip, overwriting the original erroneous BIOS.

After a few seconds, the laptop automatically restarted. After the Reda logo was displayed, the screen flashed, blue sky and white clouds, the sun was shining, and the startup animation of the Kaitian system appeared on the screen. Just two seconds later, the desktop of Kaitian System appeared in front of everyone. (End of chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like