Chapter 414 The originator of the virus
Lin Hong originally had nothing to do with that student status, and he was fired. However, since his mother called specifically to talk about this, he thought about it and decided to go back to Shuimu. Of course, when he went back, he did not go back to school, but went through the suspension procedures.
Although the phenomenon of suspension is not very common in China, Lin Hong knows that this procedure still exists.
explained to Zhang Jin that Lin Hong flew directly from Shanghai to North J. In comparison, the transportation here is more convenient and the time is shorter.
Lin Hong also has a laboratory in North J. This time, he transferred the things there to the company's headquarters by the way.
After coming to school, he went straight to the counselor's office.
This counselor is hard-mouthed and soft-hearted. Although he has long said that he would be expelled from school, he has not taken action again and again. Instead, he covered him. Generally speaking, it is quite interesting.
"You're finally here!" Counselor Dai saw him and sighed, "It's not easy to see you!"
"Counselor, I'm really sorry to trouble you." Lin Hong sincerely apologized, "There was indeed a very urgent matter last time."
"Okay, let's not mention the past." Counselor Dai looked at Lin Hong and said, "Tell me, what are you going to do next?" If I hadn't called your home, would you have fired yourself directly?
"I really thought I was expelled from school before." Lin Hong smiled and said, "I'm here this time to go through the suspension of school."
"Suspension?" Counselor Dai was not very surprised when he heard the words. He had never seen the appearance of a student from Lin Hong. "That's fine. What are you going to do after you suspend school?
"I have run a company with my friends, and I will focus on the company in the future."
"It's no wonder..."
Counsellor Dai nodded: "It's common to drop out of school and start a company. This kind of thing is common abroad, and Bill Gates was like this in those years. However, after dropout, in fact, they have not stopped studying. I hope you can do the same. Even if you stop school, don't forget to continue to recharge yourself. Only in this way can you go further in the future.
"Thank you! I know." Lin Hong nodded.
The suspension procedures are a little troublesome. It not only requires the consent of the counselor, but also needs to be submitted to the college and the Academic Affairs Office for approval. It will definitely not be available in a day or two.
After filling in the suspension application form, Lin Hong left the counselor's office and returned to dormitory 604.
When I came to the dormitory, I happened to see that Wu Dong was about to go out.
"The boss!" After Wu Dong saw Lin Hong, he was immediately overjoyed, "You're finally back!"
"Ha ha, are you going to class?"
"No, I just want to go to the library to check the materials. I don't have class in the morning. I just finished it.
Seeing Lin Hong coming back, Wu Dong also gave up his plan to go to the library. He had a lot to say to him.
They have completed the tasks of the virtual machine project assigned to them by Lin Hong in advance. The last time they asked him which step he should do next, Lin Hong did not give a clear statement, saying that they would talk about it later.
After chatting for a while, the topic shifted to the virtual machine project.
"Big, I'll show you our results."
Wu Dong said, then turned on the computer and ran a program similar to the terminal interface.
This is the terminal simulation interface of the virtual machine. Lin Hong sat in front of the computer, typed into a DEBUG command they had preset before, and then entered the programming mode.
In this mode, it is equivalent to an assembly compiler, which can be executed by directly entering the CPU's instructions.
Lin Hong entered several common CPU instructions, including MOV, ADD, MUL, SHL, SHR, OR, etc. After execution, he directly DUMPed the contents of the CPU's registers.
The results displayed byare correct and are completely implemented according to the technical parameters of 8086 CPU, including the instruction format and addressing method, which are completely consistent with 8086.
The whole program is equivalent to a computer hardware that directly uses files to simulate the CPU's register and memory structure.
The program executed inside will not have any impact on the external operating system. At most, the content of the file has changed.
Lin Hong next checked the source code they wrote, and all the content was written in C language.
The subsequent implementation code is very well written. Whether it is the implementation method and execution efficiency, it can be seen that it has been specially optimized. It seems that the new computer teacher has studied in this line for so long. It is a little handy to implement this kind of thing.
Lin Hong smiled and said, "That teacher is really worthy of teaching the principle of computer composition."
Wu Dong nodded and said, "Yes, he said that he had been teaching this course for several years. He told his classmates boring theoretical knowledge according to the textbook every day. Everyone had no concept at all. As soon as he finished the exam, he returned all the content to him. After seeing our project, he was very happy. After careful study for two days, he said he wanted to join us. Then he included all the following instructions, and all of them were realized in less than a week.
If you want to do this, you will definitely not be able to complete it if you don't fully master the structure and operation principle of the CPU. Take the 8086 addressing method as an example, there are many implementation methods. This is not as simple as register to register. It is also necessary to consider direct addressing and indirect addressing, among which indirect addressing is divided into the situation.
Wu Dong continued: "In addition, Mr. Guo also asked me if this project is based on an open source protocol. He wants to use this project to transform it and customize it for his courses. In the future, when teaching, he will let his students realize it step by step, so that they can really master this knowledge."
"There is no problem with this. You can use it if you want. Anyway, this project is mainly used for learning."
"Big, what should we do next?" Wu Dong asked this question again.
Lin Hong: "At the beginning, I asked you to do this project mainly to let you understand the basic principles of the CPU. Now it seems that this goal has been achieved. I believe you have enough understanding of the underlying programming. According to my original plan, if I do this, the project can be stopped.
"Stop it?" Wu Dong couldn't help but be stunned when he heard the words, "It's a pity to stop like this, isn't it? Now we // the fastest text update of the book fan building www.shumilou.com no pop-up window no advertisement // This project team has finally been set up, and we haven't done anything yet. So it stopped like this?
This project is the first relatively large project done by Wu Dong, and it is also the one that invests the most time and energy. It can be said that it has feelings. It is really a little difficult to accept to stop.
Lin Hong said, "This is the original plan. I didn't expect you to form a project team for this. Now it seems that this project can continue to exert its residual heat. I have thought about it. Next, I will transform this project and turn it into a game platform.
"Game platform?" Wu Dong's eyes suddenly lit up when he heard the words, but at the same time, he was a little confused. How could this thing be associated with the game?
In his impression, games are very complex programs, involving more complex graphical interfaces and operations. The thing they are writing now, to put it bluntly, is completely like a toy. It has no practical value or interest at all. Only people who study this major will be a little interested in it.
Now Lin Hong told him that he was going to transform the project and turn it into a game platform, which made him very strange.
Lin Hong did not answer, but asked, "Have you ever heard of the magnetic core war?"
"Magnetic core war?" Wu Dong shook his head and said, "I haven't heard of it. A game?"
"Yes, a popular game with hackers and computer scientists, and it is also the ancestor of the virus."
Lin Hong said, turned on his computer, and then ran a program on his computer.
Wu Dong was completely shocked by Lin Hong's words. The ancestor of the virus is really big enough. He hurried forward to check the program run by Lin Hong.
Between, a black box appears in the display, and two flashing two dots appear in the box.
Both two points are starting to move, but they are not the same way. One of the colors is red. It is like a small snake, moving forward step by step, while the other is yellow. It seems to have long legs and jumps directly. Where they pass, they leave their own colors, in the box The grids are constantly eroded by them.
"This program is called Darwin." Lin Hong introduced, "It was written by an engineer named Mai Yaolai in Bell Labs decades ago..."
In 1959, three young people in their twenties at Bell Labs invented a game called "Magnetic Core Wars", which turned the virus described by computer pioneer von Neumann ten years ago in his paper "Automata Theory of Self-Reproduction" into reality. These three people are McYolai and Wiesowski. And Morris.
"...This Morris is the father of Robert Morris, the author of the later famous Morris worm." Lin Hong continued to introduce, "This red warrior, called a crawler, will automatically generate a copy for each execution, that is, to copy himself, which is constantly devouring the memory through this simple mechanism. At that time, the magnetic core was memory.
Wu Dong also understood a little when he listened.
Although the game in front of you doesn't look interesting, the mechanism represented by the bottom is not simple.
Two soldiers, one red and one yellow, grabbed the memory resources in it and kept devouring each other. Whoever can finally seize all the memory can win.
"Big boss, I see! Do you mean that we have transformed the virtual machine platform into a platform similar to Darwin? Then let everyone make a warrior program and play games in it. Isn't that so?"