The story of the competition between MS-DOS and DR-DOS is quite interesting. Microsoft specifically tweaked Windows' code so it wouldn't run on DR-DOS, even if there were no technical limitations for it.
There was a millionaire lawsuit and Microsoft settled out of court.