Telecommunications Science    
   
Table of contents
(Prev) Apple II seriesApple III (Next)

Apple II

The Apple II computer on display at the Museum of the Moving Image in New York City
Base Price: US$1,298 (1977) 4 kB of RAM
Apple-II computer on display at the private Musée Bolo[1] from the École Polytechnique Fédérale de Lausanne in Lausanne.
An Apple II computer with an external modem

The Apple II (styled as Apple ][) is an 8-bit home computer, one of the first highly successful mass-produced microcomputer products,[2] designed primarily by Steve Wozniak, manufactured by Apple Computer (now Apple Inc.) and introduced in 1977. It is the first model in a series of computers which were produced until Apple IIe production ceased in November 1993.[3]

The first Apple II computers went on sale on June 10, 1977[4][5] with a MOS Technology 6502 microprocessor running at 1 MHz, 4 kB of RAM, an audio cassette interface for loading programs and storing data, and the Integer BASIC programming language built into the ROMs. The video controller displayed 24 lines by 40 columns of monochrome, upper-case-only (the original character set matches ASCII characters 20h to 5Fh) text on the screen, with NTSC composite video output suitable for display on a TV monitor, or on a regular TV set by way of a separate RF modulator. The original retail price of the computer was $1,298 USD[6] (with 4 kB of RAM) and $2,638 USD (with the maximum 48 kB of RAM). To reflect the computer's color graphics capability, the Apple logo on the casing was represented using rainbow stripes,[7] which remained a part of Apple's corporate logo until early 1998. The earliest Apple II's were assembled in Silicon Valley, and later in Texas;[8] printed circuit boards were manufactured in Ireland and Singapore.

Contents

Overview

An external 5¼-inch floppy disk drive, the Disk II, attached via a controller card that plugged into one of the computer's expansion slots (usually slot 6), was used for data storage and retrieval to replace cassettes. The Disk II interface, created by Steve Wozniak, was regarded as an engineering masterpiece for its economy of electronic components.[9][10] While other controllers had dozens of chips for synchronizing data I/O with disk rotation, seeking the head to the appropriate track, and encoding the data into magnetic pulses, Wozniak's controller card had few chips; instead, the Apple DOS used software to perform these functions. The Group Code Recording used by the controller was simpler and easier to implement in software than the more common MFM. In the end, the low chip count of the controller helped make Apple's Disk II the first affordable floppy drive for personal computers. As a side effect, Wozniak's scheme made it easy for proprietary software developers to copy-protect the media on which their software shipped by changing the low-level sector format or stepping the drive's head between the tracks; inevitably, other companies eventually sold software to foil this protection. Another Wozniak optimization allowed him to omit Shugart's Track-0 sensor. When the Operating System wants to go to track 0, the controller simply moves 40 times toward the next-lower-numbered track, relying on the mechanical stop to prevent it going any further down than track 0. This process, called "recalibration", made a loud buzzing (rapid mechanical chattering) sound that often frightened Apple novices.

The approach taken in the Disk II controller was typical of Wozniak's design sensibility. The Apple II used several engineering shortcuts to save hardware and reduce costs. For example, taking advantage of the way that 6502 instructions only access memory every other clock cycle, the video generation circuitry's memory access on the otherwise unused cycles avoided memory contention issues and also eliminated the need for a separate refresh circuit for the DRAM chips. Rather than use a complex analog-to-digital circuit to read the outputs of the game controller, Wozniak used a simple timer circuit whose period was proportional to the resistance of the game controller, and used a software loop to measure the timer.

The text and graphics screens had a complex arrangement (the scanlines were not stored in sequential areas of memory) which was reputedly due to Wozniak's realization that doing it that way would save a chip; it was less expensive to have software calculate or look up the address of the required scanline than to include the extra hardware. Similarly, in the high-resolution graphics mode, color was determined by pixel position and could thus be implemented in software, saving Wozniak the chips needed to convert bit patterns to colors. This also allowed for sub-pixel font rendering since orange and blue pixels appeared half a pixel-width further to the right on the screen than green and purple pixels.[11]

Display and graphics

Color on the Apple II series took advantage of a quirk of the NTSC television signal standard, which made color display relatively easy and inexpensive to implement. The original NTSC television signal specification was black-and-white. Color was tacked on later by adding a 3.58-MHz subcarrier signal that was partially ignored by B&W TV sets. Color is encoded based on the phase of this signal in relation to a reference color burst signal. The result is that the position, size, and intensity of a series of pulses define color information. These pulses can translate into pixels on the computer screen.

The Apple II display provided two pixels per subcarrier cycle. When the color burst reference signal was turned on and the computer attached to a color display, it could display green by showing one alternating pattern of pixels, magenta with an opposite pattern of alternating pixels, and white by placing two pixels next to each other. Later, blue and orange became available by tweaking the offset of the pixels by half a pixel-width in relation to the color-burst signal. The high-resolution display offered more colors simply by compressing more, narrower pixels into each subcarrier cycle.

The coarse, low-resolution graphics display mode worked differently, as it could output a *pattern* of dots per pixel to offer more color options. These patterns were stored in the character generator ROM and replaced the text character bit patterns when the computer was switched to low-res graphics mode. The text mode and low-res graphics mode used the same memory region and the same circuitry was used for both.

Sound

The epitome of the Apple II design philosophy was the Apple II sound circuitry. Rather than having a dedicated sound-synthesis chip, the Apple II had a toggle circuit that could only emit a click through a built-in speaker or a line out jack; all other sounds (including two, three and, eventually, four-voice music and playback of audio samples and speech synthesis) were generated entirely by software that clicked the speaker at just the right times. Not for nearly a decade would an Apple II be released with a dedicated sound chip (though with six expansion slots, users could add sound functionality with various sound cards). Similar techniques were used for cassette storage: the cassette output worked the same as the speaker, and the input was a simple zero-crossing detector that served as a relatively crude (1-bit) audio digitizer. Routines in the ROM were used to encode and decode data in frequency-shift keying for the cassette.

Third-party devices and applications

Wozniak's open design and the Apple II's multiple expansion slots permitted a wide variety of third-party devices, including Apple II peripheral cards such as serial controllers, display controllers, memory boards, hard disks, networking components, and realtime clocks. There were plug-in expansion cards – such as the Z80-card[12] – that permitted the Apple to use the Z80 processor and run a multitude of programs developed under the CP/M operating system,[12] including the dBase II database and the WordStar word processor. There was also a third-party 6809 card that would allow OS-9 Level One to be run. Third-party sound cards greatly improved audio capabilities, allowing simple music synthesis and text-to-speech functions. Eventually, Apple II accelerator cards were created to double or quadruple the computer's speed.

Power source

Wozniak, whose passion was the circuitry, didn't concern himself with the issue of heat. But the power source necessary to keep all those circuits functioning can make a lot of heat, and that can require a fan, a low-tech contraption in itself, to disperse said heat. Steve Jobs thought fans an inelegant solution, and looked for someone who could come up with a better one.

Rod Holt is credited (for example in the Walter Isaacson biography of Jobs) with the solution. Holt employed a Switched-mode power supply design. This generated far less unwanted heat than a linear power supply, which most other home computers of the time used.

Isaacson quotes Wozniak saying that this was not something he could have done. "I only knew vaguely what a switching power supply was."

See also

References

  1. ^ "Musée Bolo". École Polytechnique Fédérale de Lausanne. http://ic.epfl.ch/page-37545-fr.html. Retrieved October 23, 2011.
  2. ^ Reimer, Jeremy (December 14, 2005). "Total share: 30 years of personal computer market share figures". Ars Technica. http://arstechnica.com/articles/cultu re/total-share.ars/3. Retrieved May 25, 2010.
  3. ^ Steven Weyhrich (May 16, 2003). "1990-1995". Apple II History. http://apple2history.org/history/appy /ahb5.html. Retrieved May 25, 2010.
  4. ^ "June 10, 1977 - Apple II Released Today". This Day in History. Mountain View, CA: Computer History Museum. http://www.computerhistory.org/tdih/J une/10/. Retrieved August 3, 2012. June 10, 1977 was a Friday.
  5. ^ Weyhrich, Steven. "4-The Apple II, cont. - Product Introduction". Apple II History. Apple2History.org. http://apple2history.org/history/ah04 /. Retrieved August 3, 2012. "The first motherboard-only Apple II computers shipped on May 10, 1977, for those who wanted to add their own case, keyboard, and power supply (or wanted to update their Apple-1 'system' with the latest and greatest). A month later, on June 10, 1977, Apple began shipping full Apple II systems."
  6. ^ Forster, Winnie (2005). The encyclopedia of consoles, handhelds & home computers 1972 – 2005. GAMEPLAN. p. 19. ISBN 3-00-015359-4. 
  7. ^ Steven Weyhrich (April 21, 2002). "4-The Apple II, cont.". Apple II History. http://apple2history.org/history/ah04 .html. Retrieved November 16, 2006.
  8. ^ Rose, Frank (1989). West of Eden. Arrow Books. p. 3. ISBN 0-09-976200-5. 
  9. ^ Steven Weyhrich (December 28, 2001). "5-The Disk II". Apple II History. Archived from the original on 1 December 2006. http://apple2history.org/history/ah05 .html. Retrieved November 16, 2006.
  10. ^ Freiberger, Paul, and Michael Swaine. "Fire In The Valley, Part Two (Book Excerpt)", A+ Magazine, January 1985: 45.
  11. ^ Gibson, Steve. "The origins of sub-pixel font rendering". Gibson Research Corporation. Archived from the original on 21 July 2006. http://www.grc.com/ctwho.htm. Retrieved August 4, 2006.
  12. ^ a b Petersen, Marty (February 6, 1984). "Review: Premium Softcard IIe". InfoWorld (InfoWorld Media Group) (Vol. 6, Num. 6): 64. "Several manufacturers, however, make Z80 coprocessor boards that plug into the Apple II." 
(Prev) Apple II seriesApple III (Next)