How did Woz write the Apple 1 BASIC before building the computer? retrocomputing...

@best30

How did Woz write the Apple 1 BASIC before building the computer? retrocomputing.stackexchange.c · 253 points · 132 comments · HN thread

The article could not be read, so this summary is based on the title and the discussion.

TL;DR The Retrocomputing Stack Exchange question asks how Steve Wozniak wrote the Apple 1 BASIC interpreter before the computer existed. The article could not be read, so this digest relies on the title, URL and comments. The thread mostly digresses into the common practice of hand-assembling 6502 and Z80 code on paper and entering it through monitor programs.

  • The question asks how Wozniak wrote the Apple 1 BASIC interpreter before any physical machine was built, which is the premise of the thread.
  • Commenters say writing machine code on paper and desk-checking it before entering it was the default for 8-bit hobbyists without a second computer.
  • Hand-entry was done through a monitor program or front-panel hex keypad, poking bytes into RAM and then jumping to a start address.
  • A follow-up question asks how the BASIC was then burned into ROM, and a commenter links a separate Stack Exchange answer saying Wozniak used equipment at his HP day job.
  • Commenters note that Wozniak also wrote a 256-byte monitor and that the Apple II later used mask ROM, with the Apple II+ ROM version replacing the original monitor-first boot.

Discussion The thread is a nostalgic and largely friendly exchange about pre-assembler programming. Most commenters describe their own experiences writing 6502, Z80, 6809 or 8085 code by hand on paper or graph paper, then entering it through hex monitors, front-panel switches, DATA statements in BASIC, or early assemblers. Several recount school or university access to shared mainframes and punch cards. The tone is warm and reminiscent, with some lighthearted jokes about kids today and LLMs, and a few reflections on whether slow paper-first programming was a better discipline than today's fast feedback loops.

  • Paper coding and hand-assembly were the normal way to program 8-bit machines (most): Many commenters describe writing code longhand, checking it on paper, and then typing hex into a monitor, often because they could not afford an assembler or a second computer. They say the tedium made people careful and that the routine was relaxing in its own way.
  • Memorizing common opcodes came naturally with simple instruction sets (many): Several say the 6502 and Z80 had few enough common opcodes that users learned them by heart, and some still recognize bytes like A9 or 3E from memory decades later.
  • Paper-first slow work has lasting value (some): Some argue that planning on paper forces discipline and catches logic errors before typing, and they wish that habit were more common now that trying something costs one keystroke.
  • Wozniak's achievement is remarkable but the details are unclear (some): Commenters note it is unclear whether he built a monitor first, how he burned the ROM, and whether he used equipment at HP, with one linking a follow-up answer on the ROM question.
  • Dissent: the premise of hand-assembly is overstated or joking (a few): A few commenters push back on the framing with jokes, such as time travel, or with claims that some hand-coding anecdotes were exaggerated or off-topic, while others point out that modern tools make the practice unnecessary.

Links from the comments

#retrocomputing #AppleOne #handAssembly #BASIC #history