The Story

In 1975, Bill Gates and Paul Allen wrote the original Altair BASIC, with Monte Davidoff contributing the floating-point math routines. It was a remarkable piece of engineering that fit into just 4 kilobytes of memory.

As a new wave of affordable home computers emerged, powered by the inexpensive MOS 6502 processor, Microsoft adapted their BASIC. The 6502 port was released in 1976. Commodore licensed it for a one-time flat fee, integrating it deeply into their machines.

When you powered on a Commodore PET, VIC-20, or Commodore 64, the operating system did not boot to a desktop. It booted directly to the language itself. The blinking cursor after the word READY. was the first thing millions of people ever saw on a computer screen.

The 6502

CHIP_PROFILE.DAT
DESIGNER:Chuck Peddle and team (MOS Technology)
RELEASED:1975
PRICE:$25 (rivals were $175 and up)

The MOS Technology 6502 democratized computing. By radically undercutting the price of competing processors, it made the home computer revolution possible.

The Machines

1977

Commodore PET

The first all-in-one personal computer. Built-in cassette drive, built-in monitor, and Microsoft BASIC baked right in.

1980

VIC-20

The first computer to sell one million units. Friendly, colorful, and completely dependent on its 6502 heart and BASIC soul.

1982

Commodore 64

The best-selling single computer model of all time. 64 kilobytes of RAM and a legendary SID chip, driven by Commodore BASIC V2.

1977

Apple II

It started with Wozniak's Integer BASIC, then adopted Applesoft BASIC, Apple's licensed branch of Microsoft's 6502 code.

Version 1.1 built directly for the Apple II, the Commodore PET, Ohio Scientific, the MOS KIM-1, and a PDP-10 simulation used for development. The same codebase went on to underpin the VIC-20 and the Commodore 64, though the famous C64 shipped a later, extended BASIC. Version 1.1 is its ancestor, not the exact code found on a C64.

Inside the Code

The released program is 6,955 lines of 6502 assembly in a single file, m6502.asm. Copyrighted by Microsoft for 1976 to 1978 as Version 1.1, it was designed as an 8KB ROM interpreter with full floating point arithmetic, string handling, arrays, and garbage collection.

1. Floating point math

The routines for handling decimal numbers were a masterclass in optimization. Ported faithfully from the Altair, they let the 6502 perform complex calculations far beyond simple integer math.

2. The 10 PRINT maze

10 PRINT CHR$(205.5+RND(1)); : GOTO 10

This famous one-liner generates an infinite, random maze pattern. It exploits the character set and the random number generator to create generative art in just a single line.

3. Two easter eggs

The featured one is the hidden MICROSOFT signature, surfaced on some systems by typing WAIT 6502,1. Early code also carried the original hyphenated "Micro-Soft" branding.

The source itself holds a second, quieter joke that the Microsoft Open Source blog highlighted in 2025: the near identical labels STORDO and STORD0, the letter O sitting beside the digit 0.

A footnote for the curious: the GitHub commit is dated July 27, 1978, long before Git existed, because the date was deliberately set to match the historical file.

Now Open Source

On September 3, 2025, Microsoft published this code on GitHub under the permissive MIT license, announced on the Microsoft Open Source blog. For decades only fragments and unofficial copies had circulated, mirrored on retrocomputing sites and kept in museum archives. This was the first official release.

Version 1.1 carries a small surprise. In one sense it is older than copies that had circulated for years, yet it already contains a garbage collector fix that Commodore identified and that was jointly implemented in 1978 by a Commodore engineer and Bill Gates. That fix shipped as the PET's BASIC V2.

Preservationists have since confirmed that the historical source can still produce byte exact builds. The release also fits a pattern: Microsoft open sourced MS-DOS 4.0 in 2024, and this follows GW-BASIC, which descended from the same lineage and later evolved into QBASIC and Visual Basic.

The source code and the announcement are gathered with the other materials in the Archive, so you can read the primaries for yourself.

Try It

The console runs the genuine Microsoft BASIC interpreter, the same 6502 code, assembled from the open source release and executed in your browser. Type a program and press Enter. Try PRINT 2+2, or type the maze one-liner 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 then RUN and watch the real thing draw it. Escape breaks a running program.

MAZE.BAS
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
BASIC CONSOLElive interpreter · Esc breaks

Legacy

It was not just an operating environment. It was an invitation.

A single, widely licensed interpreter introduced millions of people to programming. Commodore licensed the 6502 port for a flat fee of $25,000, a deal that put Microsoft software in front of a generation of new programmers and helped establish software licensing as a viable business in its own right.

Modern computers hide their complexity behind graphical interfaces. The 6502 machines booted directly into a programming language. They sat there, blinking patiently, waiting for you to tell them what to do. That simple READY. prompt taught a generation that computers were machines to be commanded, not just appliances to be consumed.

About

READY. is a museum exhibit about one small piece of software with an outsized legacy: Microsoft BASIC for the MOS 6502.

When the 6502 brought the price of a processor within reach of ordinary households, it was Microsoft BASIC that gave those machines a voice. It sat behind the startup banner on the Commodore PET, the VIC-20, and the Commodore 64, and the same lineage, licensed to Apple, became Applesoft BASIC on the Apple II. For millions of people, the blinking cursor after the word READY. was the first invitation a computer ever offered them. Type a line, press return, and the machine did exactly what you asked.

This exhibit exists to keep that history accessible, accurate, and easy to explore. We tell the story of how the software came to be, profile the machines it powered, look inside the code, and offer a few interactive demos so the experience feels less like reading a plaque and more like sitting down at the keyboard.

READY. is published by the Retro Software Foundation, a nonprofit dedicated to preserving and celebrating the software that shaped early personal computing.

SUPPORT.TXT

If you enjoyed this exhibit and learned something, you can help keep it online and growing. READY. is run by the nonprofit Retro Software Foundation, and small donations cover the work of preserving software like this and making it easy to explore.

Support the Retro Software Foundation. No pressure, only thanks.

READY. is an independent museum exhibit produced by the Retro Software Foundation. It is not affiliated with, endorsed by, or sponsored by Microsoft, Commodore, or Apple. Product names, including Microsoft BASIC, Commodore BASIC, Applesoft BASIC, and the names of the computers mentioned, are used for historical and descriptive purposes only, and all trademarks remain the property of their respective owners.

Historical details on this site have been researched for accuracy. If you spot an error or can contribute to the archive, the Retro Software Foundation would welcome your note.

Published by The Retro Software Foundation.

Archive

Every source below sits at the same level. The groups are for convenience, not a ranking.