Feeds

Apple releases previously SECRET OPERATING SYSTEM SOURCE CODE

OK, fanbiois, start your assemblers

The smart choice: opportunity from uncertainty

The Computer History Museum has scored something of a coup, publishing – with Cupertino's permission – the source code for the Apple II's DOS, version 3.1.

The archeological code, posted here, is the whole 4,000-plus – that's thousands of lines of code, not millions in a misprint – complete with comments like “if it ain't 3 don't reloc”.

As Computer History Museum notes on its release page, the DOS – which included a file manager, a BASIC interface, and various utilities – was written for US$13,000 (a little over three dollars a line) by Paul Laughton, a contractor for Shepardson Microsystems.

The code was written between April and June 1978 – a fair achievement for a brand new DOS – and by October, according to meeting minutes posted by the Museum, Apple and Shepardson were already working through the bug fixes and discussing the documentation. This kind of discussion still rings true to anyone looking at software development.

For example, there's this exchange involving Laughton and Randy Wigginton (employee number six, and creator of MacWrite):

“Paul has received questions directly regarding our DOS. Evidently he has been in computer stores, etc. when someone was asking questions about the Apple DOS. He also was surprised that we were shipping documentation on the Read/Write a track and sector routine. He felt that documentation on interfacing to the file manager portion of the DOS was more useful. Randy pointed out that documentation does not exist on the file manager.”

Another amusing insight covers “bug #1”:

“There was some controversy as to whether bug #1 was or was not actually specified in the original spec. Paul felt that bug #1 involved some major rework, and was a result of not having a written spec on the DOS.”

As the Museum notes, the Apple II couldn't compile anything, so Laughton had to write the DOS on punch cards for compilation on a National Semiconductor IMP-16, which would spit the assembled code out onto a paper tape. Steve Wozniak, who was responsible for creating the disk controller for the machine, also made a plug-in card to read the paper tapes so that Laughton could debug the code.

Laughton describes more of the history here. ®

Designing a Defense for Mobile Applications

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.