Macintosh 128K/512K technical details

Last updated

The original Macintosh was a relatively simple machine, now of interest for its simplicity and for the fact that it was the first computer produced by Apple under the name Macintosh. The Macintosh used standard off-the-shelf components to the greatest extent possible, achieving a moderate price point by mixing complex LSI chips, readily customizable programmable array logic, and off-the-shelf components.

Contents

Overall architecture

The Macintosh used the Motorola 68000. The 68000's bus was wired directly to the other programmable components of the computer: the IWM floppy controller, the Zilog 8530 SCC, and the MOS Technology 6522. [1]

The bus also connected the 68000 to the 128 or 512 KiB of main memory (DRAM), which was shared between the processor and the multimedia circuits in a direct memory access (DMA) arrangement. Either the processor or the video/sound engine could access the memory, but not both, resulting in up to a 10% loss in performance; the DMA circuit also performed necessary maintenance on the RAM which would otherwise add overhead, a trick previously used in the Apple II.

Precise timing information was relayed to the 68000 by interrupts. The 68000 provides three interrupt inputs, which in the Macintosh 128K/512K were connected to the 6522, the 8530, and a human input designed for programmers, in order of increasing priority. Thus typing on the keyboard (attached to the 6522) did not reduce serial data (8530) performance, yet the program controlling the serial bus could be debugged by the programmer.

To further reduce the cost of manufacture, as compared with its predecessor the Lisa, Apple did not include an MMU. As a result, the Macintosh did not support protected memory. Protected memory was only added to Macintosh computers with the release of the Mac OS X operating system.

According to Andy Hertzfeld the Macintosh used for the introduction demo on January 24, 1984, was a prototype with 512k RAM, even though the first model offered for sale implemented just 128k of non-expandable memory. This prototype was used to provide adequate RAM to run the memory-intensive demo, which showcased speech synthesis software intended to impress the crowd. [2]

Components

This is a comprehensive list of the integrated circuits in the original Macintosh:

The original Macintosh was implemented in four special-purpose LSI chips, six MSI PALs, 19 chips of standard SSI/MSI logic and analog circuits, plus memory. Most of the simpler chips would be consolidated into a few custom chips in the next generation, much reducing cost.

Features

The above components implemented the Macintosh GUI and networking as described below.

Mouse

The centerpiece of the new interface was mouse-driven control. The mouse contained only electromechanical components: a button, and two optical encoders. The button was connected to the 6522. The encoders' four outputs were connected two to the 8530 and two to the 6522.

The optical encoders detected movement by quadrature . Each encoder had a wheel with radial stripes which would interrupt the light passing between an LED and a light-detecting photodiode, producing electrical pulses with mouse movement. Both the X and the Y encoders were turned by frictional contact with the mouse ball. Two pairs of emitters and detectors were used on each encoder. A first set of pulses is enough to detect the rate of rotation without indicating the direction of rotation, and a second set of synchronized but 90° out of phase pulses provides the direction of rotation. Therefore, two emitter-detector pairs were used for X and Y each.

The motion detection signals connected to the 8530 chip using two non-essential pins used for obsolete modems. Originally these signaled modem connection or disconnection. When the mouse moved by a certain amount, the modem connect/disconnect signal would change state and the 8530 would interrupt the processor. The operating system would then read the direction signals from the 6522 to differentiate left from right, and up from down, and move the mouse cursor.

Cursor and video

The mouse cursor was drawn on the screen by software, as were all other on-screen objects. To support real-time animation the screen timing PAL circuit would send a pulse to the 6522 once per vertical retrace. This was the basis for an operating system service called the VBL (vertical blanking) Manager. When the screen was to be redrawn, the cursor would be moved and games had an opportunity to update the display.

It could sometimes be difficult to avoid a race condition between a game and the raster display. Flicker could result from the processor writing to the image while it was being sent to the CRT. Therefore, the Macintosh provided a choice of two images in memory, so one could be read while the other was written. The "page" was selected by a general-purpose I/O output connected from the 6522 to the video DMA. As two images added up to 42.75 KiB of precious RAM, however, this feature was unpopular.

The DMA graphics controller operated independently and autonomously. One-bit pixels were fetched sixteen at a time over a 16-bit data bus and output at just less 16 MHz, necessitating almost one million fetches per second. Each fetch took one memory access cycle out of every two available during active parts of the display, implying a memory bandwidth for the CPU of about 2.56MB per second. [3]

Keyboard

The 6522 provided a general-purpose serial bus. The keyboard contained an Intel 8021 microprocessor which transmitted user input to the 6522 over standard phone patch cable. A new keystroke resulted in a processor interrupt.

Sound

The sampled sound engine piggybacked on the video circuit. As the raster scan returned from the right side of the screen to the left, one byte of data was placed into a PWM generator instead of the screen. This provided 8-bit sampled monaural sound sampled at the 22.25 kHz horizontal blanking rate. General purpose 6522 outputs could mute the sampled sound, or set its volume to one of 8 levels of attenuation.

A square wave generator was included on the 6522. One of its two timer circuits could be set to toggle the mute output periodically. This could produce frequencies higher than 11 kHz.

This system was not compatible with the Lisa / Mac XL hardware, which in other respects could run Mac software with commonly available software/firmware modifications. Running programs on Lisas which made use of the Mac sound features would cause severe video problems and system crashes.

Communication

The Zilog 8530 SCC was clocked at around 3.7 MHz. At this speed each serial channel was half as fast as the main memory. The RS-422 protocol was implemented except for the connection-established line, which was used to support the mouse. Apple later changed to an 8-pin connector which dropped it entirely.

Storage

The Macintosh's persistent storage medium was Sony's floppy diskette drive. This drive replaced the Apple ]['s Shugart drive and the 871K FileWare/"Twiggy" floppy drive used in the original Lisa as the storage medium chosen for the original Macintosh. The single-sided 3.5 inch floppy stored 400 KB by spinning the disk slower when the outer edge was used. A separate microcontroller, the IWM (Integrated Woz Machine), was dedicated to disk control. The floppy operated by polled I/O so access was not seamless: loading and saving files were operations that stopped the entire machine.

Twenty bytes of memory were included in the real-time clock counter chip. This data was retained using a 4.5 Volt alkaline battery and was used to store user preferences.

Timekeeping

The Macintosh featured a real-time clock counting seconds, and a countdown timer with near-microsecond resolution. The former was connected to the 6522 by a serial bus on three general-purpose I/O lines. It functioned much as a quartz watch when the machine was powered off. The latter was built into the 6522 itself. Either could generate interrupts.

Memory Map

The RAM map is organised so that the system globals, system and application heaps grow upwards from low memory, everything else grows downwards from MemTop, from high memory towards low memory. On the 512K Macintosh, the "extra" RAM thus appears as a wider gap between the application heap and the stack, where it is available for application use.

Related Research Articles

<span class="mw-page-title-main">Atari ST</span> Line of home computers from Atari Corporation

Atari ST is a line of personal computers from Atari Corporation and the successor to the company's 8-bit home computers. The initial model, the Atari 520ST, had limited release in April–June 1985, and was widely available in July. It was the first personal computer with a bitmapped color graphical user interface, using a version of Digital Research's GEM interface / operating system from February 1985.

<span class="mw-page-title-main">Amiga Original Chip Set</span> Chipset used in Amiga personal computer

The Original Chip Set (OCS) is a chipset used in the earliest Commodore Amiga computers and defined the Amiga's graphics and sound capabilities. It was succeeded by the slightly improved Enhanced Chip Set (ECS) and the greatly improved Advanced Graphics Architecture (AGA).

<span class="mw-page-title-main">Apple IIe Card</span> Compatibility card

The Apple IIe Card is a compatibility card, which through hardware and software emulation, allows certain Macintosh computers to run software designed for the Apple II. Released in March 1991 for use with the LC family, Apple targeted the card at its widely dominated educational market to ease the transition from Apple II-based classrooms, with thousands of entrenched educational software titles, to Macintosh-based classrooms.

<span class="mw-page-title-main">Macintosh Plus</span> Third model of Apples Macintosh computer line

The Macintosh Plus computer is the third model in the Macintosh line, introduced on January 16, 1986, two years after the original Macintosh and a little more than a year after the Macintosh 512K, with a price tag of US$2,599. As an evolutionary improvement over the 512K, it shipped with 1 MB of RAM standard, expandable to 4 MB, and an external SCSI peripheral bus, among smaller improvements. Originally, the computer's case was the same beige color as the original Macintosh, Pantone 453; however, in 1987, the case color was changed to the long-lived, warm gray "Platinum" color. It is the earliest Macintosh model able to run System Software 5, System 6, and System 7, up to System 7.5.5, but not System 7.5.2.

<span class="mw-page-title-main">Macintosh IIfx</span> Personal computer by Apple

The Macintosh IIfx is a personal computer designed, manufactured and sold by Apple Computer from March 1990 to April 1992. At introduction it cost from US$9,000 to US$12,000, depending on configuration, and it was the fastest Macintosh available at the time.

GeoPort is a serial data system used on some models of the Apple Macintosh that could be externally clocked to run at a 2 megabit per second data rate. GeoPort slightly modified the existing Mac serial port pins to allow the computer's internal DSP hardware or software to send data that, when passed to a digital-to-analog converter, emulated various devices such as modems and fax machines. GeoPort could be found on late-model 68K-based machines as well as many pre-USB Power Macintosh models and PiPPiN. Some later Macintosh models also included an internal GeoPort via an internal connector on the Communications Slot. Apple GeoPort technology is now obsolete, and modem support is typically offered through USB.

<span class="mw-page-title-main">Apple IIGS</span> Apple II series 16-bit computer

The Apple IIGS is a 16-bit personal computer produced by Apple Computer. It is the fifth and most powerful of the Apple II family. It is compatible with earlier Apple II models, but has a Macintosh look and feel, and resolution and color similar to the Amiga and Atari ST. The "GS" in the name stands for "Graphics and Sound", referring to its enhanced multimedia hardware, especially its state-of-the-art audio.

<span class="mw-page-title-main">Apple IIc</span> Fourth model Apple II computer model

The Apple IIc is a personal computer introduced by Apple Inc. shortly after the launch of the original Macintosh in 1984. It is essentially a compact and portable version of the Apple IIe. The IIc has a built-in floppy disk drive and a keyboard, and was often sold with its matching monitor. The c in the name stands for compact, referring to the fact it is a complete Apple II setup in a smaller notebook-sized housing. It is compatible with a wide range of Apple II software and peripherals.

<span class="mw-page-title-main">Macintosh 512Ke</span> Personal computer by Apple, Inc.

The Macintosh 512Kenhanced (512Ke) was introduced in April 1986 as a cheaper alternative to the top-of-the-line Macintosh Plus, which had debuted three months previously. It is the same as the Macintosh 512K but with the 800K disk drive and 128K of ROM used in the Macintosh Plus. Like its predecessors, it has little room for expansion. Some companies did create memory upgrades that brought the machine up to 2 MB or more.

<span class="mw-page-title-main">Macintosh 128K</span> 1984 computer

The Macintosh, later rebranded as the Macintosh 128K, is the original Macintosh personal computer from Apple. It is the first successful mass-market all-in-one desktop personal computer with a graphical user interface, built-in screen and mouse. It was pivotal in establishing desktop publishing as a general office function. The motherboard, a 9 in (23 cm) CRT monochrome monitor, and a floppy drive are in a beige case with integrated carrying handle; it has a keyboard and single-button mouse.

<span class="mw-page-title-main">Macintosh 512K</span> Revised version of the Macintosh 128K by Apple Computer

The Macintosh 512K is a personal computer that was designed, manufactured and sold by Apple Computer from September 1984 to April 1986. It is the first update to the original Macintosh 128K. It was virtually identical to the previous Macintosh, differing primarily in the amount of built-in random-access memory. The increased memory turned the Macintosh into a more business-capable computer and gained the ability to run more software. It is the earliest Macintosh model that can be used as an AppleShare server and, with a bridge Mac, communicate with modern devices.

<span class="mw-page-title-main">Macintosh XL</span> Modified version of the Apple Lisa

Macintosh XL is a modified version of the Apple Lisa personal computer made by Apple Computer. In the Macintosh XL configuration, the computer shipped with MacWorks XL, a Lisa program that allowed 64 K Macintosh ROM emulation. An identical machine was previously sold as Lisa 2/10 with the Lisa OS only.

<span class="mw-page-title-main">MOS Technology 6522</span> Microprocessor I/O port controller IC

The MOS Technology 6522 Versatile Interface Adapter (VIA) is an integrated circuit that was designed and manufactured by MOS Technology as an I/O port controller for the 6502 family of microprocessors. It provides two bidirectional 8-bit parallel I/O ports, two 16-bit timers, and an 8-bit shift register for serial communications or data conversion between serial and parallel forms. The direction of each bit of the two I/O ports can be individually programmed. In addition to being manufactured by MOS Technology, the 6522 was second sourced by other companies including Rockwell and Synertek.

vMac Open source 68k Macintosh emulator

vMac is a free and open-source Macintosh Plus emulator which is able to run versions of System 1.1 to 7.5.5. It is available for Windows, DOS, OS/2, Mac OS, NeXTSTEP, Linux, Unix, and other platforms. Although vMac has been abandoned, Mini vMac, an improved spinoff of vMac, is still actively developed.

<span class="mw-page-title-main">Atari TT030</span> Personal computer by Atari

The Atari TT030 is a member of the Atari ST family, released in 1990. It was originally intended to be a high-end Unix workstation, but Atari took two years to release a port of Unix SVR4 for the TT, which prevented the TT from ever being seriously considered in its intended market.

<span class="mw-page-title-main">Applied Engineering</span>

Applied Engineering, headquartered in Carrollton, Texas, was a leading third-party hardware vendor for Apple II computers from the early 1980s until the mid-1990s.

The Apple Network Server (ANS) was a line of PowerPC-based server computers designed, manufactured and sold by Apple Computer, Inc. from February 1996 to April 1997. It was codenamed "Shiner" and originally consisted of two models, the Network Server 500/132 and the Network Server 700/150, which got a companion model, the Network Server 700/200 with a faster CPU in November 1996.

The Macintosh Hard Disk 20 is the first hard drive developed by Apple Computer specifically for use with the Macintosh 512K. Introduced on September 17, 1985, it was part of Apple's solution toward completing the Macintosh Office announced in January 1985. It would be over a year more before Apple would release the file server software AppleShare that would link all of the hardware together. By that time the SCSI interface introduced on the Macintosh Plus in January 1986, would accommodate far faster and more efficient hard drives, rendering the Hard Disk 20 virtually obsolete.

<span class="mw-page-title-main">Dick Smith Super-80 Computer</span>

The Dick Smith Super-80 was a Zilog Z80 based kit computer developed as a joint venture between Electronics Australia magazine and Dick Smith Electronics.

<span class="mw-page-title-main">Zilog SCC</span> Family of serial port driver integrated circuits made by Zilog

The SCC, short for Serial Communication Controller, is a family of serial port driver integrated circuits made by Zilog. The primary members of the family are the Z8030/Z8530, and the Z85233.

References

  1. Smith, Burrell C. (February 1984). "Byte Magazine Volume 09 Number 02 - Benchmarks". p. 32. Retrieved 9 August 2024.
  2. Andy Hertzfeld "It Sure Is Great To Get Out Of That Bag!"
  3. Guide to the Macintosh® Family Hardware, Second Edition. Addison Wesley. 1990. p.  194. ISBN   0-201-52405-8.