Skip to Main Content
PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

The Rise of DOS: How Microsoft Got the IBM PC OS Contract

The reason Microsoft became so big comes down to the best deal ever made in the history of computing, between the fledgling software company co-founded by Bill Gates and the behemoth hardware giant IBM.

August 12, 2021
(Photo: Joe McNally/Getty Images)

Perhaps the most controversial aspect of the original IBM PC is how Microsoft ended up with the contract for the operating system. This would eventually make Microsoft's MS-DOS the standard and set the stage for Microsoft to become the world's leading PC software company.

As usual, there are lots of conflicting reports about the details that made this happen. But it mostly seems to be a case of Bill Gates and his company seeing the right opportunity at the right time and then executing well on the concept.

In the early PC market, Microsoft had established itself as the largest producer of computer programming languages, notably with an interpreted version of the BASIC language that had become the default standard on just about every major PC to date. Meanwhile, Digital Research Inc. (DRI) had become the leading operating system vendor with its CP/M (Control Program for Microcomputers) operating system. It was designed for the Intel 8080 processor (and later used on the Zilog Z80) and used on machines such as the Osborne 1, Kaypro II, and even the Apple II, using a Z80 "Softcard" from Microsoft.

In July 1980, before the IBM PC business unit known as "Project Chess" was formally approved, IBM sent a team led by Jack Sams, who would become the director of software development, to meet with Microsoft to discuss the PC market. The talks seem to have been in general terms, with IBM not disclosing many details of the actual PC.

After the project was approved on Aug. 21, 1980, Sams and his colleagues went back to Microsoft and discussed licensing Microsoft's languages for the IBM PC, including BASIC but also COBOL, FORTRAN, and Pascal. Microsoft had already been working on 8086-based languages for other companies, so it seemed a logical fit.


Conflicting Stories

side by side covers of Hard Drive: Bill Gates and the Making of the Microsoft Empire and Fire in the Valley: The Making of The Personal Computer by Paul Freiberger and Michael Swain

In just about every account of the meeting, IBM asked Microsoft about operating systems, and Bill Gates referred IBM to Digital Research, even getting DRI founder Gary Kildall on the phone to arrange a meeting for the following day.

There are many somewhat conflicting stories about what happened when IBM went to meet with DRI. Gates is quoted in Fire in the Valley: The Making of The Personal Computer by Paul Freiberger and Michael Swain as saying "Gary was out flying" that day, but Kildall always denied the implication, telling the authors of Hard Drive: Bill Gates and the Making of the Microsoft Empire that he had flown on a business trip to the Bay Area.

IBM and its lawyers met with Kildall's wife, Dorothy McEwen, and presented DRI with a one-sided non-disclosure agreement, which the company refused to sign. Later, Sams would say in Hard Drive that IBM couldn't get Kildall to agree to spend the money to develop a 16-bit version of CP/M in the tight schedule IBM required. Whatever the reason, it's clear that IBM left Digital Research without coming to an agreement on an operating system.

IBM communicated its problem to Microsoft later that month, and Microsoft's Gates, Paul Allen, and Kay Nishi apparently debated what to do about the program. Allen knew of an alternative: Tim Paterson of Seattle Computer Products (SCP) had earlier built an 8086-based prototype computer, and while he was waiting for CP/M to be ported to the 8086, he created a rough 16-bit operating system for it. Paterson called it QDOS for Quick and Dirty Operating System, and according to Allen, it all fit within 6K. (It would later be renamed 86-DOS, and sometimes referred to as SCP-DOS.)

By most accounts, Nishi was the one most strongly in favor of Microsoft getting into the operating system world. Allen said in his autobiography Idea Man that Gates was less enthusiastic. Allen called Seattle Computer Products owner Rod Brock and licensed QDOS for $10,000 plus a royalty of $15,000 for every company that licensed the software.

In Big Blues: The Unmaking of IBM, Sams is quoted as saying Gates told him about QDOS and offered it to IBM. "The question was: Do you want to buy it or do you want me to buy it?" Sams said. Since IBM had already had decided to go with an open architecture, the company wanted Microsoft to purchase QDOS. Besides, Sams said, "If we'd bought the software, we'd have just screwed it up."

Gates, Steve Ballmer, and Microsoft's Bob O'Rear met with IBM in Boca Raton and agreed that Microsoft would coordinate the software development process for the PC. According to Allen, under the contract signed that November, IBM agreed to pay Microsoft a total of $430,000, including $45,000 for what would end up being called DOS, $310,000 for the various 16-bit languages, and $75,000 for "adaptions, testing and consultation."

What's notable about this is that IBM apparently was expecting Microsoft to ask for more money upfront or at least for a per-copy royalty. Instead, Microsoft wanted the ability to sell DOS to other companies. Indeed, they would soon realize that under the name MS-DOS, the new operating system would be crucial to the success of Microsoft. In May 1981, Paterson left SCP and joined Microsoft. On July 27, 1981, Allen and Brock signed a contract selling DOS to Microsoft for $50,000 plus favorable terms on upgrades of the languages.

According to Big Blues, Don Estridge, who headed the IBM PC project, said one reason the company went to Microsoft in the first place was that Microsoft's BASIC had hundreds of thousands of users, while IBM's BASIC, while excellent, had few users. According to Fire in the Valley, he also reportedly told Gates that when IBM CEO John Opel heard Microsoft would get the contract, he said "Oh, is that Mary Gates' boy's company?" Opel and Bill Gates' mother served together on the national board of the United Way.

Portrait of American computer scientist Gary Kildall (1942 - 1994) (center), president of Digital Research, Inc., as he attends the first West Coast Computer Faire in Brooks Hall, San Francisco, California, April 16th or 17th, 1977 v(Photo by Tom Munnecke/Getty Images)
Gary Kildall in 1977 (Photo by Tom Munnecke/Getty Images)

Still, the controversy over DOS and CP/M continued. For years, Kildall and DRI would claim that Paterson's QDOS just copied CP/M. (Back then, software could not be patented, though it could be copyrighted.) In Big Blues, Kildall was adamant that a lot of QDOS was stolen: "Ask Bill [Gates] why function code 6 [in QDOS and later in MS-DOS] ends in a dollar sign. No one in the world knows that but me."

But Tim Paterson always denies it. He told the authors of Hard Drive, "At the time, I told [Kildall] I didn't copy anything. I just took his printed documentation and did something that did the same thing. That's not by any stretch violating any kind of intellectual property laws. Making the recipe in the book does not violate the copyright on the recipe."

Paterson said his goal was to make it as easy as possible for software developers to port their 8080 programs to the new OS, so he used Intel's manual for translating 8080 instructions into 8086 ones. He then got Digital's CP/M manual, and for each function, he wrote a corresponding 8086 function.

"Once you translated these programs, my operating system would take the CP/M function after translation and it would respond in the same way," said Paterson. "To do this did not require ever having CP/M. It only required taking Digital's manual and writing my operating system. That's exactly what I did. I never looked at Kildall's code, just his manual."

Big Blues said Kildall considered suing IBM and Microsoft over DOS, but IBM mollified the company by offering to make the 16-bit version of CP/M also available on the PC. Indeed, when it came out, the IBM PC could run three operating systems: DOS, CP/M, and the UCSD P-system. But CP/M was priced at $240 versus $40 for DOS (likely because of the non-royalty terms of the Microsoft contract), and it was clear that IBM was intent on pushing DOS.

Thanks to the non-exclusive agreement, Microsoft then had the rights to sell DOS for other machines—and that, in turn, set the stage for Microsoft to dominate the PC operating system industry for decades.

For more, check out PCMag's full coverage of the 40th anniversary of the IBM PC:

Get Our Best Stories!

Sign up for What's New Now to get our top stories delivered to your inbox every morning.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.


Thanks for signing up!

Your subscription has been confirmed. Keep an eye on your inbox!

Sign up for other newsletters

TRENDING

About Michael J. Miller

Former Editor in Chief

Michael J. Miller is chief information officer at Ziff Brothers Investments, a private investment firm. From 1991 to 2005, Miller was editor-in-chief of PC Magazine,responsible for the editorial direction, quality, and presentation of the world's largest computer publication. No investment advice is offered in this column. All duties are disclaimed. Miller works separately for a private investment firm which may at any time invest in companies whose products are discussed, and no disclosure of securities transactions will be made.

Read Michael J.'s full bio

Read the latest from Michael J. Miller