Chapter 212: Please come to pirate
The work of the base area is in full swing, and it looks magnificent, and it is exciting to change the entire base area in the shortest possible time. Pen | fun | pavilion www. biquge。 info
But soon Guan Fei discovered a serious problem, the base area was running out of money!
The essence of money is a general equivalent.
Originally, there were 130,000 cadres and masses in the military sub-district: more than 60,000 of them were employed workers, management cadres, technical personnel, scientific research personnel, teachers, social management workers, and employees of the commercial sector, and their average salary level was around 180 yuan, which is more than 13 million.
There are more than 7,000 self-employed small shopkeepers, street vendors, breeders, and vegetable farmers, with a per capita income of about 110 yuan and a total group income of less than 900,000 yuan.
The military sub-district has a total of 60,000 other students in school and an unemployed population engaged in labor and technical studies, and the military sub-district is responsible for food and lodging, and can also receive a living allowance of 20 yuan per month, and for this reason, the military sub-district will issue them a monthly subsidy of more than 1.2 million yuan.
In addition, there are about 70,000 people who often come to work, and their monthly wages are about 12 to 13 yuan, which is more than 9 million yuan;
The total monthly economic output of the above-mentioned sub-district economic circles is about 33 million. At that time, the military sub-districts could easily afford their monthly export income of nearly 100 million yuan, and they could also save a lot of money for economic construction.
After the expansion of the base areas, the number of cities and towns increased, and the number of people who relied on military sub-districts for food suddenly increased by more than 300,000. If you leave them alone and let them continue to live their lives the way they used to, there is no need to increase expenses. However, after large-scale construction has been carried out in the base areas, roads have been built, water conservancy facilities have been built, and a large number of unemployed people have been turned into workers, managers, and technicians, and wages and bonuses must be paid to increase their enthusiasm for work.
Most of them are still engaged in junior jobs that do not require much skill, and their wages are not high, but their per capita monthly expenditure has reached 50 to 60 yuan, and the base areas have to increase their additional expenditure by nearly 40 million yuan per month.
In addition, the newly built factory has absorbed nearly 10,000 unemployed people trained by labor technical schools. Because they are still in the familiarization stage, the labor productivity level is not high, the pass rate is low, and their initial salary is not too high for the time being, and the monthly salary bonus is about 120 yuan, which is a total of 1.2 million yuan.
Then there is the military expenditure, which is paid at an average rate of 5 million per month, which is used for the living expenses of commanders and fighters, salary subsidies, weapons and equipment, training consumption, and so on. Then there is the militia, and the monthly ammunition consumption of live ammunition, gun damage, and training subsidies add up to more than 400,000.
After the expansion began, the number of veterans from the country rose sharply, with nearly 10,000 in just three months, and the total number of regular troops rapidly swelled to 18,000. Their guns, ammunition, and personal equipment have spent 20 million yuan on the base area in one go, and there will be millions of normal training and maintenance expenses every month in the future.
Cumulatively, the total monthly economic expenditure of the military and civilians in the base areas has been on par with the rate of making money.
More than 500,000 cadres, masses, and commanders and fighters have received salaries, bonuses, and subsidies to meet their personal needs, such as food, drink, clothing, and daily necessities, as well as housing, furniture, bicycles, watches, and other daily necessities.
Although the base area already has more than 7,000 square kilometers of land and more than a dozen towns, the construction of the new city has also begun to take shape, and it has a certain economic processing and manufacturing capacity. The self-sufficiency of daily necessities is still very weak, and most of them have to be imported from outside, that is, purchased from China and Hong Kong.
In other words, the surplus of more than 60 million yuan that could have been used for economic construction was all filled into the supply of daily necessities in the base areas.
The money for the import of iron, scrap steel, various production raw materials, production lines, parts, and semi-finished products ordered from China cannot be taken out from the base!
Zhang Shengguo still has 260 million yuan in his hands, which is all the surplus accumulated before, and he can still maintain the operation of the base area for two or three months. If there are still no more financial resources after two or three months, then the pace of production and construction will inevitably come to a halt and slow accumulation will begin again.
Guan Fei must create another source of revenue for the base areas within two or three months, so that the pace of high-speed economic construction will not slow down.
……
Guan Fei's hands hung slightly on the keyboard for about a centimeter, almost not moving, only ten fingers were flying, hitting like playing the keys of a piano, and entering instructions and data into the computer.
On the seventeen-inch monitor screen, lines of program cascades cascade down like a waterfall, so fast that it's hard to see what's on display.
The computer he uses is the world's first Chinese computer, and there are only twenty of them at present. The core is an actuarial type 1 general-purpose processor developed by the base, and the motherboard and bridge integrated circuit are all developed and manufactured by hand.
In this computer, a 128,000-byte Chinese character library, with a total of 6,000 commonly used Chinese characters, is luxuriously solidified to achieve a full Chinese user environment.
In the future promotion stage, a simple version of the Chinese font library will be released with a floppy disk to reduce costs.
Compared with this actuarial type 1 Chinese computer with the same name as the processor, the avalanche of program line input on the screen, the speed of entering instructions through the reader was simply unbearable.
However, although Guan Fei has launched a high-level programming language suitable for beginner, intermediate and advanced users, he is still using the most basic Chinese assembly for program writing at the moment.
The reason for this is that assembly language is the closest programming method to machine language.
Other programming languages are very friendly to programmers, and they help them to complete the program quickly through various auxiliary programs. However, if the user is taken care of, it is difficult to take care of the executor, and the final program will inevitably have more or less unnecessary fragments, and the compiled program will be much larger than the program written with assembly, and the execution efficiency will naturally be reduced.
If it is placed in 20 years, no, as long as it is ten years later, the memory capacity of the computer is generally more than 100k, or even in trillions, and the program is a little larger and bearable.
However, in this era, limited to the immaturity of semiconductor technology, the capacity of integrated circuits is small, the cost is high, and the large content storage means more cost expenditure and reduced profits. Therefore, in this era, although it has not yet reached the level of desperate streamlining and striving to save not a single byte in the early days, it does not dare to waste memory in a lavish and uncontrolled manner.
What's more, the execution efficiency of programs written in assembly is much higher, and for the era when the performance of the processor is still relatively fragile, this difference in efficiency brings a very different feeling to the user.
Moreover, Guan Fei has a biological assistant brain to help optimize, and the program lines written have reached the most streamlined level, which can be described without exaggeration as "one more word is too much, one less word is too little, and there is nothing to change". At the same time, no one in the world knows better than him the operation mode of actuarial type 1 circuit, advantages and disadvantages, only the program written by him can fully tap the potential of this processor, give full play to the performance to the extreme, and ensure that the data operation distribution reaches the best point, and ensure that each operation circuit of the processor can always maintain the state of operation, so as not to be idle.
Of course, the readability of the program written in this way is almost zero, and even if someone else gets his source program, he will be so tired that he vomits blood to read it.
In this world, he may be the only one who can easily program in assembly language, and others, even the best programmers, face assembly language that is extremely unfriendly to users, writing and calculating, and their brains quickly become a mess. Not to mention that Guan Fei can complete a large-scale program writing in only ten minutes, even if they are given several months, they will not be able to write a program of the same quality, and there will be countless errors, and it will take them a year or two just to find out the bugs.
In fact, since the first game came out, except for Guan Fei, no one in the world has ever tried to write game code entirely in assembly, because it would make developers pull their hair down and write programs to the point of madness.
Thus, although assembly language is arguably the closest to machine language and human-recognizable programming language, and the assembled program is the smallest and most efficient of all other high-level languages, programmers will still program in other languages in the vast majority of cases. The assembler, on the other hand, is only used as an accelerator in a small number of segments that need to be run more efficiently.
Syllable!
"That's it!"
Guan Fei typed the last input button with his finger, and finally completed the entry of the program. And then he didn't do any checking, and he didn't take advantage of the optimizations that come with the assembly - just kidding, who else in the world did it more thoroughly than he did!
His final version, which is close to a direct C of the machine code, is nothing better!
After that, there is no need to even check, and when entering, the biological assistant brain has already checked whether the input program line is correct, so it directly starts compiling, converting it into machine code, entering the name and saving it.
The final compiled assembler was only 109.7 thousand bytes!
The original version of the source code that he chose to plagiarize the parent book was as high as 6.7 megabytes, which was 98% compressed!
Guan Fei was faintly proud.
"Okay?"
He was still admiring his ability, and the technicians who had been watching him for a long time had already surrounded him impatiently, chattering in anticipation.
"That's it! You can burn it directly. Guan Fei didn't disappoint them and said with a smile.
From the completion of the source code to the finished integrated circuit, there are still a large set of processes to go through, such as mask production, lithography, circuit etching, testing, and packaging, even if Guan Fei does it himself, it will take nearly a month to complete. If it is handed over to ordinary technicians, the inspection work alone may last for two or three months, which is too long.
So this time, we still use the old method of the past, and burn the program directly into it.
In the past four years, although Guan Fei has continued to use various new recordable read-only memory, as the fame of Taiyu Technology has grown, the recognition of game fans has become higher and higher, and there are more and more game manufacturers that have followed the trend and plagiarized. The benefits are so great that even the manufacturers who make the read-only memory have begun to collude with other game manufacturers to spread the anti-theft features of the new products privately, so that a new game is quickly cracked by pirated manufacturers not long after it is launched.
Basically, Space Invaders was initially guaranteed a six-month period of market exclusivity before piracy began to appear. But in the last year or two, this speed has become faster and faster, and a new game has been on the market for no more than three months and less than a month, and pirated arcades have begun to appear on the market.
Taiyu Technology's lawyer team is litigating all over the world, and it can't stop this situation from happening. Coupled with the protectionist tendencies of various countries, a lawsuit drags on for a long time, and when the heat passes, even if the lawsuit is won, the gain is extremely limited, so the piracy situation has a tendency to expand.
But this time, Guan Fei is not afraid that they will steal the source code!