Chapter 128 Operating System Kernel (3k)


Chapter 128 Operating System Kernel (3k)

When Gao Zhendong heard it, he knew that the tape recorder should have arrived. Lou Xiaoe was also curious about what it was and urged Gao Zhendong to go and see it together.

There are ten tape recorders in total, along with some music tapes and a batch of blank tapes.

The recorder is much larger than the Walkman Gao Zhendong saw in the picture in his previous life. It is about the size of a single-card dual-speaker recorder. Relatively speaking, it is already very portable.

Gao Zhendong borrowed flowers to offer to Buddha, and immediately gave Lou Xiaoe one as a gift, and also gave her all the music tapes, which made Lou Xiaoe extremely happy.

Father Lou was watching from behind, feeling extremely aggrieved. You are so happy. When you get married, you won't have to take everything with you.

Gao Zhendong and Lou Xiao'e were happily trying out the tape recorder there. It was almost noon and the meal was ready. Lou's mother invited them to eat.

At the dinner table, Lou's mother kept pinching Gao Zhendong's black and white palms. Although the time was very tight and there was not enough time to soak and taste the food, Gao Zhendong thought it tasted really good.

However, it is not as good as barbecue, Gao Zhendong commented.

While eating, Gao Zhendong also mentioned to Lou's father: "Uncle, you can find someone who knows the technology over there to integrate the radio into the tape recorder, so that the product line will be more complete."

Gao Zhendong himself is not interested in doing this. He has a lot of things to do. For such things of little significance, he can just come up with an idea and let others do it.

Father Lou was surprised: "The radio is so big, how can it be integrated into it?"

Gao Zhendong said: "That's a tube. Just tell the technician that a transistor radio will do. That thing is small." . ”

Since Gao Zhendong said this clearly, it means that this matter must be reliable, Father Lou wrote it down.

Watching Gao Zhendong teach her father how to do things, Lou Xiaoe's eyes lit up.

Lou's mother stopped the two of them: "Zhendong, don't talk about work while eating. I heard Xiao'e say that you have been very busy recently, so you should have a good rest."

Gao Zhendong was obedient and concentrated on eating.

After dinner, Gao Zhendong and Lou Xiaoe were going to go out for a walk. He asked Lou Xiaoe where they were going.

Lou Xiao'e smiled and said: "Let's go to your house."

Gao Zhendong was a little strange: "Didn't you say you were going to go out for a walk?"

Lou Xiao'e looked at him: "Take the tape recorder that brother brought back and go to your home. I know you will definitely use this thing, and you must be thinking about it. Go to your home, you can do whatever you want, I will accompany you Just be fine, business is important."

Gao Zhendong hugged Lou Xiaoe and kissed her hard.

The two people ran downstairs and said hello to Lou's father. Gao Zhendong ran away carrying the tape recorder box, and Lou Xiao'e followed behind, following suit.

When the two rushed to the courtyard, they happened to see Liu Haizhong limping home. His first broken leg was basically healed and he could go out on crutches. Gao Zhendong smiled and said He said hello.

Seeing Gao Zhendong and Lou Xiaoe carrying a big box into the house, Liu Haizhong couldn't help but think of his first broken leg. He broke it after listening to Yan Bugui's gossip and following Gao Zhendong.

Liu Haizhong felt his legs hurt even more, so he quickly walked a few steps into the middle courtyard. When Gao Zhendong was out of sight, he spat on the ground: "Bah, damn Yan Laoxi."

Gao Zhendong After entering the house, she took out a tape recorder and turned it on. Lou Xiao'e took out a few tapes she had brought over and started playing music.

Gao Zhendong plans to keep this one and use it as a tape recorder.

After making arrangements for Lou Xiaoe, Gao Zhendong did not continue to unpack the recorder. It was useless to open it now.

He took out a pen and paper and began to draw a circuit diagram.

The recorder's storage is not complicated in theory. The audio output port is wired to the converter, the analog audio is converted into a digital signal, and the digital signal is then input into the computer through the interface.

This is reading, and the reverse is enough for writing.

Of course, this also involves small issues such as data starting positioning.

However, due to the limited frequency response range of audio tapes, the theoretical transmission rate is very low, about 9.6kbps, which is 1kByte/s.

Combined with the recording length of the tape, the data capacity on one side of a standard tape is very small, about 2M.

It sounds weak, but the above discussion about speed and capacity is based on the premise that digital technology has been greatly developed in Gao Zhendong's previous life.

In fact, in 1959, this speed and capacity would have been a god!

Especially the capacity. In this era where storage capacity is generally measured in terms of tens of kilobytes or tens of kilobytes, less than 2M may not seem like much, but in fact it is simply super space.

This kind of comparison is actually normal. No one can imagine the changes that the development of technology will bring. In the IT circle, the most famous joke is Bill Gates’ famous saying: “640kByte memory is very important to an individual. To be honest, it is too big, and one person will never be able to use up so much memory.”

However, it didn’t take long for reality to give the boss a hard slap. As external memory, a speed of 1kByte/s is sufficient in this era, but a capacity of about 2M has greatly exceeded current needs.

Let’s take Bill Gate’s stuff as an example, because he is famous.

Before the arrival of the mature Windows era, the core part of Dos6.22, the last generation of the extremely hard command-line operating system, could be installed on a 1.44MByte 3.5-inch floppy disk, and there was still a lot left.

This means that Gao Zhendong can store a suitable operating system on it.

One tape stores the operating system, and one tape stores the C compiler, perfect.

Moreover, audio tape storage has an advantage. Because the information density is extremely low, its reliability is very good. As long as you pay a little attention to maintenance, the data on it can be stored for a long time.

Just like someone once asked how to reliably preserve some information for a long time, the answer is: carved on granite.

This is a great advantage when the reliability of this information equipment is not very good.

However, to use the tape, in addition to converting equipment, you also need to compile supporting software, but these are not difficult for Gao Zhendong now. With his own knowledge base, he can do it without cheating. Make this thing.

The only troublesome thing is that all the logic gates of the digital circuit used here must be built one by one with transistors.

Fortunately, Gao Zhendong, who has experience in transistor computers, is familiar with this.

One afternoon, I slowly slipped away while Gao Zhendong was drawing and programming, and Lou Xiaoe was listening to music and cooking.

While busy, Lou Xiaoe occasionally glanced at Gao Zhendong, who was even busier. The smile on her face and the light in her eyes never stopped.

The two had a sweet dinner, and Gao Zhendong sent Lou Xiaoe home for a routine lottery draw.

Look what he drew today? ——"In-depth understanding of the Linux kernel".

This is a book that basically doesn't have much actual code, but teaches you how to write an operating system everywhere.

It introduces all aspects of Linux from signals, processes, memory, interrupts, time synchronization, files, and drivers. It also introduces the design ideas, signals, functions, and function definitions involved in each aspect. , the interface situation is explained very clearly, but the source code is very small.

More importantly, this book describes these things from the perspective of x86 architecture, which makes Gao Zhendong’s 8008-based DJS-59 and even subsequent models, and the content of this book Comparative match.

There is another point that Gao Zhendong thinks is very good, that is, all the examples involved are based on C, not C++, but C.

As for the reason for this, it has to do with Linus, the founder of Linux. He hates C++ very much. It is commonplace to blast C++ on the Internet and social media.

"C++ is such a bad language!" - Linus Torvalds.

The content of this book is more useful than giving the Linux source code to Gao Zhendong, because when Linux appeared, it was already decades later, and the computer environment was completely different. Even if a lot of the source code was given to him, They don't have any heating effect, it's not as good as this.

I will give you the principle and explanation. As for how to implement it on your own machine, you can figure it out yourself.

Of course, the content has many advanced aspects, but what Gao Zhendong wants now is a simple operating system architecture with development potential.

——

The next day was Monday. Lao Chen informed Gao Zhendong that the development plan formulated and submitted by Gao Zhendong in order to request materials from the general manager had been approved. The ministry had arranged a workshop in Jingang Iron and Steel that met Gao Zhendong's needs, and the equipment and personnel would cooperate. .

The factory arranged for Gao Zhendong to lead the people from the first research office and directly go to Beijing Iron and Steel to start work.

But before that, there is still a little time. The factory is preparing to complete the ESR research. The results have come out. It is time. Moreover, Gao Zhendong happens to be free. When he arrives at Beijing Iron and Steel Co., Ltd., he will start the research. Work, I don’t know when.

And if the ESR questions are not solved, the work of the people in the first research office will be greatly affected.

The entire First Research Laboratory is busy with this matter. Gao Zhendong does not have much to do. He mainly signs various documents.

The other thing is to arrange for people to send the high-strength steel with large aspect ratio refined during the first batch of trial runs to the Prairie Tractor Factory. Mr. He has been waiting for this for a long time. Even the consumable electrodes used for smelting are his. Sent from Prairie Tractor Factory.

The material and process of this steel cannot be disclosed to the third rolling mill.

Taking advantage of this gap, Gao Zhendong called the computing institute, and then asked someone to send the PCB diagram and BOM list of the analog-to-digital converter of the tape recorder, asking for help from the computing institute. Do it.

This thing is made by the computer lab, which is obviously more professional than the factory.

The computing lab is very happy to cooperate with the work. You don’t need to think about it to know that Director Gao has something new, and it is obviously related to computers, otherwise he would not be sent to the computing lab to do it. .

However, Gao Zhendong didn't say what it was. He just told Chief Engineer Chi that this thing involved important peripherals of the computer.

This made Chief Engineer Chi feel itchy. He personally supervised the work and tried to get things done as soon as possible.

However, this thing cannot be rushed. At this time, chemical etching is generally used to etch circuit boards for small batches of this kind of boards. This cannot be done by just a bunch of people. The chemical reaction takes time.

There is still 4k today

 

(End of this chapter)

Previous Details Next