When The Apple II Was New

I’ve been so busy recovering from birthing my book (the stitches have come out, thank you) that I have not paid attention to anniversaries. I was reminded by the post on Cult of Mac yesterday (here) that it was on June 10, 1977 that the full Apple II system with case was first shipped.

Apple II, Panasonic RQ-2102 cassette, and TV
Apple II, Panasonic RQ-2102 cassette, and TV – Photo credit: Carl Knoblock, Phil Pfeiffer

This computer was nearly twice as expensive as the competitors that would be available for purchase later in the year (the Commodore PET 2001 in August, and the TRS-80 Model I in November), but offered expandability right out of the box that neither of those competitors could provide without a retrofit or redesign.

Okay, if you’ve read this blog in the past, you know of my opinion about the significance of this computer, but let me reiterate: It established Apple as a company, and turned on a fire-hose of cash that funded the next several years of stumbles with other products (the Apple III, Lisa, and original 128K Macintosh). It was such a significant player that the company had to intentionally hobble it in its later years, so it would not pull customers away from the Mac.

The Apple II also set the stage for the appearance of computers on desktops for years to come. The popularity of the beige color was copied endlessly by other competing products that were released, well into the 1990s, when the term “boring beige box” came into its own. Yes, the Apple II was indeed beige — but it was the first to be beige.

Wozniak’s design was also unique in being the ideal hacker’s platform. Here I do not mean “hacker” in the sense of one who maliciously breaks into other computer systems with the intent of stealing or vandalizing. Rather, this refers to “hacker” in its original sense, that of one who could create new things, be it software or hardware, that brought functionality to the Apple II that went beyond what Woz originally envisioned. The eight slots allowed hardware expandability that other platforms did not as easily offer, and many of those add-ons were accessible by amateur programmers through its built-in BASIC and powerful 6502 assembly language.

All said, the release of this computer was a significant event in computing history. Happy 37th birthday, Apple II !

Point To Point

At a recent gathering to celebrate the 30th anniversary of the introduction of the Macintosh, a video recording was taken of a conversation between Dan Kottke, Rod Holt, and Steve Wozniak discussing the preparation of the original Apple II prototype. In the video, Kottke expresses his surprise that Holt, a photographer, never took any pictures of the Apple II prototypes, and neither did Steve Jobs.  There are apparently no photos of the Apple II during its design process.

Woz also clarifies that his prototyping method in those days was to use point-to-point soldering, rather than the more commonly used wire-wrapping technique. In the latter part of the video, he discusses how he put the pieces together and soldered them, on both the Apple-1 and the Apple II.

A Tale of the Disk II

Disk IILast year was noteworthy as the 35th anniversary of the release of the original Apple II. This year, 2013, has its own significant anniversary to commemorate. It was 35 years ago this coming July that the Disk II floppy drive was made available for the Apple II. As much as the Apple II was itself groundbreaking, the release of the Disk II was a similar watershed event in the history of Apple as a company and specifically for the Apple II. It is noteworthy that the keynote speaker at KansasFest for 2013 is Randy Wigginton, an important figure in the foundation of the Disk II and Apple DOS.

As with most such events, there is back story that often does not get repeated. And though tech news usually does not pay attention to history, the Disk II was recently a topic of blog posts. CNET News posted a story about the origins of Apple’s first disk operating system, specifically the original DOS for the Apple II. The story came to light because of a donation made to the DigiBarn Computer Museum in Boulder Creek, California. Though Randy Wigginton created the core RWTS (read/write/track/sector) routines that interfaced with the disk drive, it was Paul Laughton who was the primary author of Apple DOS. Laughton recently donated some of his original papers about the project to DigiBarn. Specifically, he gave them copies of the letters between Apple and Shepardson Microsystems, for whom he worked, and also source code listings for the original versions of DOS that were delivered to Apple in June 1978.

IBM logoAccording to the story Laughton tells on his web site, he had a background working at IBM for a number of years, where he worked on all aspects of the operating system on the IBM 360 computer. This gave him a deep understanding of a how a computer should interact with various devices (telecommunications, disks, printers, and more).

One of the first jobs Laughton did for Shepardson was to work on writing a BASIC interpreter for a computer that Apple was designing in early 1978, code named “Annie”. Though this project was eventually canceled, it did bring Laughton into contact with Steve Wozniak.

The system on which Laughton did his work was a minicomputer that used punched cards for input of source code. This was compiled on a 6502 cross assembler, which produced 6502 object code that could be output to punched tape. What Laughton needed from Wozniak was a way to connect a paper tape reader to an Apple II, in order to get the code for his BASIC interpreter into an Apple II for testing.

Disk II controller card prototype - Photo courtesy of Lonnie Mimms
Disk II controller card prototype – Photo courtesy of Lonnie Mimms

When Laughton and Wozniak got together to work on the paper tape reader, he noticed that Woz seemed discouraged. Laughton asked him about it, and Woz told him of the disk controller and floppy drive project he had completed during his Christmas vacation in 1977 and had demonstrated at the Computer Electronics Show the following month. Now he had what he felt was an impossible to meet deadline for getting a fully functional disk operating system written and ready to go, in addition to the need for finishing up work on some aspects of the hardware design.

Hearing this, Laughton told him that he could create a disk operating system for Apple in a relatively short period of time. Woz was happy to hear this, and arranged for a meeting to make it happen.

(I recently asked Laughton about this by email, as it seemed to me that creating a disk operating system would be a very large task. He told me that his background in working with IBM systems made the whole process very clear in his mind. He said, “When looking at the task of writing the DOS, I knew the structure of the sub components needed and the magnitude of each of the sub components. I had, if you will, the Blueprint, in my head from day one. Actually, Apple DOS was not a major project when compared to some of the other tasks I had been assigned at IBM. It was a very simple system.”)

Section of Shepardson contract with Apple
Section of Shepardson contract with Apple

Apple and Shepardson negotiated a contract, which is summarized in the letter of April 10, 1978 donated to DigiBarn. Laughton would write and deliver to Apple a file manager, an interface with BASIC (both Integer and the Applesoft BASIC that was in development), utilities to backup and copy a disk, and “disk recovery” (the details about what that meant are not explained. The agreed upon price for this work was $13,000 ($5,200 immediately, and $7,800 on delivery). The promised delivery date was May 15, just thirty-five days later.

Laughton stated that his task was helped by Wigginton’s contributions to the project. Not only did he create the RWTS code, but Wigginton came up with the method used in allowing either BASIC to interact with DOS (specifically, watching printed output from a BASIC program for a Ctrl-D following a Ctrl-M; code after that would be a command for DOS). Using this trick made it unnecessary to create a new ROM version of BASIC that included custom disk commands; BASIC required no changes at all!

As far as the CNET story was concerned, that was the end of the story of the creation of Apple DOS, and the author of that story went on to discuss the impact of the Disk II to Apple. However, on reading the rest of the letters that were donated, there were necessary adjustments to the DOS specifications that required Apple to come back to Shepardson and negotiate further work to be done:

  • May 10, 1978 – $4,000 to include a utility disk control program, written in Integer BASIC, to relocate DOS to the highest available location in memory (recall that many early Apple II systems were only 16K or less due to the high cost of RAM; although 16K would be the smallest RAM size that would run DOS, they had to allow for variable sizes from 16K through the full 48K). Also needed a FORMAT command that would put DOS on the disk. Delivery was promised by May 26.
  • June 16, 1978 – $3,500 for additional changes to DOS, not specified in the donated letters.
  • due by June 20, 1978 – $1,500 for adding changes to switch from Applesoft to Integer (FP and INT commands), remove listing of free sectors on CATALOG (an unfortunate choice), and changes to how the Volumes parameter were to be used
  • due by June 23, 1978 – (no cost specified) allow hex parameters on BRUN, BLOAD, and BSAVE commands, added the BRUN command, add a write protection error message, and using the APPLESOFT program on the disk to run RAM APPLESOFT, with proper startup done by using the FP command.
  • June 26, 1978 – $500 contract for additional changes (probably those listed on the notes for June 23).
  • October 5, 1978 – contract for bug fixes, cost not addressed.

This would bring the apparent full costs to Apple for DOS to $22,500, not the $13,000 number that CNET reported.

DOS 3.1When one considers the few updates that were applied to DOS, from its original DOS 3.1 release, to DOS 3.2, 3.2.1, and through to 3.3, it is indeed impressive how well designed it was from the very beginning. It was not a perfect system; it transferred buffers around three times during certain disk operations (which was the foundation of later disk enhancement packages sold, including Diversi-DOSDavid DOS, and Pronto-DOS). But like Wozniak’s Integer BASIC, it did an amazing amount of work in its small 10K footprint, with a small number of eventually identified bugs.

I would agree with CNET that Laughton’s work was immensely beneficial to Apple. It took the Apple II, which actually struggled in its sales compared to the other two members of the 1977 Trinity (the Commodore PET and Radio Shack TRS-80), and made it a more attractive option. According to sales numbers compiled by Jeremy Reimer in his December 2005 post on Ars Technica, during 1977 (the year in which each of those computers was released, Radio Shack sold one hundred sixty times as many units as did Apple, and Commodore sold six times as many as Apple. Clearly, the high entry fee of the Apple II ($1,298 for a 4K machine, compared to $495 for a PET and $599 for the TRS-80) was a damper on its first year of sales. Even in 1978, the sales of Apple’s competitors were significantly higher.

When one looks at the sales numbers in 1979, however, it is a different story. The increasing availability of the Disk II, falling RAM prices (making 16K and even 48K systems more affordable), and the introduction of the Apple II Plus raised Apple’s sales by 360% compared to 1978. Even though both competitors came out with their own floppy disk solutions (August 1978 for the TRS-80, and spring 1978 for the PET) at a similar price point as the Disk II, Apple’s disk drive was faster and more reliable. Though still ahead in terms of volume, the TRS-80 units sold in 1979 increased by only 30%, and the PET by 50% over the same time period. And sales of the Apple II continued to grow over the next several years, peaking in 1984.

Without a doubt, the reason we have iPhones, iPads and Macintosh computers today is because Apple became a highly successful and profitable company starting in 1979, due to the success of the Apple II in those early years. And the Apple II owes its success in a large part to thirty-five-plus days of work by a former IBM employee. Bravo, Paul Laughton; we salute you!