502 points · by jamesbowman · 7y ago · 170 comments
This seems to be a fairly effective way to create world-changing computer engineers.
It would be 2017 now if it wasn't for him!
E.g Commodore's Chuck Peddle was part of actually designing the 6502 with Bill Mensch, and went on to lead work on the PET which reached the market about the same time, and Commodore machines outsold pre-Mac Apple machines by a substantial factor from the very beginning.
The early Apple machines were too expensive to get the same reach, and never penetrated many markets at all (I'd never seen one in person growing up in Norway until the Mac - it simply wasn't a thing there, same as in many other European countries).
Woz's designs may well have been influential in some parts, but e.g Peddle spoke to Woz and Jobs when peddling (sorry) the 6502 to them, and was subsequently very dismissive about them, so the Commodore team explicitly went a different direction because Peddle saw their approach as too hacky and decided to build his own instead of considering licensing theirs, and so he's one of few people that have designed a computer from the CPU itself and up.
While his assessment of Apple will have to stand for Peddle's personal opinion, the point is that Commodore as well as Tandy/RadioShack machines would likely have hit the market at the same time irrespective of Apple, and in many markets they - especially Commodore - totally trounced Apple in vokumes anyway, so while I know Apple was influential to some, I really don't see any of those tree taken out of the equation changing things that much.
In fact to me my primary interest in the early Apple machines is because it's like a window into an alternate past that's just totally foreign to me because to me early Apple was just not a part of my childhood (my friends all had Commodore, Spectrum, Atari or Amstrad machines with some poor soul stuck with a Tandy; the mix varied greatly by country, but Apple was in very rarely in Europe, with strong sales in only a handful of countries), and it's fascinating.
I base my estimates on several very admiring write-ups on Woz's genius early designs.
But of course those kinds of stories travel better than "his designs were half decent and did the job good enough to capture an empty market", and winners always write history, etc.
Would you mind pointing me to some more of these interesting writers?
Poets knew from long ago that using pentameter and constraints fosters creativity. Here we see the same principle applied in computing.
By limiting its resources, future developers will have to be clever to find new ways to create amazing things that early on we thought we could never do. Memory is cheap, so I could easily spend the same amount of money on a single chip that could have given me the chance to fill the memory space with RAM. But instead, I am choosing to use many chips with much lower capacity. It’s more limiting, but that’s the point."
https://c256foenix.com/product/c256-foenix-rev-c-bare-board-...
https://www.poetryfoundation.org/poems/52299/nuns-fret-not-a...
Design depends largely on constraints.
Q: What constraints?
The sum of all constraints. Here is one of the few effective keys to the Design problem: the ability of the Designer to recognize as many of the constraints as possible; his willingness and enthusiasm for working within these constraints. Constraints of price, of size, of strength, of balance, of surface, of time, and so forth. Each problem has its own peculiar list.
- Charles Eames
It was so hard to do anything.
For instance, it did not have an add instruction.
You had to clear carry, then add with carry.
That said, I can see how having a microprocessor was amazingly awesome to a hardware designer like woz who could think fluidly at the transistor level.
I competed in the first couple years of Sparkfun's autonomous vehicle competition. My robot had a keypad where you could enter GPS coordinates for waypoints. The microcontroller I was using had 32-bit soft floating point routines in its standard library, but I had to code my own string-to-float routine. (I think only float-to-string was provided, but not the inverse.)
Every year, the robot worked in Oklahoma but in Colorado would make a wild turn and head the wrong way. The morning of the last time I competed I realized the problem was in my string to floating point conversion code. I had made a programming assumption which was mathematically incorrect. It happened to work in Oklahoma because the fractional part of the GPS coordinates at home were in a range that didn't trigger the bug.
I also realized it meant the conversion algorithm was more subtle than I had assumed, and there was no way I was going to be able to figure out the correct algorithm in the field, under time pressure. In those years I either didn't yet have a smartphone, or I looked and couldn't find code on the web for my microcontroller.
(And I couldn't just drop in some C code - it was a Parallax Propeller and my robot's code was in the Spin language. Quirks of the chip made it unusually hard to port C to it and so C compilers for the Propeller were still what I would consider "experiemental" - or were when I started the project.)
The incorrect floating point code had been one of the first things I'd written - it'd been responsible for my robot crashing every year, including that morning. (I'd blamed hardware, upgraded the GPS unit, improved sensors, etc.)
One year later to the day, this was all on my mind again because I couldn't make it to the competition that year, and I had a shower thought. I had had a KNOWN GOOD floating point conversion routine on my hard drive and running inside my microcontroller that whole time!! I was using a Propeller GPS library. GPS data comes in NEMA strings which are... strings! By necessity, there was a private routine in the GPS object which had to be doing the conversion. I went and looked - yes, all I would have had to do was change this private routine to "public" and I could have called it.
Anyhow, programming an 8 bit 6800 for an embedded controller means keeping track of 6 or more things going on at the same time, while modern software focuses on one thing at a time and isolating it from everything else.
Those things include the contents of each register, the stack level, the size of the code, interrupts going off, polling that has to be done, counting cycles, etc. Organizing code into functions is a luxury not usually affordable.
It sounds tedious, but it was fun. I attached my own hard disk drive to my LSI-11, meaning I had to build an interface board and write a device driver. To figure out how to write the device driver, I dumped the floppy driver code. It was a marvel of tight engineering. The bootstrap loader was executing code only an instruction or two behind it getting loaded. I was just in awe.
https://github.com/DigitalMars/Empire-for-PDP-11/blob/master...
[1] https://www.linusakesson.net/programming/poems-for-bugs/inde...
[2] e.g. https://www.linusakesson.net/scene/a-mind-is-born/index.php
edit:
I love the Zachtronics games "Shenzhen I/O" (easier) and "TIS-100" (MUCH harder/esoteric). They are a great (and fun) way to try asm/microcontroller programming.
https://github.com/DigitalMars/dmc/blob/master/src/CORE16/DO...
I really wish I had done more embedded and assembly at school. I can't understand it or appreciate it.
Maybe SW and HW shouldn't mix, bar a few visionaries who bridge both worlds?
This makes me cringe. A "senior" engineer is defined by whatever role a company slots you in. This is compounded by adding programming languages to the mix.
> I really wish I had done more embedded and assembly at school. I can't understand it or appreciate it.
There is no hardware involved here, per-se. What is there is the 6502 instruction set, plus binary floating point calculations. But the fact it is on the 6502 is only interesting because of the constraints.
If you are interested, pick up some tutorials on x86 assembly (or ARM, or whatever you have emulators or real hardware available) and go to town. Actually creating full programs(with syscalls) is a bit involved, but a small ASM function inside C++ (since you mentioned C++) should be perfectly doable (example: https://github.com/diasurgical/devilution/blob/master/Source... – you'll notice the Diablo game was not an embedded system either)
Here's one example:
https://jameshfisher.com/2018/03/10/linux-assembly-hello-wor...
mov ah, 9
mov dx, 108
int 21
ret
db "Hello world!" 0D 0A "$"I am so far away from the bits...
All of us who work in embedded software would disagree!
And yes, Wozniak is one of the great engineers of our time. I cut my teeth on an Apple ][, and it was both amazing and mysterious to me then, as a child. Now, with 40 years of professional programming experience, the mystery is largely gone but my appreciation for the elegance of his design is only amplified.
On the off-chance he'll see this:
Mr. Wozniak, thank you for creating something that has give me a career and a lifetime of joy.
Code is available upon request.
I keep a Color Computer 3 because it has that excellent chip in it.
BBC Basic is the best all-round Basic of its era that I know of, with rich control flow features, proper recursion and built-in assembler. But I don't know how much was original work from Acorn and how much was borrowed from elsewhere. Are there any other 8-bit Basics that are especially good?
https://archive.org/details/dr_dobbs_journal_vol_01/page/n20...
https://downloads.reactivemicro.com/Users/Grant_Stockley/App...
I believe he was never the same after his small plane crashed. (Back then, wealthy people used small planes like ATVs, and had about the same safety record.)
I worked with another hw engineer of similar ability back in the 80s.
Mind-blowing watching him just pick up a pen and draw out a complete board schematic at lunch, then getting the working board back from mfg. the following week and launching it on the Space Shuttle.
(Some of us still use small planes like ATVs -- but if the description of Woz' experience in the incident is accurate, this is like taking a Lamborghini out with a fresh driving permit)
[1] https://www.cultofmac.com/465778/today-in-apple-history-stev...
How could leaning on the yoke (or any other control) cause a stall? She'd have to pull back on it to force a climb like that. I'm kind of amazed he was able to fly a plane like that at 50 hours. A turbo-charged engine requires an extra certification step right? And the private pilot license minimum is 40 hours.
The wikipedia page for the Beechcraft Bonanza says: "The NTSB investigation revealed Wozniak did not have a "high performance" endorsement (making him legally unqualified to operate the airplane)" and links to https://web.archive.org/web/20121019022620/http://www.ntsb.g...
To fly this he would need a complex sign off to fly the retractable gear/variable pitch prop and high performance sign off for having over 200hp engine.
It’s a lot of airplane for that much experience but only takes 5 hours or so to get those sign offs from your instructor. Bonanzas have a reputation -now- that keep people away from them until they are very comfortable with flying a complex and fast airplane.
Fast reflexes comes from being young or being older and using reflexes you picked up when you were young. Knowing what you are doing comes from knuckling under to someone that does. It's why these aircraft regularly kill middle aged doctors. They have neither the reflexes or the tendency to obey.
There is a reason the air force trains 20 year old's to fly jet fighters.
One of my flight instructors had a friend/business associate that bought a Kodiak @ Oshkosh after only having flown 182s. The insurance requirements were insane of course. Also, know a guy with 70 hours who bought a Lancair with a 330hp engine. In flying it seems more readily to be a case of if you can afford it, you can do it.
I was in a Mooney @ 120 hours. I just did a lot of extra training--EMT, Tailwheel endorsement, Instrument & commercial rating in it when I had the hours.
I guess there are people who do it for the danger, but the beauty of it is that you can get really down in the details and master things so it's not that risky. Once you really master the game, your biggest danger is yourself: get-there-itis, sloppy preflights, pushing things a little at a time, getting away with them, then pushing more, and so on.
I have done nothing in my life that I loved as much as flying. Mankind has been staring up into the sky for eons wishing we could fly. Now we can. Who wouldn't want to be part of that?
Normalization of deviance, for people interested in the literature.
It can be an interesting experience, even if you have no desire to become a licensed pilot.
In case you are interested, that book is a post-apocalyptic novel and the protagonist has a great relationship with his dog. Usually having a dog in the story is all it takes to keep me interested, but I loved everything about this book.
When I turned 16 and started driving, my life changed overnight in a very good way. I imagine learning to fly would give me that feeling again. I could go where I want and not be limited by going where the roads are. It's very appealing.
I can hardly wait for my electric VTOL PAV.
This is a fundamental drive in many people that calls on something innate.
https://en.wikipedia.org/wiki/Integer_BASIC
I do know that it was referred to that as far back as 1980. I’ve never seen a reference to it as “Apple Basic” and I had an Apple //e in 1986.
When you can fit the entire architecture into your head, all the way down to the chips and board layout, you'll find that you're capable of quite a lot on that platform.
A human with a skillet that has scaled up as much as computing hardware has scaled up is going to be virtually impossible to find, if not actually impossible.
Systems today are just too complex for one person to understand at the breadth and depth that Woz understood the earliest Apple hardware.
I was feeling old and thinking I was ignorant of some new slang there for a few seconds.
:-D
You damn-near gave me a heart attack then! :D
I thought he had died for a moment, Phew!
https://www.youtube.com/watch?v=-LUGU0xprUo#t=14m20s
The whole interview is fantastic.