How did Woz write the Apple 1 BASIC before building the computer? (2021)

Early microcomputer enthusiasts describe how Steve Wozniak could write Apple I BASIC before the hardware existed by hand‑assembling 6502 machine code on paper, then keying it into simple ROM monitors or using commercial PROM programmers at his HP day job. Many recount similar experiences of “slow programming”: designing and debugging assembly or BASIC on paper, manually entering hex into memory, and even using front‑panel switches long before cheap assemblers, disks, or multiple machines were available. The thread contrasts that intimate, hardware‑aware workflow with today’s fast feedback loops and high‑level tools, arguing that while modern development is vastly more convenient, something was lost when programmers no longer had to understand the machine at that level.

How Woz Could Write BASIC Before the Apple‑1 Existed

  • Several commenters stress that, for 8‑bit hobbyists, writing assembly or machine code on paper first was normal due to lack of hardware and tools.
  • Instruction sets were small and regular enough that common opcodes could be memorized and hand‑assembled reliably from reference cards or tables.
  • The likely workflow described: design the CPU’s capabilities so it can run a BASIC, write the interpreter on paper, then bring up a minimal monitor on early hardware to type in and test the code.
  • Some find it odd that BASIC was reportedly written before a monitor, since manuals of the time usually recommended building a simple monitor/assembler first; others note that if the hardware didn’t yet exist, a monitor wouldn’t help much anyway.

Hand Assembly, Monitors, and Entry Methods

  • Many reminisce about:
    • Hand‑assembling 6502, Z80, 6809, etc. from tables or pocket reference cards.
    • Using ROM monitors (e.g., with PEEK/POKE, CALL/JMP/USR) to enter bytes, inspect memory, and jump to code.
    • Front‑panel switches, hex keypads, DIP switches, or custom latch circuits to write bytes into RAM or PROM directly.
  • Early “mini‑assemblers” in ROM and BASIC loaders with DATA lines are recalled as major quality‑of‑life improvements.

Getting Code into ROM

  • A follow‑up question asks how BASIC/monitor code reached ROM.
  • Linked answers (within the thread) say Apple‑1 only had a monitor in ROM; BASIC was entered via the monitor and saved to cassette.
  • It’s stated that commercial equipment at an employer was used to burn monitor ROMs; BASIC in ROM comes later with the Apple II and mask ROMs. PROMs may have been used during development, but this is not detailed.

“Slow Programming” and Nostalgia

  • Multiple comments describe “slow programming”: writing and desk‑checking on paper, then entering once, often resulting in code that worked on first run.
  • There is nostalgia for the discipline this enforced, contrasted with today’s fast feedback loops, rich tooling, and abstraction from hardware.
  • Some note that similar hand‑patching or binary editing still happens today in highly constrained or performance‑critical contexts.