Feeds

Apple releases previously SECRET OPERATING SYSTEM SOURCE CODE

OK, fanbiois, start your assemblers

Mobile application security vulnerability report

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. ®

The Power of One Infographic

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
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.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.