Eleven
Lu Ping said: "You are really serious, I thought you were talking about playing, and you really want to practice your feelings, can you do it alone?"
Chang Chang said: "At first, I was sure, but then I felt a little difficult to look at the machine. It's not that it's difficult to electrically, but that the old man can't stand it when he loses his temper. ”
Lu Ping said: "That's nothing, let's talk about the fate today, I'll help you." I'm familiar with that machine, I'll handle it for you. There is another sentence that Lu Ping didn't say, that is, he can be relieved sooner if he finishes it earlier.
As a result, Cao Changjiu and Lu Ping worked together seamlessly. Lu Ping found all the hardware information of the old machine, and it was easy for this kind of system transformation for a long time. Because he has examples to follow, the Mac consoles of the year, and later game consoles, almost all of them are built with this idea - that is, the frequency of the processor is used as the display divider, so that there is no need to add a lot of additional hardware overhead.
There is no monitor,And it's too expensive,I had to find a TV with Lu Ping for a long time,Remove the tuning circuit as a character display,Naturally, it is a copy of Apple II's creativity,It only took half a month,Circuit、Interface is designed。
Cao Changjiu used a common interface in order to save costs, and the basic design has been completed, just waiting to be manufactured.
Professor Wang was also supportive of their work, and all the materials needed were provided. In this way, the old machine in the warehouse has successively added floppy disks, tape drives, magnetic drums and other peripheral equipment, and the old look has been renewed, and it has a second spring. The replacement of a large number of electronic accessories also made the machine no longer go crazy every four hours, and the development progress was greatly accelerated.
In order to upgrade the input and output system of the machine, Cao Changchang and Lu Ping also conducted an in-depth analysis of the hardware structure of this imitation nova machine. Fortunately, the structure of these antique machines is also similar, and it has been confirmed for a long time to confirm that it has been learned in a dream, and there are many similarities, so it is relatively easy to understand.
With the end of the hardware work, the stability of the classic machine has also been greatly improved, and there is also a 12-inch black and white TV as a character display. With a stable machine, Cao Changjiu and Lu Ping immediately turned into programmer maniacs and took turns writing programs.
The new equipment is not ready to be installed, but also has to write the driver, develop the display work mode, all this has to be completed by the program, and the two people have to work together to write the program.
So several sleepless nights passed, and the characters could finally be printed on the monitor. The mechanical typewriter receives electrical signals, converts the content into digital means and stores it in memory, and the processor calls it up and converts it into an analog signal to display it on the TV.
This classic machine has now completely changed, and the original control panel with buttons is still there, but it is no longer very useful. Cao Chang thought that the boot process was too troublesome and not automated, so he bought a rewritable memory and cured a program, and made an automatic boot part to connect to the motherboard, and finally had the feeling of a modern computer.
Lu Ping couldn't put down the improved minicomputer, and kept fiddling with it, as if it was a brand new machine bride.
Unlike Lu Ping, Cao Changjiu is exploring the potential of this display system, trying to control every pixel light point with a program, and finally realizing a pool game on this small computer.
The game screen is simple, with a spherical point of light moving back and forth on the screen, and a vertical "light plate" (let's say so) on the left and right borders of the screen that can be moved up and down under the control of the keyboard. The person manipulates the light plate to move, blocks the moving ball of light, and bounces it back, and whoever can't catch it loses.
Cao hadn't done such a simple program for a long time, but it didn't seem outdated, at least he and Lu Ping had been playing for half a day.
It was also the first time that Lu Ping knew that a computer could do such a thing, so much so that he didn't notice that the two of them were using two mechanical keyboards. At this time, he was completely immersed in the joy of the battle.
Although Lu Ping was prosperous, Cao Changjiu couldn't hold on for so long. Such a simple game for him can only be regarded as nostalgia, and it is exhausting to be able to accompany Lu Ping so crazy for hours.
Half an hour after the meal time, Cao Changjiu couldn't help it, pushed the keyboard, stood up and said, "Don't you think we should do something else?"
Lu Ping looked at it for a long time in a daze, and it took a long time before he burst out with a sentence: "Yes, it's not okay to play like this." ”
"Big brother, you finally came to your senses!"
"It's so easy to play, it's not difficult. Give me the program and I'll add something to make it more fun. Lu Ping made a positive statement.
Cao Changjiu finally broke out: "It's time for us to eat, if we don't eat something, we'll die." ”
Lu Ping looked at his watch: "It's so fast, why didn't I feel it." Damn it, let's go eat out, I'll please. ”
Cao Changchang turned his anger into joy.
After eating the free meal, Chang and Lu Ping returned to the office with a full burp.
Lu Ping proposed to continue to go crazy, but refused for a long time: "I think I'm better at work, and my young and fiery life can't be spent on such a simple game." ”
Lu Ping was ashamed: "You're right, it's time for us to do something serious." It's not time yet, you can rest first, and I'll catch up on the morning time first. ”
"Pull it down, you still have 20 minutes to go to work, can you chase it back? ”
"Well, what do you mean? Is the multi-user system written? Why don't I know?" Lu Ping was surprised, and asked several questions in a row.
"Nonsense, you have all the machines in possession during the day, what am I going to do? I spent two days writing programs on paper, and another night of debugging, and I was exhausted. It's hard to debug, and I've made a game and you've been pulling to play all morning, and the system hasn't finished yet. No, no, no, I'm going to sleep. "I just finished eating for a long time, and I suddenly felt sleepy.
Lu Ping was embarrassed, his face turned red, and he hurriedly said, "You go and rest, I'll debug it for you." ”
Cao Changjiu yawned and said, "The assembly code is on my notebook, and I also have it on the disk, this is it." Be careful, I don't want to lose a second time. ”
"No problem guaranteed!"
In this way, Cao Changjiu went back to sleep, and Lu Ping laboriously read the assembly on the machine, racking his brains to debug the system.