Sponsored by Dragon Age: Origins
Follow the Dragon Age: Origins development team on Twitter view!
twitter.com/DragonAge - EA presents BioWare's new dark fantasy epic Dragon Age: Origins. '9/10' from Game Informer.
123 Comments
- trghpy, on 10/12/2007, -1/+148FDisk.c
/* P.S. - To whoever winds up maintaining this, I will */
/* apoligize in advance. I had just learned 'C' when */
/* writing this, so out of ignorance of the finer points*/
/* of the langauge I did a lot of things by brute force.*/
/* Hope this doesn't mess you up too much - MT 5/20/86 */ - goatrandy, on 10/12/2007, -0/+58Heres a mirror of the original zip file that Google ripped it out of (coralized to prevent DiggDeath):
http://www.nurs.or.jp.nyud.net:8080/~nnn/MS-DOS.6.0.Source.Code.zip - readme, on 10/12/2007, -0/+40That's an awesome find. I would have killed to have that code 12 years ago.
- Niek, on 10/12/2007, -0/+40There's some nice cursing in the code:
; *****' sixteen-bit machine ought
; to be able to handle a SIXTEEN-BIT
; DISPLACEMENT!!
; I have to use DOS call int 21h/5f02h because DOS call int 21h/4409h
; is not reliable under DOS versions 4.00 and 4.01. (IBM *****-up).
; BIOS is ***** with us - give up
; Is this a Set PSP call (50h) ?
; Yes, jmp directly to function
else
; ***** jump out of range by *two* bytes!
* The path can be in about a million ***** up forms depending on the level of stupidity in the user.
; Enable interrupts at the start of
; the dispatch code. Otherwise interrupts
; remain disabled through a whole
; ***** of code which is not good.
; Now we've got to copy all of that ***** into the cache
; *****! read error. Better invalidate block & bomb!
; *****! Fatal error on write-behind! Ask user what to do with
; sleazy popup.
; End of WIN386 2.xx compatibility ***** - adam123, on 10/12/2007, -1/+39*wonders when TitleSaysItAll will come in with his lawyers*
- inactive, on 10/12/2007, -1/+38It's, um MS-DOS? Microsoft Disk Operating System
- inactive, on 10/12/2007, -3/+34"Kudos to them for writing almost everything in Assembly. Hard-to-read and totally non-portable, but efficient."
Like anyone thought a low-leved operating system like DOS was written in C. You wizard. - cplusplus, on 10/12/2007, -4/+34There are "copyrite.txt" because the crazy OS couldn't handle "copyright.txt"
- nixfu, on 10/12/2007, -0/+29;
; Microsoft Confidential
; Copyright (C) of The Regents of the University of California.
; All Rights Reserved. - Otto, on 10/12/2007, -0/+27Ugh. In cmd/fdisk/profile.h:
#define BEGIN {
#define END }
Whoever wrote that, well, I kinda want to hit that guy with a golf club. - Ionizer, on 10/12/2007, -12/+36Well, I said "Story Title says it all". There isn't a story to tell here, otherwise I would have summed it up.
- titlesaysitall, on 10/12/2007, -3/+26Sorry I came late, last poster I had to deal with was quite the trouble.
On to the current matter. As you know I am VERY enraged that you would go as far as using copyrighted material (my name) in your description! This gets me VERY angry. Anywho, @ Ionizer you will hear from my lawyers in a couple of days, your pet fish will die your refrigerator will explode and your car will burst into flames for the evil deed you have done.
That is all. - hackwrench, on 10/12/2007, -1/+24This is leaked code that Microsoft never meant to be released to the public.
- Deusiah, on 10/12/2007, -5/+27@ kris33
You really should not be allowed on a computer. - inactive, on 10/12/2007, -5/+26Well spotted!!! I wonder which bit is original 'Gates' code from when he still hacked.
- burkay, on 10/12/2007, -0/+20Now, I am waiting for MSN Search to accidentally reveal the first google search algorithms :)
- TheZorch, on 10/12/2007, -0/+19"How long until someone takes this code and releases an updated, faster, better version of DOS?"
Uh, FreeDOS? - nickj6282, on 10/12/2007, -18/+32That's ok Jadinlee, I bury all stories with "title says it all" or something similar for the description. Coming up with two sentences to describe a story is NOT HARD!
It appears that at least some of the source code for MS DOS 6.0 is searchable on Google Code. It's unknown whether or not Microsoft intended for some of it's proprietary code to appear on Google's site, nor how long it will last there.
See, not hard. - 256byteram, on 10/12/2007, -0/+16Gates wrote nothing. Microsoft bought QDOS (Quick and Dirty DOS) and the company that wrote it, Seattle Computer Products. They cleaned it up a little and licensed it to IBM for the PC, which they called PC-DOS.
When IBM did a code audit they found some 300 bugs, which is why PC-DOS is copyrighted by IBM and Microsoft. Microsoft also sold MS-DOS to clone PC manufacturers which annoyed IBM but they couldn't stop it.
QDOS was a clone of CP/M, a much better OS IMO.
The reason why CP/M didn't take off on the PC, though it was the most popular 8-bit OS for the 8080 and Z80 CPU's, is this. When IBM went to Digital Research and Gary Kildall for an OS for their top-secret project, the PC, they refused to sign the non-disclosure agreement, saying that the meeting had never taken place. IBM went to Microsoft and Bill Gates, who jumped on it. They immediately bought out the closest thing they could get on the market and spiced it up a little, then licensed it to IBM. Digital Research didn't want to sue Microsoft because it would involve taking on IBM.
Eventually Digital Research and Microsoft came to an agreement, they would let the market decide. They didn't tell each other how much they would sell the products for, however. PC-DOS sold for $40, CP/M-86 sold for $120, which is probably fair considering the quality of the software. Naturally everyone went for PC-DOS and Digital Research was eventually pushed out of the market.
As far as I can tell, the only thing Bill Gates wrote from scratch was Microsoft BASIC, which was quite a good product, considering. It was used on just about every home computer of the early 80's, including the Apple ][ and Commodore computers. - weirdbro, on 10/12/2007, -1/+16Based of QDOS, the Quick and Dirty Operating System.
- mystagogue, on 10/12/2007, -3/+17"Like anyone thought a low-leved operating system like DOS was written in C."
UNIX? - VinceNoir, on 10/12/2007, -6/+20Unlike the others I'll attempt to give you a civil, non-snotty response. Some people used to use this operating system on their PC called MS-DOS. It wasn't the only OS, but Microsoft made people think it was. Not only that, but they inked a deal with IBM to make MS-DOS the defacto standard OS of their new IBM PC product before they even had ANY OS to give IBM. In other words, they conned IBM. Then they ripped off this other guy (Paid him $50,000 I believe) who wrote an OS called QDOS (Quick and Dirty DOS) and then did a lot of search and replace to make it seem like they wrote the OS. SO QDOS became MS-DOS. Oh yeah, and they threw some of their own code into the bundle but it was mostly crap. That was the beginning of the constant cycle of promising something that doesn't exist and then shifting the target date. Pretty much their standard practice even today.
But I can understand why someone firmly rooted in the 21st century wouldn't know abot all of this. I just happen to have an interest in archaic, backwaters technologies mostly for novelty value. When I want something that actually works I turn to the tried and true Unix and Unix-like OSes. They might be older than MS OSes, but they were also thought out more thoroughly. Those of us who prefer to have more features along with stability and robustness and who don't have my interest in trivial history wouldn't know much about MS-DOS. Hopefully that explains things in a way that isn't insulting to you. - techgnostic, on 10/12/2007, -4/+17@NickyBatt - You just placed your year of birth as being between 1985 and 1990. http://en.wikipedia.org/wiki/MSDOS
- isemism, on 10/12/2007, -3/+15copyri~1.txt
- academician, on 10/12/2007, -0/+13dev/smartdrv/rtywrt.asm:
; *****! Fatal error on write-behind! Ask user what to do with
; sleazy popup.
handle_fatal_write_error:
mov al,wrt_unmapped_unit ; get drive code
call warning_pop_up - trylleklovn, on 10/12/2007, -1/+13Vista killer! ZOMG
- shibz, on 10/12/2007, -1/+13 * Function will add the szSetupPath to the users path statement in the
* autoexec.bat file. The szSetupPath will be the first location in the
* path statement. The path can be in about a million ***** up forms
* depending on the level of stupidity in the user. Here are a few to
* think about. DOS will accept any of these.
*
* PATH=C:foo;C:foobar;...
* SET PATH=C:foo;C:foobar;...
* PATH C:foo;C:foobar;...
* PATH =C:foo;C:foobar;...
* PATH= C:foo;C:foobar;...
* PATH = C:foo;C:foobar;... - interiot, on 10/12/2007, -4/+161) Possibly new security holes. Some of these may still exist in current code as well.
2) New "hidden features". cmd.exe gurus already use things like a colon followed by a space as a shortcut for "rem". This relys on unintended behavior in Microsoft's code, and it's likely there will be more of these found now.
3) It's always good to be able to point and laugh at a well-known company's code (eg. haha, there's cursewords in the comments, or haha, that's a silly bug, or whatnot) - rft3rd, on 10/12/2007, -3/+12Kinghajj: How long until someone takes this code and releases an updated, faster, better version of DOS?
Been there done that: Windows 95 -98 ;-) - amcluesent, on 10/12/2007, -4/+13if (strcmp((PROGHDR *)hdrblock->name, "Lotus 1-2-3")) == 0)
crash_stop("Invalid programme.") - Schpariel, on 10/12/2007, -0/+9
FC.C :
/*
WARNING:
This program makes use of GOTO's and hence is not as straightforward
as it could be! CAVEAT PROGRAMMER.
****************************************************************************/
--- - Confuzed, on 10/12/2007, -3/+11They have taken it down from the original website
- neozeed, on 10/12/2007, -0/+8nothing like some good old pascal crutches...
- avwuffy, on 10/12/2007, -1/+9That's not Microsoft Money, that's just an example money management application to demonstrate QBasic.
- eradicator, on 10/12/2007, -6/+14Don't give MS too much credit. They bought the code for $50k:
http://en.wikipedia.org/wiki/MS_DOS#History
Microsoft's first big screw job... - OrangeTide, on 10/12/2007, -0/+8FreeDOS is mostly written in C.
"How long until someone takes this code and releases an updated, faster, better version of DOS?"
never. you can't make DOS better unless you throw away the entire design first. FreeDOS is better and updated, but it is not smaller or faster. - rekcah2600, on 10/12/2007, -2/+88.3
- aprigliano, on 10/12/2007, -0/+6@kinghajj
I immediately thought the same thing. BUT...
We can see DOS 6.0 here and compile it and change it and make it better, but we have absolutely no rights to it. It would be better to support, with your time, FreeDOS or some other program. - Ghozt64, on 10/12/2007, -1/+7http://rapidshare.de/files/36377602/MS-DOS.6.0.Source.Code.zip.html
- shibz, on 10/12/2007, -1/+5rofl source code is usually much larger than the binaries!
- burkay, on 10/12/2007, -0/+6yep, that is priceless.
Thank God, he stopped there.
just imagine what could follow:
#define COMMA ,
#define SEMICOLUMN ;
#define PLUSSIGN +
.
.
. - cubbieco, on 10/12/2007, -1/+7Yeah right. The dosbox team wouldn't touch this with a ten meter cattle prod.
You can't use somebody else's source for your own project. You know the whole copyright law thingie.
Just because it can be found on the internet doesn't mean its legal.
Unless you're being sarcastic. Sometimes a /sarcasm tag helps. - ProfChaosOmega, on 10/12/2007, -0/+6google code search is coming in very handy
- daonlyfreez, on 10/12/2007, -0/+6Now this is Google doing no evil by coincidence.
- inactive, on 10/12/2007, -2/+8UNIX a low-level OS comparable to MS-DOS? You wizard!
- uownedge, on 10/12/2007, -0/+5Ditto :) I have the original 5 1/4" floppy version, as well as 3.5" version. The good old days. :)
- kinghajj, on 10/12/2007, -11/+16Hey, they weren't idiots after all. Who'd have thought?
Kudos to them for writing almost everything in Assembly. Hard-to-read and totally non-portable, but efficient.
How long until someone takes this code and releases an updated, faster, better version of DOS? - LavaHot, on 10/12/2007, -1/+6where'd it go?
- Jugalator, on 10/12/2007, -1/+6I thought it could perhaps have been 5.0 too in this case, mislabeled, but found this in a readme.txt:
"From: BenS
Subj: New commands for MS-DOS 6, lifted from SYSTOOLS!" - Hindu_Wardrobe, on 10/12/2007, -1/+6I would mirror it, but I dunno, one cease and desist letter from Microsoft is one too many, I think.
(I got busted for hosting the FairUse4WM file, whoops!)
If anyone can persuade me to host it, then I will. -
Show 51 - 100 of 123 discussions



What is Digg?