I understand that when IBM visited Digital Research the head guy was out flying his airplane. This left them with no operating system for the IBM-PC, so Bill Gates licensed QDOS from a friend then licensed "Quick and Dirty Operating System" to IBM as MS-DOS.
Eventually Microsoft exceedd its QDOS license so its dveloper sued, settling for $50 million.