America 1978: Starting with Hand-Crushed Chips

Chapter 130 The Second Gathering

Chapter 130 Second Gathering

Friday night marked the weekly Occam's Institution gathering.

On the blackboard in the basement of the Terman Center, Kevin had already written "Occam Society".

This time, the small room was crammed with about twenty people, some with their roommates, some with their girlfriends, all enjoying the free pizzas sponsored by Tang Mu.

Kevin was used to this kind of scene. Like the host of a party, he calmly sat around the computer with Lawson and Tang Mu to discuss the driver optimization of the accelerator card.

"RISC's advantages are fewer instructions and faster pipelines, but its disadvantage is that it requires more compensation at the software level." Tang Mu pointed to the code on the screen. "We need a smarter compiler."

In the corner, a girl tugged at her boyfriend's sleeve and whispered, "What are they doing?"

The senior computer science student chewed on a sausage and glanced at it disdainfully: "They say it's some unknown little company making a gimmick, writing a few lines of compilation and they're giving away a Sony Walkman."

"7

"But I've seen it, and that instruction set is practically a product of primitive society. Ignore it, it's definitely a scam, let's finish eating and leave."

Just as the crowd finished eating and was about to leave, a boy suddenly rushed in through the door.

He clutched a floppy disk in his hand, his eyes bloodshot, and exclaimed excitedly, "Professor Lawson! I rewrote the underlying code of that cube and added vertex matrix calculations."

Lawson was taken aback and recognized him as Daniel, the Asian math student from last week.

This student has been using the school's computers a lot this week, and each time he fiddles with them for a long time as if he were possessed.

But Lawson didn't think that a math student who hadn't even taken any computer science courses could make anything special in just one week of study.

"Let's give it a try." He took the floppy disk and pushed it into AppleIl.

As Daniel skillfully loaded the commands, the 3D wireframe on the screen slowly disappeared, replaced by a complex regular tetrahedron.

Daniel typed on the keyboard again, and the tetrahedron began to rotate. Its vertices began to split and multiply, smoothly transforming into a cylinder, and finally into a sphere!

To Tang Mu's surprise, no matter how he switched between screens, the rotation of the screen was as smooth as silk, without any stuttering.

"That's impossible!" The senior student who was about to leave stopped. "The Apple I's memory bandwidth is simply not enough. Just calculating the sine and cosine functions takes the 6502 a second. How could it possibly deform in real time?"

Kevin was stunned; this was far superior to the demo he had casually written.

When Daniel saw that it could actually run, his face flushed with excitement: "I optimized the sine function using a shift lookup table!"

"I pre-calculated the sine values ​​from 0 to 90 degrees and stored them in an integer table. During the calculation, I only looked up the values ​​in the table and didn't perform the calculation! Then, I used R-Star's single-cycle shift instruction to turn the multiplication into a shift-addition!"

"Mathematics! That's the magic of mathematics."

He had tried using the Apple II provided by the school before, but failed because the CPU was too slow and the screen was choppy like a picture.

To my surprise, it actually worked after I inserted the accelerator card!

Then, under everyone's gaze, Kevin bent down and took a Walkman from the cardboard box, still wrapped in plastic, and tossed it to him.

"Here you go, brother, you deserve it."

Daniel hurriedly caught it, but after looking at it clearly, he shook his head and put the Walkman back on the table.

"I don't need this, I have a radio." Daniel looked longingly at the computer with the accelerator card inserted.

"Could I use the computers here a little longer, or could I borrow one of those accelerator cards?"

"I want to try writing a more complex fractal algorithm."

Tang Mu smiled upon hearing this; this was the person he had been looking for.

"Here you take the Walkman," Tang Mu said, shoving the Walkman back into his arms. "Also, you can use these ten computers anytime. Once they're mass-produced, I'll save one for you."

Daniel then accepted it as if it were a priceless treasure.

The onlookers cast envious glances at her. The girl lightly punched her boyfriend's chest: "Can't you do it? This stuff is hard to get these days. They're not scammers at all."

The boy, feeling a little embarrassed, tried to save face by loudly proclaiming, "Graphic rendering is nothing special; it's all just trickery and visual deception!"

He pulled a floppy disk from his pocket: "Looking up tables or shifting data are child's playthings. Real productivity comes from data processing!"

"I have a VisiCalc financial calculation model here, which contains 300 related formulas to calculate complex tax ladders. The original Apple computer upstairs takes a full 25 seconds to run this macro calculation."

"Why don't you try it yourself, so you don't say we can only make cartoons again," Kevin said irritably.

VisiCalc was a killer app on the Apple II and the first spreadsheet software, but it had a fatal flaw: when formulas became complex, the meager 6502's computing power would leave users with long wait times.

The boy loaded the spreadsheet into the computer, modified two basic tax rate figures in the top cell, and subconsciously picked up his Coke, preparing to wait for the long progress bar.

But as soon as the cola was picked up, the screen flashed and all the data in the more than three hundred cells was refreshed.

Zero latency, millisecond-level response.

"This—this is impossible," he muttered to himself. "Only DEC's commercial minicomputers can achieve this speed. The Apple II would take at least 25 seconds. I've tested it countless times—"

The small machines of today are not the desktop devices of later generations; they are at least as big as four or five double-door refrigerators!

If this speed is real, it means that in the future, accountants who prepare reports, programmers who compile code, and even scientists who access databases will no longer have to stare at screens or queue up to apply for mainframe access cards for many of their needs.

This is a tenfold leap in productivity!

The commotion grew louder and louder, and even the physics students who had originally just come to get some pizza squeezed in.

A student with a thick beard stared at the screen: "Can this thing run floating-point simulations? My fluid dynamics matrix equations have a three-day waiting list on the school's PDP-10. If possible, I'd like to give it a try."

"We don't have hardware floating-point, but we can simulate it using fixed-point algorithms."

Kevin spent ten minutes helping the bearded man rewrite a core formula into matrix programming language.

The code input did not produce a response as immediately as before.

"Should we come back tomorrow?" the bearded man asked nervously, worried that he might crash someone else's computer. "The lab will take at least two hours, and this place will take at least four hours."

Kevin didn't know how long it would take, so while waiting, he distributed the printed instruction manual to everyone: "This is R-Star..."

Instruction set architecture —

"As long as you make optimizations or write software that adapts to this architecture, the three of us will be the judges, and you will all receive a reward."

""

The manual hadn't even been fully distributed yet, and only two minutes had passed when the screen suddenly started flashing.

"We have the results!"

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like