Chapter 113 Strange Files
"Put this up to see the effect." As soon as Gu Wei finished this sentence, he immediately realized that he had made a low-level mistake.
At this moment, the burner structure can be said to have been changed, and it is a change in principle. The previous supporting software can no longer be used.
"Yes, this software is no longer available!" Gu Wei was dumbfounded.
"Yes, I have expanded the bit number of bits, and the original software is no longer compatible." Lin Hong naturally knows this.
"What's the cow's office? Didn't you do useless work?,,
Even if the burner transformed by Lin Hong can work, it is useless if there is no corresponding software to use it.
"Let me think about it, I have a few friends who know programming technology, but most of them change games or something. They should not be very good at doing the underlying programming of programmers"
Gu Wei said some words in his mouth and was thinking about who to ask to help write this program.
At this time, Lin Hong had already done it in front of the computer and began to write in the state of basic programming.
Although the cp/m operating system is based on z80, vasic programming is with Apple's dos
is basically the same.
Gu Wei heard the crackling sound of the keyboard in his ear and turned his head to see Lin Hong operating the computer, so he asked in surprise, "What are you doing?" Programming, write a supporting tool for the burner.
"Do you even know this?"
"I've learned some."
Gu Wei was completely speechless. He also wanted to find a friend to help, and he was not sure whether he could really write the supporting software in a short time, but he didn't expect that Lin Hong had begun to compile it at this moment.
The reason why Lin Hong is sure of this is that he has fully understood the basic principles of the recorder.
This process seems to be very complicated. In fact, the principle is relatively simple, that is, the process of copying data, copying the data in one memory to another place, and scanning the data in the address one by one.
Lin Hong's typing method at this moment is not scientific. He completely uses "two-finger Zen" but the typing speed is quite fast. He has even achieved blind typing, and he can type accurate corresponding characters without looking at the keyboard.
Gu Wei was dumbfounded when he looked around.
He couldn't imagine that he could type so fast with two fingers and type blindly.
Has the other party clearly remembered the distance between the keys of the keyboard, and the control of the finger has reached such a terrible point?
It's so perverted!
Lin Hong had no idea that Gu Wei had classified it as a "perverted character" at this moment. He was absorbed in writing the program he was working on.
Because it involves the underlying programming, all functions cannot be completed by using the basic statement alone. He also embedded some assembly instructions in it to directly operate on the underlying hardware.
This is equivalent to single-chip microcomputer programming in more than ten years. Anyone who graduated from any computer major probably knows how to write a few paragraphs. But at this time, China is still in a blank state. Even if there is, it only stays in the laboratories of major research institutions and colleges. These technologies have to be completely imported from abroad.
Of course, Lin Hong doesn't know this at all.
Because the tool written by Lin Hong is specially written for the burner he modified, compared with the previous multi-purpose programmer software, it is much simpler. He has completed the writing of this small tool in less than 500 lines of code, including fifty or sixty lines of embedded assembly statements.
Under Gu Wei's shocked and worshipful eyes, he continued to debug several times, and finally completed the dump program successfully.
The main function of this program is similar to the previous supporting program. The difference is that there is an additional support for the auxiliary circuit. At the beginning, the auxiliary bit is 0. When the data is copied to eight megabytes, the auxiliary bit will be automatically replaced by 1, so that the scanning of the address space above eight megabytes begins.
"You can start trying dump." Lin Hong said to Gu Wei.
Gu Wei quickly plugged the 27c320 chip into the middle slot of the recorder, and then started the power supply.
Lin Hong typed on the name of the program he wrote, and then returned.
A slowly increasing percentage figure of 1% immediately appeared in the lower left corner of the display...
2%............
5............
There is no graphic, there is only such a simple representation, telling the viewer about the dump of the data
The process is being gradually completed.
If you want to realize the graphics, Lin Hong can also achieve it, but it seems that there is no need now. What they only care about is whether they can successfully dump the data. As for the interface of the software, it is secondary, as long as they can understand it.
Gu Wei can see that the dump speed this time is indeed much faster than before, which means that Lin Hongjia's flying line does work.
48%...............
It's almost eight megabytes. Lin Hong and Gu Wei are in different moods at this moment, but they are staring at the monitor.
49%............
50%...............
51%...............successful!"
Gu Wei shouted happily.
Lin Hong also smiled. Although he was very confident, he was still very happy to see the circuit he designed working with his own eyes.
This process soon reached 100%, and Gu Wei couldn't wait to find the dump in the directory
The data packet from.
After wasted so much thought to export these data, there was a faint feeling of expectation in his heart.
He checked the size of the file with the list command, which is about 4 megabytes.
When Lin Hong saw it, he was slightly stunned and wondered, "Why is it only so small?"
"That's right." Gu Wei explained, "The capacity in the game console cassette is generally calculated by megabits, while computers are calculated by megabytes. One byte is equal to eight bits, so the exported data is only one-eighth of the original size in the computer."
Gu Wei first checked the data packet with a text editor and found that it was a hexadecimal machine code and couldn't understand it, so he packaged it with the data from the previous dump and put it in the arcade simulator to run.
The result is still a black screen, there is nothing, and there is no response when pressing the keyboard.
"Strange, what's going on"... The data exported with so much effort is useless, which makes him very depressed.
"Is there something wrong with exporting data?"
Gu Wei turned his head and looked at Lin Hong.
If there is a problem with the dump data, such a phenomenon will indeed occur. The software is like this. It pays attention to integrity, and the lack of any code may lead to failure.
Lin Hong is also silently thinking about which link went wrong.
Gu Wei exited the game interface, and then restarted to analyze the code in the derived data package.
He decided to decompile that part of the code and take a closer look at what the structure is in it to determine whether there was a problem when exporting.
This process is often done by him, so he is very proficient.
Directly bring up a small software to restore the data. This software can disassemble the machine code and finally display it in the form of assembly code. Although it may be different from the code of the source program, its completed function is the same, and even the code optimized by the editor is even better than the source. The execution of code is more efficient.
Of course, Gu Wei's small software cannot restore the complete code of the whole game, because when the game is compiled, some anti-cracking code is usually added. Although it cannot 100% organize cracking and reverse engineering, it greatly increases the difficulty.
Gu Wei has not reached the level of being able to reverse the source code of the whole game.
However, he found an abnormal situation.
"It's strange. Why is it all data? There is no instruction at all.
Gu Wei found that there was no operation code in the whole data package, all of which was data, or meaningless code.
He opened the data package again with a text editor and wanted to see some rules from it, but the machine code on the full screen made his eyes look at it and didn't see anything. Therefore, he then converted the hexadecimal code to binary, all consisting of "0" and "1".
His transformation in this step is just an easy way. Hexadecimal and binary are actually an effect.
He turned off the editor, turned his head and said to Lin Hong, "It seems that this data packet is completely garbled, and I don't know what's wrong."
He said it very euphemistically, and did not directly say that the tools or programs written by Lin Hong had the same topic.
Lin Hong frowned and recalled the binary code just displayed on the monitor, and did not answer Gu Wei's words.
Gu Wei turned around, found a memory chip for other games from the drawer, then plugged it into the burner, dumped it with Lin Hong's tool, then packaged it into the simulator, and ran it.
A table tennis game appeared on the monitor.
"What? It's normal."
Gu Wei was completely confused.
This shows that there is no problem with the burner and the software written after Lin Hong's transformation. Even if there is a problem in the latter paragraph, it is impossible for the previous data to not even have an instruction.
Obviously, there is only one explanation, that is, the data in the 27c320 is originally like this, and it is not a game program at all.
"Damn it, is it a pile of messy codes after a long time of work?" Gu Wei said depressedly, "Who is the guy who is so idle that he has nothing to install some meaningless junk information on the 27c320? It's really a terrible thing!"
27c320 is a good thing. It is the largest memory chip that Gu Wei has ever seen. As far as he knows, this chip has just been on the market for less than half a year, and it is rarely seen in China.
At this time, Lin Hong, who had been thinking hard, suddenly said to him, "Brother Wei, please open the file just now with the editor again."