Feeds

Apple releases previously SECRET OPERATING SYSTEM SOURCE CODE

OK, fanbiois, start your assemblers

The essential guide to IT transformation

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

Next gen security for virtualised datacentres

More from The Register

next story
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
'Stop dissing Google or quit': OK, I quit, says Code Club co-founder
And now a message from our sponsors: 'STFU or else'
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Uber, Lyft and cutting corners: The true face of the Sharing Economy
Casual labour and tired ideas = not really web-tastic
Mozilla's 'Tiles' ads debut in new Firefox nightlies
You can try turning them off and on again
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
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.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
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.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?