Altair Basic Interpreter Source Code (1975) [pdf]

(images.gatesnotes.com)

36 points | by Eridanus2 3 hours ago

5 comments

  • davidfekke 1 hour ago
    Here is the 6502 assembly source code for Microsoft Basic:

    https://github.com/microsoft/BASIC-M6502

  • piker 2 hours ago
    These two guys* were crazy productive in the 2 months they worked. Just the level of commenting shows how much thought they were able to give it during that span.

    * plus the math package guy

    • jll29 1 hour ago
      Does the code work?

      I.e., has anyone OCR'd the listing and fed it into an emulator yet?

  • thrownawaysz 2 hours ago
    "FILE WILL BE DELETED AFTER PRINTING"

    hah I've never seen that before but reminds me to roguelike games.

    "permadeath coding" would be actually fun. IF compiler error THEN erase code repository or something like this

    • teddyh 1 hour ago
      Kent Beck called this “test && commit || revert” in 2018, and credits Oddmund Strømme for the idea: <https://medium.com/@kentbeck_7670/test-commit-revert-870bbd7...>
    • WillAdams 1 hour ago
      Or, just buy the source for a dollar and bury it:

      https://www.folklore.org/MacBasic.html

    • bitwize 1 hour ago
      The source code (and original assets) to many video games from as late as the 90s has been lost. The publishing company often deleted it after the game shipped, thinking it just took up space. This is one reason why, for example, there hasn't been a substantive remaster of Final Fantasy VII.

      Also, it sounds like you described Vigil: https://github.com/munificent/vigil

      • reaperducer 36 minutes ago
        The publishing company often deleted it after the game shipped, thinking it just took up space.

        Floppy disks were not cheap, expensive, easy to get, or reliable. It sucked.

        Even on the U.S. east coast, I remember having to travel over an hour to get to the nearest store that sold floppy disks. Each BASF FlexyDisk cost $18 in 2026 money. So $50 if you wanted redundant long-term storage of one program.

        That's why we printed everything out all the time; especially for archive storage.

        …which also turned out to be a bad idea. Just in a different way.

  • joebig 1 hour ago
    And all of it within ~4 Kbytes too!
  • ChrisArchitect 1 hour ago
    Associated blog post from 2025:

    Celebrate 50 years of Microsoft with the company's original Source code

    https://www.gatesnotes.com/microsoft-original-source-code

    (Discussion: https://news.ycombinator.com/item?id=43575884)

    • joebig 1 hour ago
      Gates plays the long game. The man dodged multiple requests over decades to publish this og code that launched MS as a company (pretended he had misplaced the same or forgot to reply or something): only to perfectly time it for a jubilee release.