Lecture 01

History & System Overview

Before we open the hood, let's understand what the Apple II was, why it mattered, and what the major parts of the machine are. By the end of this lecture you'll be able to name every block in the system diagram and explain what it does.

1. A computer for people, not engineers

In 1976, "personal computer" meant a kit: a bag of chips, a soldering iron, and a front panel of toggle switches. Steve Wozniak's Apple I was a step up — a fully assembled board — but you still had to supply your own case, keyboard, power supply, and display.

The Apple II, introduced in April 1977 at the West Coast Computer Faire, changed the recipe. It came in a friendly plastic case with a built-in keyboard. You plugged it into a television, switched it on, and it was ready: a BASIC interpreter sat in ROM, waiting at a blinking cursor. It had color graphics and sound when its rivals (the Commodore PET and Tandy TRS-80, launched the same year — together the "1977 trinity") were monochrome and mute.

Nearly everything clever in the machine came from Wozniak's obsession with doing more with fewer chips. The floppy disk controller (1978's Disk II) used a handful of chips where rivals used dozens. The video system generated color essentially for free by exploiting quirks of the NTSC television standard. This minimalism is why the Apple II is such a good teaching machine: there is very little hardware, and every piece of it is understandable.

2. The family tree

ModelYearWhat changed
Apple II1977The original: 6502 @ ~1 MHz, 4–48K RAM, Integer BASIC in ROM, cassette storage.
Apple II Plus1979Applesoft BASIC (floating point, by Microsoft) in ROM; typically 48K RAM.
Apple IIe1983Lowercase, 64K standard (expandable to 128K), 80-column support. The best-selling model.
Apple IIc1984Portable, closed design with a built-in disk drive. No slots.
Apple IIGS198616-bit 65C816 CPU, advanced graphics and Ensoniq sound, while staying II-compatible.

This course targets the common core shared by all of them — what you'd find on an Apple II Plus or IIe, which is also what every emulator gives you by default.

3. What's in the box

Here is the whole machine at block level. Everything in this course lives somewhere on this diagram.

6502 CPU ~1.023 MHz ADDRESS BUS (16-bit) + DATA BUS (8-bit) RAM 4K – 48K ROM BASIC + Monitor 12K at $D000–$FFFF Video Text / Lo-res / Hi-res → TV or monitor Built-in I/O Keyboard · Speaker Paddles · Cassette 8 Expansion Slots Disk II controller · printer · 80-column · memory · modem … Everything hangs off one shared bus — the CPU reads and writes addresses; hardware responds.
The Apple II at block level. One 8-bit CPU, memory, video, and I/O all share a single 16-bit address bus. There is no separate "graphics card API" or "sound driver" — you program the hardware by reading and writing memory addresses. Amber blocks are memory, blue blocks are hardware the CPU talks to through the bus.

The cast of characters

KEY IDEA: The Apple II has one mechanism for everything: the CPU reads or writes an address on the bus. If the address belongs to RAM, you get memory. If it belongs to the keyboard, you get the last key pressed. If it belongs to the speaker, the speaker cone clicks. Master the address space and you've mastered the machine.

4. Powering on: what actually happens

When you flip the switch on an Apple II Plus:

  1. The 6502 comes out of reset and reads a reset vector — two bytes at addresses $FFFC–$FFFD, which are in ROM. They point to the Monitor's startup code.
  2. The Monitor initializes the hardware, clears the screen, and (with no disk controller present) jumps into Applesoft BASIC.
  3. BASIC prints its prompt, ], and blinks the cursor. Total elapsed time: well under a second.

If a Disk II controller card is in slot 6, its own small ROM takes over first and boots from the floppy — that's the famous whir-and-clatter of an Apple II starting up.

APPLE ][

]█

5. Why the Apple II still matters for learning

TRY IT: Before the next lecture, follow the first section of Getting Started to boot an emulated Apple II in your browser, and type:
PRINT "HELLO FROM 1977"
You've just executed code from a 12K ROM written before most programmers alive today were born.

Check your understanding

Q1. What made the Apple II stand out among the "1977 trinity" of personal computers?

Q2. Where does the Apple II's BASIC interpreter live?

Q3. How does the CPU communicate with the keyboard, speaker, and video hardware?

← Home Lecture 02: The 6502 CPU →