Credit should be given to Digital Equipment Corporation. Back then software isn't what companies made money on, it is hardware. Source code wasn't protected as it is today, and you could find print outs in the dumpster [1]. Bill Gates and Paul Allen found the source code of DEC Basic [2] and ported it. (Wikipedia says Microsoft Basic was "inspired by" DEC's PDP-10 BASIC-PLUS.)
> Gates said: "I'd skip out on athletics and go down to this computer center. We were moving ahead very rapidly: Basic, FORTRAN, LISP, PDP-10 machine language, digging out the operating system listings from the trash and studying those."
Is there more context clarifying this means they studied the source code of DEC Basic?
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.
I always thought that the floating point routines were the big feature that made Microsoft BASIC a thing (compared with both Radio Shack and Apple integer BASIC). It's interesting reading about Monte Davidoff and also that Gates knew they needed a specialist for this.
Me too. The 4K basic was quite limited in other functionalities (in order to fit into the memory). But that floating point module made it very competitive, although also made the execution slower. IMO Monte Davidoff is underappreciated.
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.
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.
I'd guess that any of these media is sketchy for long-term archival storage.
I've got probably 30 5.25 floppies in my house, and I have a 5.25 drive and an old motherboard that can probably recognize that drive, and I've got the cables to connect the drive to the motherboad (and power supply). I'd guess that there's maybe a 20% chance that, if I spent a week trying to mash it all together I'd be able to get some data off of some of these floppies.
On other magnetic media the chances are between "haha, no" (oh, you've got an old 8 inch 10mb Bernoulli disk?) to 5% (oh, a QIC150 tape).
On the other hand, if I found a stack of moldy greenbar printout of some data, I'd say that most of the data can likely be recovered, and likely for not a tremendous amount of money.
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.
Credit should be given to Digital Equipment Corporation. Back then software isn't what companies made money on, it is hardware. Source code wasn't protected as it is today, and you could find print outs in the dumpster [1]. Bill Gates and Paul Allen found the source code of DEC Basic [2] and ported it. (Wikipedia says Microsoft Basic was "inspired by" DEC's PDP-10 BASIC-PLUS.)
[1] https://www.businessinsider.com/10-things-you-didnt-know-abo...
[2] https://www.theregister.com/software/2000/06/29/bill-gates-r...
From [2]:
> Gates said: "I'd skip out on athletics and go down to this computer center. We were moving ahead very rapidly: Basic, FORTRAN, LISP, PDP-10 machine language, digging out the operating system listings from the trash and studying those."
Is there more context clarifying this means they studied the source code of DEC Basic?
Here is the 6502 assembly source code for Microsoft Basic:
https://github.com/microsoft/BASIC-M6502
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
I always thought that the floating point routines were the big feature that made Microsoft BASIC a thing (compared with both Radio Shack and Apple integer BASIC). It's interesting reading about Monte Davidoff and also that Gates knew they needed a specialist for this.
https://en.wikipedia.org/wiki/Monte_Davidoff
Me too. The 4K basic was quite limited in other functionalities (in order to fit into the memory). But that floating point module made it very competitive, although also made the execution slower. IMO Monte Davidoff is underappreciated.
Does the code work?
I.e., has anyone OCR'd the listing and fed it into an emulator yet?
"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
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...>
Or, just buy the source for a dollar and bury it:
https://www.folklore.org/MacBasic.html
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
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.
I'd guess that any of these media is sketchy for long-term archival storage.
I've got probably 30 5.25 floppies in my house, and I have a 5.25 drive and an old motherboard that can probably recognize that drive, and I've got the cables to connect the drive to the motherboad (and power supply). I'd guess that there's maybe a 20% chance that, if I spent a week trying to mash it all together I'd be able to get some data off of some of these floppies.
On other magnetic media the chances are between "haha, no" (oh, you've got an old 8 inch 10mb Bernoulli disk?) to 5% (oh, a QIC150 tape).
On the other hand, if I found a stack of moldy greenbar printout of some data, I'd say that most of the data can likely be recovered, and likely for not a tremendous amount of money.
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)
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.
I wonder were most of the comments added later? I guess they used pen and paper to write the ASM code and then enter it as machine code.
And all of it within ~4 Kbytes too!
And the PDF is about 100MB.