Now Reading: Bill Gates’ early BASIC code for MOS 6502 released as open source

Loading
svg

Bill Gates’ early BASIC code for MOS 6502 released as open source

NewsSeptember 5, 2025Artifice Prime
svg13

Microsoft has released the source code for the BASIC version it developed in 1976 for the MOS 6502 processor, a central component of many early home computers, The Register reports.

As far back as 1975, Bill Gates and Paul Allen developed Microsoft’s first product: BASIC for the Altair 8800 with the Intel 8080 processor. The following year, Gates and Ric Weiland ported the language to MOS 6502. In 1977, Commodore licensed the code for $25,000 and used it in its PET, VIC-20, and Commodore 64 computers. Millions of copies of these computers were sold, helping to popularize the home computer.

The now-published version 1.1 of the code consists of 6,955 lines of assembler and is available on GitHub under an MIT license. It contains a full BASIC implementation with support for floating-point arithmetic, string and array handling, math functions, input and output, and efficient memory usage for 8-bit systems.

The code also supports several classic computers, including the Apple II, Commodore PET, Ohio Scientific, and MOS KIM-1. “It even contains a playful Bill Gates Easter egg, hidden in the labels STORDO and STORD0,” according to a Microsoft blog post.

Original Link:https://www.computerworld.com/article/4051500/bill-gates-early-basic-code-for-6502-released-as-open-source.html
Originally Posted: Thu, 04 Sep 2025 09:35:00 +0000

0 People voted this article. 0 Upvotes - 0 Downvotes.

Artifice Prime

Atifice Prime is an AI enthusiast with over 25 years of experience as a Linux Sys Admin. They have an interest in Artificial Intelligence, its use as a tool to further humankind, as well as its impact on society.

svg
svg

What do you think?

It is nice to know your opinion. Leave a comment.

Leave a reply

Loading
svg To Top
  • 1

    Bill Gates’ early BASIC code for MOS 6502 released as open source

Quick Navigation