"These three people form a component of a computing system, which is a type of gate component, called the 'AND gate'." Von Yiman paused for a while after speaking to let the emperor understand.

Luo Xiaofei said expressionlessly: "I am quite depressed, okay, continue."

Von Yiman turned to the three soldiers in a triangular formation: "Let's build the next component. You, out, as long as you see one of the people in entry 1 and entry 2 holding a black flag, you will raise the black flag. There are three situations. Combinations - black-black, white-black, black-white, and the remaining one - white, you raise the white flag.

do you understand? Good boy, you are so smart. You are the key to the correct operation of the door components. Work hard and the emperor will reward you! Start running below: Lift! OK, try again! Do it again! Great, working fine, Your Majesty, this door component is called the OR door. "

Then, von Iman used three soldiers to construct the NAND gate, NOR gate, XOR gate, XOR gate and tri-state gate. Finally, he used only two soldiers to construct the simplest NOT gate. Flag with the opposite color.

Von Iman bowed to the emperor and said: "Now, Your Majesty, all the door components have been demonstrated. This is simple, isn't it? Any three soldiers can master it after one hour of training."

"Don't they need to learn more?" Luo Xiaofei asked.

"No, we build 10 million of these door components, and then combine these components into a system. This system can perform the calculations we need and solve the differential equations that predict the movement of the sun. In this system, we It's called...well, it's called..."

"Computer." Luo Xiaofei said.

"Ah - OK!" Feng Yiman raised a finger to Luo Xiaofei, "Computer, this is a good name. The whole system is actually a huge machine, the most complex machine in history!"

Time flies by ruthlessly, and three months have passed.

Luo Xiaofei, Prince Tianyi, and Feng Yiman stood on the platform at the top of the pyramid. This platform was very similar to the one when Luo Xiaofei and Shakespeare met. It was equipped with a large number of astronomical observation instruments, some of which were modern European equipment.

Below them, the magnificent phalanx of thirty million Sanyang troops spread out on the ground, a square with a side of six kilometers. Under the rising sun, the phalanx was frozen and motionless, like a giant carpet made of thirty million terracotta warriors and horses. However, when the flying birds strayed into the sky above this giant carpet, they immediately felt the strong murderous aura below. The flock of birds suddenly became confused, scattering or circling in panic.

Luo Xiaofei calculated in his mind that if all mankind stood in such a phalanx, the area would only be the size of Pudong, Shanghai. Compared with the power it showed, this phalanx showed the fragility of civilization.

"Your Majesty, your army is truly unparalleled in the world. It has completed such complex training in such a short period of time." Feng Yiman praised Luo Xiaofei.

"Although it is complex overall, what each soldier has to do is very simple. Compared with the previous training to smash the Macedonian phalanx, this is nothing." Luo Xiaofei said while pressing the hilt of the long sword.

"God also bless two such long eternities." Prince Tianyi said.

"Even in the era of chaos, my army will still train. In the future, they will complete your calculations in the era of chaos." Luo Xiaofei said proudly as he glanced at the phalanx.

"Then, please, Your Majesty, issue your great order!" Feng Yiman said in a voice trembling with excitement.

Luo Xiaofei nodded, and a guard ran over, took the emperor's sword hilt and took a few steps back. He pulled out the bronze sword that the emperor could not pull out. Then he knelt down and presented the sword to the emperor. Luo Xiaofei faced the sky. He raised his sword and shouted loudly:

"Into a computer queue!"

The four bronze cauldrons at the four corners of the pyramid burst into flames at the same time, and the soldiers standing on the slope wall facing the phalanx of the pyramid passed on the First Emperor's order with a grand chorus:

"Into a computer queue—"

On the ground below, the uniform colors of the square array began to be disturbed, and complex and delicate circuit structures emerged, gradually filling the entire square array. Ten minutes later, a computer motherboard covering thirty-six square kilometers appeared on the ground.

Feng Yiman pointed to the huge human circuit below and began to introduce:

"Your Majesty, we named this computer 'Sanyang No. 1'.

Please see, there, in the center part, is the CPU, which is the core computing component of the computer. It is composed of your five most elite legions. Looking at this picture, you can see the adders, registers, and stack memory inside;

The neat part on the outside is the memory. When building this part, we found that we didn’t have enough manpower. Fortunately, the actions of each unit in this part are the simplest. We just train each soldier to hold flags of multiple colors. After combining them, one person can complete it at the same time. With the initial operation of twenty people, the memory capacity reached the minimum requirement for running the 'Sanyang 1.0' operating system; if you look at the channel that runs through the entire array, and the light cavalry on standby on the channel, that's BUS, system bus, is responsible for transmitting information between the entire system.

The bus structure is a great invention. The new plug-in can be composed of up to ten legions and can be quickly connected to the bus to run. This makes the hardware expansion and upgrade of "Sanyang No. 1" very convenient;

Looking at the farthest side, you may need to use a telescope to see it clearly. That is the external memory. We also used the name after Shakespeare and called it the "hard drive". It was made up of three million highly educated people. People are composed of people. You were right to keep them when you tricked Prince Tianyi last time. Each of them has a notebook and a pen in their hands, which are responsible for recording the calculation results. Of course, their biggest workload is still as virtual memory, storing They store intermediate operation results, and the bottleneck of operation speed lies there. Here, closest to us, is the display array, which displays the main status parameters of the computer's operation. "

Feng Yiman and Prince Tianyi brought a large paper roll as tall as a person and unfolded it in front of Luo Xiaofei. When the paper roll reached the end, Luo Xiaofei's scalp felt tight for a while, but the dagger he imagined did not appear. There was only one in front of him. A large piece of paper filled with symbols. The symbols are all about the size of a pet's head and densely packed. They look as dizzying as the computer array below.

"Your Majesty, this is the 'Sanyang 1.0' version of the operating system we developed, and the computing software will run on it. Your Majesty, look -" Feng Yiman pointed to the human row computer below, "This array is hardware, and this What is written on a piece of paper is software, hardware and software, just like the relationship between a piano and music scores."

As he spoke, he and Prince Tianyi unfolded another piece of paper of the same size, "Your Majesty, this is the software that uses numerical methods to solve that set of differential equations. It inputs the motion vectors of the three suns at a certain time section obtained from astronomical observations. , its movement can predict the movement of the sun at any time in the future. Our calculation this time will make a complete prediction of the movement of the sun in the next two years, and the time interval of each set of prediction values ​​is one hundred and twenty hours. "

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

You'll Also Like