A Technical History of Apple's Operating Systems
An anonymous reader writes "As part of his 1680-page book Mac OS X Internals: A Systems Approach, Amit Singh of kernelthread.com wrote a very detailed technical history of Apple's operating systems. Since he had to cut down on the history chapter because of the book's already too-large size, most of this chapter didn't make it to the printed book. Singh has made available the history chapter as a free PDF. The file is 140 pages long, and is generously filled with figures and screenshots. It starts with the internals of the original Apple I and goes through a tour of all operating systems Apple dabbled with, including internals of A/UX, Lisa OS, and such. It even covers details of outside influences like the Xerox Alto, STAR System, Smalltalk, and Sketchpad, and closer to home things like Mach, NeXTStep, and OpenStep."
One of the coolest things about the Apple I and Apple ][ was that Apple Computer included the schematics for *all* of the motherboard and CPU design. Everything was documented so that users could build interfaces with both the software and the hardware with a minimum of fuss. So, even though Amit Singh calls the manual included with the Apple ][ as a "preliminary manual, it was remarkably complete.
Despite how far we've come, there are time I really miss my old Apple ][.
Visit Jonesblog and say hello.
Why not shoot for 2000 and turn off even more readers?
I remember making "awesome" games in the 40x40 graphics mode. Not too easy to make a game in a couple hours anymore ;)
http://religiousfreaks.com/Who liked MacOS prior to OSX?
What were you smoking?
Where can I buy some?
I did a technical review of the book, and I can thoroughly recommend it (I got a free copy). It's very technical in places (lots of code snippets) but does a very good job of explaining the 'why' as well as the 'what' and 'how' of XNU.
I am TheRaven on Soylent News
Just gave a glimpse to it, but it seems it's going to be a very pleasant reading for a 'technostalgic' like me.
opinion assumption, opinion assumption ""Do not feed the trolls.""
MAC OS is cool and all, but is this really necessary?
:)
Too early for existential type questions. I think I need my coffee
Jumpstart the tartan drive.
Daring Fireball wrote about this recently. Here's the most important quote of the article:
Yeah, I did use and like Mac OS 9, Mac OS 8 and System 7. I did smoke lots of weed, but that had nothing to do with it. There are two things to consider: First, it went up against crap like Windows 3.11 and Windows 95. Second, it was the prettiest, most easy-to-use OS, even with cooperative multitasking and lack of memory protection.
Mac OS X added a lot to what makes a Mac great, but Mac OS 9 had a lot going for it, too.
The IBM PC Technical Manual had schematics AND an assembly language
listing of the bios.
Then, the UNIX came, bit it got too big and fragmented, but it didn't die out, and turned into BSD.
Then Steve Jobs came, and he brought forth NeXTStep.
And then Apple bought up NeXTStep, added some more BSD, and gave it some pretty clothes and called it OS X. I couldn't believe it. They opened the closet, took out the best eye candy, and walked straight into town...
MS can copy off OS X much easier. All they have to do is read the OS X chapters and....
oh, wait. It's in pdf, not a word document.
Guess they'll have to go back to waiting for the new OS X release and copying then...
Anybody feel like digging? :)
Dark Reflection
I took OS comparison course in MIT's business school some years back, and must say of all the courses I took in computer science, that one became the least useful the quickest. OS's seem to be changing faster than computer languages, and much faster than good SE techniques like design patterns.
I'm guessing that it is because the underlying hardware is changing rapidly- many hardware sectors increase in size and performance a magnitude every five years, making some resource algorithms less meaningful. Plus novelties like flash, MRAM, cores, cells, and GPUs, etc. all have to be integrated in.
This is what happens when you get a contract that says you're paid by the word.
-David
My CS Prof. at the time (Summer of 1982 or 1983, an old retired IBM'er who worked on the first computers for the Military) had a daughter that worked for Apple on the Lisa project. He had a pre-production model on his desk with a serial number under 300. She needed Steve Jobs personal okay to send him the computer for his testing. (So I was told) I remember it was the coolest thing I'd every seen back then. We took the cover off and his daughter's name was one of the names inscripted on the inside cover. Blew away the Apple II & Trash-80's we were using at the time.
War and Peace (Penguin Classics Paperback): 1472 pages
Lord of the Rings (Houghton Mifflin; 50th Anniversay Edition): 1216 pages
Physics, David Halliday & Robert Resnick, Parts I & II, John Wiley & Sons: 1189 pages
Gravitation, Charles Misner, Kip Thorne, John Archibald Wheeler, Freeman press: 1279 pages
Technically, that's not memory protection, but memory consumption. Memory protection protects the address space of each application from other applications, so applications can't overwrite other application's memory data.
Prior to Mac OS X, all Mac applications shared one common memory space, which had the advantage that hacking was simple, but had the disadvantage that one rogue application could crash everything, or even worse, change other applications' data without anyone noticing.
That's why you should always learn concepts instead of implementations. Concepts remain useful and can be used to judge new implementations, while implementations always go away eventually.
For me, the best 8-bit computer ever was the BBC micro - I doubt it ever gained any traction over here in the US, but *man* was that a well-designed and elegant machine.
...
The OS was fully vectored and modular, the BASIC language had procedures and functions, as well as a built-in assembler that could access BASIC variables, but the hardware design was what made it stand out. It had every i/o port under the sun - serial, parallel, "user i/o", other dedicated ones for a network (Econet), to support floppy disks and hard disks, and even plug in a second co-processor (there were 8086, Z80 and 32000 variants I think). You could get Pascal and C for it, and it supported 80-column text on a monitor.
And to bring it slightly back on-topic, the documentation was simply excellent - the "Advanced user guide" told you just about everything you needed to know about the machine, from the event i/o to interrupt-programming, documenting the OSxxx calls, and all the port i/o etc.
Nothing since has come close to the flexibility of that machine given the design limitations at the time, and it's a tribute to the designers.
Of course, such largesse can be abused [grin] See My first and only virus-writing incident
Simon
Physicists get Hadrons!
You hated a specific brand of personal computers, yet you think Mac users were the ones smoking something?
What did those poor Macs do to you? Steal your lolly when you were in kindergarden?
This article is information overload in the extreme. What does Apple II DOS have to do with OS X? Or why Wozniak chose the 6502 over the 6800? Or the Apple III SOS or Apple II Prodos? Or Apple transitioning to PowerPC chips in 1994? Some of the newer stuff is interesting to know, for historical reasons, like the failed OS development projects that led up to OS X, but there's no way this should have been 140+ pages. It doesn't bode well for the rest of the book.
"The Apple I was introduced at a price of $666.66." Coincidence? Conspiracy? Nah, just a good price.
"I'm a well-wisher, in that I don't wish you any specific harm."
In your post, it says "I give up sometimes I really do..."
:P
NO YOU DON'T, YOU JUST WASTED YOUR TIME explaining, "This page is intentionally left blank" SO YOU HAVEN'T GIVEN UP!!!
GPL Deconstructed
I don't understand what you're complaining about.
This space intentionally left blank.
As the new maintainer of the A/UX FAQ, I keep hoping to learn more about it. Unfortunately the author didn't bring up anything I didn't already know. That said, the page or two he had is a good summary for those that have never used A/UX before.
Constitutionally Correct
I don't understand what you're complaining about.
--
This space intentionally left blank.
Arghhh!!!!!!!
Summation 2
(damn Slash indentation destroyer) but I think they renormalised it.
Interesting? Who do I have to pay to get an (+3: interesting)? Seriously it isn't a conspiracy. The reason is why you have an AFFORDABLE (ok cheap) TV. You want something that's repairable? Expect to pay more.* Your "recycling" comment doesn't even have a thing to do with "repairable".
*Not just the TV, but the equipment and skills to do a repair. Can you say MINORITY? I thought you could.
I pre-ordered this book and I received it maybe 10 days ago. It is a very good book.
Avoid Missing Ball for High Score
Those are all works of fiction though. I'm talking about a real concrete book about science.
[hehehe yeah I am joking].
Chances are if your book is 1680 pages you should divide and conquer that sucker.
I mean I could write a book called "All there is to know about computers" and cover software, hardware, design, engineering, algorithms, etc, in one huge 32,618 page book. That doesn't make it a good idea.
Tom
Someday, I'll have a real sig.
Just a piece of advice for you: don't ever try to work for the government, okay?
"Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
I think it would be cool if more authored did this - releasing the "deleted scenes", so to speak, of their works for free, as a promotion for what they kept... especially if they were still high quality. It probably increases sales quite a bit (I wasn't even considering buying this book until after looking at the sample), and gives something useful directly to the community.
God, how I miss the old diseases :-(
Oh yes, I agree with you completely - Apple closing off their service manuals is just like wiping out a disease.
Probably even more beneficial to the human race in many ways - thanks for your insight.
There are shills on slashdot. Apparently, I'm one of them.
Word? The random choice of fonts, and crappy layout makes it clear that this highly skilled engineer, "Doesn't know LaTeX!"
Miele washing machines in Germany ship with complete schematics and timing diagrams taped to the underside of the hood.
"Extraordinary claims require extraordinary evidence" - Carl Sagan
No! THIS is a large nut.
"One of the coolest things about the Apple I and Apple ][ was that Apple Computer included the schematics for *all* of the motherboard and CPU design."
1. Apple didn't make the cpu. MOS did. It was a 6502 just like the one that runs Bender.
2. At no time did apple include the "schematics" of the 6502.
My Commodore64 also came with the schematics and the pin outs of all the ports.
See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
I wish there was *more* information. It might not be your cup of tea, but there are those folks who like the history of computers and operating systems as much as others are interested in the American civil war, WWII, dinosaurs, whatever.
One person's curio is another person's obsession.
Add in the fact that you don't know jack, and the value of that book is less than the paper it's written on.
Well of course I don't know Jack. We haven't met yet.
Geez, you people think I'm psychic or something?
Tom
Someday, I'll have a real sig.
To all you Slashdot geniuses who are so summarily judging this book (I have it, and I've read it).
(a.) Have you read the reviews of this book on Amazon or elsewhere? Here you go.
(b.) Better still, have you checked it out, even if briefly, before commenting on how you think it is?
Haha I think not. Goddammit I keep forgetting how things are supposed to work on Slashdot (punches self). Still I suggest do (b.) above... you'll be in for a surprise.
It looks like a great chapter, I am going to print it out then go to my favorite cafe, Black Dog, to peruse it. I think that counts as work hours. Much thanks to Mr. Singh for providing the PDF to Slashdotters and the web community.
In Soviet Russia YOU fix old TV's.
Uh, wait.
My other first post is car post.
FWIW, famed Apple engineer Dominic Giampaolo (Spotlight, HFS+, BeOS, Be File System, etc.) has some pretty strong praise for this book:
Giampaolo's review on Amazon
If you're reading his review on Amazon, might as well check out other reviews of the book as well. Some of them are from famous techies (David Butenhof, author of POSIX Threads Programming, and Marc Rochkind, author of Advanced UNIX Programming).
I'm on the first paragraphs and there is almost an error per sentence. 1. the 6502 did NOT have an on chip oscillator, it had logic input for clock, unlike the 6800 which needed a more complex two phase clock generator 2. it did NOT have a built in crystal or timing of any sort that generated 1.023 Mhz - that may be the effective clock rate on the Apple, but nothing inherent in the 6502. 3. the cycle stealing was done to refresh dynamic memory not the cpu. the early cpu was dynamic, that is that it needed refrsh mos cells, but this was done without cycle stealing using the normal phi clock. 4. the 6502 had 16 address lines, hence 2^16 addresses or 64K bytes of addressing. not "over 65K". If this guy doesn't know the difference between K=1024 for computers vs K=1000 SI prefixes, he's in real trouble. Clear Singh has no proper engineering background, can't understand schematics, nor even read a data sheet. Just goes to show that any moron can publish a book. I for one won't waste my money on erroneous bullshit.
Never mind...
Linux IT Consulting and Domino Development in Michigan
I was always a fan of BeOS. A presentation and demonstration of it was part of the interview process that got me my first consultant position. Always thought was a shame it didn't make it. Now, if that chapter is to be believed (p100 of the pdf), they could have were it not for the boss being too greedy. After managing to negotiate upwards from an initial valuation by Apple of $50m up to an offer of $200m, he still tried to get more and got no deal at all.
That's a little heart breaking, actually. I've been lucky enough to avoid the whole "my company's gone bust" thing, but what I've seen others go through isn't nice. It would really piss me off to find out that the boss, with $200m on the table and only $20m having been put into the company, still was too greedy / crap at negotiation to take it.
"Ten times return on our investment? Ha! I think we'll do better trying to compete with Microsoft in the OS market!"
Yeah, real smart...
Anyone know whether Jean-Louis Gassee really could have accepted the $200m offer and closed the deal, e.g. if even Apple didn't end up putting BeOS at the heart of their OS strategy?
"If companies would package their products to include tech specs and schematics, people who don't want to mess with their purchased property wouldn't have to, but the people who want to modify, repair, or extend their purchased property could do so with ease."
Quick! Someone invent a new career. Let's call it...a repair technician. It involves learning all the skills and knowledge to do things with "their purchased property". Then these people go out and buy equipment, and technical documentation from manufacturers. Some even charge those who don't want to know the internals of their "purchased property". Neat huh?
"Companies should be required to include specs with every electronic and mechanical device they sell, whether it's as small as a wristwatch, or as large as a car."
Or you could get off your butt and buy it, instead of insisting the majority has to subsidize your technolust.
I'd like to pinch a loaf in your mouth and see if you can adapt to how it tastes, because you have no other choice.
Be responsible to tomorrow's children: get a vacetomy. The more you breed, the more it supports the argument for canibalism.
OSX really is both. Okay its more like 80 % nextstep sprinkled with Beos. BEOS was created by ex apple engineers and after Jobs came back to the company via Next they were also rehired and reimplemented a lot of the things they had done with Beos. I personally think it would have been better if they had bought both. Beos is a better system but the realtiy distortion field was missing. Every succusful OS needs one. Apple now has Jobs the originator of the technique, Windows had an army of marketing execs that tell me each version of Windows is "faster" and "more secure", and Linux has a gazillion people who will disagree with any percieved slight of the OS with responces such as "it works for me" and "RTFM".
Well.. maybe. Or Maybe not. But Definitely not sort of.
Look at it this way:
Suppose you bought a book about Ruby and it had a 140 page introductory chapter that started with the history of FORTRAN and Algol and worked all the way up through Perl and Python and Ruby. Suppose it went off on tangents about things that Niklaus Wirth and John Backus did. Suppose it talked about various programs of historical importance (like the first compiler and PLANNER and so on). Suppose it talked about programming paradigms which don't relate to Ruby, like the development of Prolog.
Now all of this is interesting, but it's out of place in a book about Ruby.
GSOS and the Apple IIGs was quite the sophisticated platform and I'm surprised the author left out the little bit about how Apple alienated a large majority of its customers thanks to the Apple IIGS. The GS was my first "real" computer as a kid. My parents had and I had dabbled with an Amiga long before the GS, but the GS was my first real "work" computer where I did word processing and more with it. It was also my entry point into the early days of the internet and the first computer I ever upgraded with double density disk drives, a 40mb hard drive, various dial up modems, etc.
For me the AppleIIGS was really the "begining" of my current career in the computer industry. It was also a really slick operating system. But the most significant impact the AppleIIGS had on the market was it was the start of Apple's trend of abandoning old technologies. Almost as soon as the AppleIIGs was released, Apple had abandoned it and the Apple II platform for its new Macintosh systems. When Apple did this they abandoned the large majority of their customers. The early Macs were relatively expensive versus the bargin prices on Apple IIs, and a number of schools were deeply invested in the Apple II platform.
When Apple abandoned the II with the GS it was the start of the first major shift in the personal computer marketplace. A number of Apple customers felt gilted by Apple so they began to look for alternatives. Compared to the expensive Macintosh, the relatively cheap PC clone industry seemed like a huge bargin. It was at this moment that Microsoft really took control of the Operating System/platform market as a large portion of Apple's customer base abandoned the company and switched over to PC clones powered by Microsoft's Operating Systems. In truth, it has only been with Mac OS X and their Mactel platforms that Apple has truly succeeded in significantly expanding their marketshare since the AppleIIGS fiasco.
As I said, for an operating system and product that had such a profound impact on the future of Apple, I'm surprised to see so little mention of the AppleIIGS and GSOS.
You are who you are, let no one tell you different. But, never close your mind to a new point of view.
Nah, that won't terminate :)
Haskell can do it, though:
Prelude> let blankpage = "This page intentionally left blank except for a message stating `" ++ blankpage ++ "'"
Prelude> putStr blankpage
This page intentionally left blank except for a message stating `This page intentionally left blank except for a message stating `This page intentionally left blank except for a message stating `This page intentionally left blank except for a message stating `This page intentionally left blank except for a message stating `This page intentionally left blank eInterrupted.
It must have been a very small town. Or the story has grown in the retelling.
John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
Nopers, it was an actual city and still is--Birmingham, Alabama. I think her first Apple ][ may have been a Plus, but she did end up with a ][C.
"Here's what's happening. You're starting to drive like your Dad..." - Red Green
In the late 90's I started doing desktop support for macs, at the 8.6 - 9.0 era. I also supported NT and 98 desktops at the time. What I liked about
OS 8-9 was how obvious everything was. There were extensions and preferences, just a few hidden files that you had to know about, and once you knew
your way around it never got too complex to maintain. My 3 recurring problems then were AdobePS crapping out (delete prefs or reinstall), Quark Crashed (sigh), Desktop won't load (job stuck in desktop printer or font from the server added to suitcase usually). If we needed a more stable machine, we stripped unnecesary stuff and used it for one purpose (RIP, Audio Work, Video Work, etc). Of course there were the memory issues that could never be fixed, you just had to learn to save often and as editions. There was frequent filesystem corruption (caused usually by the crashes and forced restarts) that was the root of many problems. Oh yeah, security was crap too, good thing noone cared about pwning a mac back then. We still have a few running 9.2 as RIPs for a certain plotter, I never have to touch them.
music lover since 1969
I inferred strange timing from the post we're replying to, but the
Whast papers have you published?
Is this history in the right book?
No. That's why the publisher cut the chapter and it's been published as a free download.
Whkshh, LaTeX.
DocBook's better.
That was the sound made by a joke as it whizzed over your head.
Let me guess...you haven't dealt with olde-timey mainframe manuals, no?
(+5, pwnage)