---
title: "How Wozniak Coded Apple BASIC Entirely on Paper"
description: "Before the Apple I motherboard took shape, Steve Wozniak hand-coded an entire BASIC interpreter with pen and paper. Here is how he assembled 6502 machine code without an assembler or computer."
canonical: https://www.trendingtechdaily.com/computing/how-woz-wrote-apple-1-basic-before-building-hardware
last-updated: 2026-11-15
---

# How Wozniak Coded Apple BASIC Entirely on Paper

*By TrendingTech Computing Desk · November 15, 2026 · 3 min read · Category: [Computing & Hardware](https://www.trendingtechdaily.com/computing)*

> Before the Apple I motherboard took shape, Steve Wozniak hand-coded an entire BASIC interpreter with pen and paper. Here is how he assembled 6502 machine code without an assembler or computer.

In contemporary software development, programmers rely on instant compilation, rich virtual environments, test runners, and dynamic debuggers. In late 1975, Steve Wozniak had none of these luxuries. When the MOS Technology 6502 microprocessor debuted at the Western Electronic Show and Convention (WESCON) for an astonishingly low price of $20, Wozniak set out to write a full BASIC interpreter—long before he had functioning Apple I hardware capable of running it.

As detailed in archival records and historical discussions on [Retrocomputing Stack Exchange](https://retrocomputing.stackexchange.com/questions/17957), Wozniak did not own a minicomputer to execute cross-assemblers or chip simulators. When Bill Gates and Paul Allen developed Altair BASIC for the Intel 8080, they rented time on a Harvard PDP-10 to simulate the target CPU architecture. Wozniak, lacking both university mainframe accounts and financial capital, had to become the computer himself.

The development workflow was strikingly manual. Armed with yellow legal pads, a pencil, and the MOS 6502 Hardware and Programming Manuals, Wozniak drafted the interpreter's logic line by line. He wrote assembly mnemonics in one column, sketched out register allocations across subroutines, and carefully planned page-zero memory usage to maximize execution speed for arithmetic parsing and string manipulation.

Once the human-readable assembly routines were written, Wozniak manually converted each instruction into machine hex code—a painstaking process known as hand assembly. He looked up operation codes across the manual's lookup tables, manually resolved jump targets, and computed two's-complement hexadecimal relative offsets for conditional branches in his head. If an insertion or bug fix shifted addresses down by even a few bytes, every relative pointer and absolute jump across the subroutine had to be erased, recalculated, and rewritten by hand.

Without a compiler or silicon to catch runtime exceptions, testing the interpreter required rigorous mental execution. Wozniak stepped through machine cycles mentally, tracking stack pointers, accumulator states, and processor status flags on margins of graph paper. According to historical interviews cataloged by the [Computer History Museum](https://computerhistory.org/), he mentally stress-tested the interpreter’s recursive descent expression parser by tracing how math operators like addition and multiplication interacted across operator precedence stacks.

Only after the software architecture was completely mapped out on paper did Wozniak wire-wrap the minimal microprocessor breadboard containing the 6502 CPU, RAM chips, and a PROM monitor program. Using the minimalist machine monitor he had also handwritten, Wozniak slowly keyed the hexadecimal machine code directly into system memory byte by byte using a hex keypad and later a video terminal interface. Remarkably, the paper-assembled interpreter ran with astonishingly few bugs on the first power-up.

Wozniak’s paper-first methodology reveals an engineering philosophy where resource constraints bred radical discipline. The resulting codebase—initially known as Apple BASIC and later Integer BASIC—formed the software cornerstone of both the Apple I and Apple II, setting the technical stage for the personal computing revolution.

## Primary Sources

- [How did Woz write the Apple 1 BASIC before building the computer?](https://retrocomputing.stackexchange.com/questions/17957) (retrocomputing.stackexchange.com)
- [Steve Wozniak Oral History](https://computerhistory.org/) (Computer History Museum)

---
[Agent Index (llms.txt)](https://www.trendingtechdaily.com/llms.txt) · [More in Computing & Hardware](https://www.trendingtechdaily.com/computing)