Omnimaga

General Discussion => Technology and Development => Computer Programming => Topic started by: josh landers on April 10, 2014, 01:13:58 pm

Title: MS-DOS source is officially released
Post by: josh landers on April 10, 2014, 01:13:58 pm
Yes you read that right! They released it last moth on the computer history museum site, along with word for dos text editor software. You can compile and build this OS but can not release it for commercial use, this was done as a "starting" point for upcoming programmers to learn how personal computers are made. Lots of funny readmes by microsoft employees!


PRINT
        The infamous background file  printing  utility  which
        fools you  into  thinking  MS-DOS  can do something it
        really can't.
               - from a readme in MS-DOS 2.0


Programed in ASM.
Title: Re: MS-DOS source is officially released
Post by: aeTIos on April 10, 2014, 01:15:44 pm
Hehe, that's cool.
Title: Re: MS-DOS source is officially released
Post by: Keoni29 on April 10, 2014, 01:16:26 pm
Sweet! Now everyone can make a dos-based operating system. Of course x86 asm is not for everyone. I am having a hard time understanding it myself.
Title: Re: MS-DOS source is officially released
Post by: TheCoder1998 on April 10, 2014, 02:28:30 pm
that's actually pretty cool :D
Title: Re: MS-DOS source is officially released
Post by: Juju on April 10, 2014, 03:02:43 pm
Yep that's very cool for those who want to study and mess with x86 asm.
Title: Re: MS-DOS source is officially released
Post by: DJ Omnimaga on April 10, 2014, 03:03:06 pm
That is awesome. I have to wonder if anybody will actually make a new OS entirely based on DOS?
Title: Re: MS-DOS source is officially released
Post by: JamesV on April 10, 2014, 11:53:10 pm
This is cool! I might have to dust off my limited x86 knowledge and see if I can understand it!
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 11, 2014, 12:55:47 am
Isn't DOS 16 bit x86 though ?
Title: Re: MS-DOS source is officially released
Post by: TIfanx1999 on April 11, 2014, 08:19:36 am
This is really cool. Someone could indeed make a new GUI for DOS, or a new OS based on it. In regards to DOS being 16 bit, I think it might've made a 32 bit released before it was discontinued. The x86 architecture is backwards compatible anyways IIRC. In fact, you can actually upgrade windows from a very early version to windows 8 even on modern machines.
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 11, 2014, 10:18:17 am
Yes I know that's possible. I don't know if modern PCs support 16 bits, but I know 16, 32 and 64 bits are separate modes in the CPU.
Title: Re: MS-DOS source is officially released
Post by: TIfanx1999 on April 11, 2014, 10:40:34 am
If an old version of Windows that is 16 bits works on a current generation machine (which I've seen in a Youtube vid) this would suggest that modern PC's do indeed support 16 bit mode.
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 11, 2014, 11:36:55 am
I guess so.
Title: Re: MS-DOS source is officially released
Post by: Sorunome on April 11, 2014, 12:05:14 pm
This is pretty awesome, but that is a lot of assembly O.O
Title: Re: MS-DOS source is officially released
Post by: Keoni29 on April 11, 2014, 05:37:18 pm
Judging from the terms you may not distribute ms dos nor derivative works, so if you make a gui for it it will be only for you to use.
Title: Re: MS-DOS source is officially released
Post by: ben_g on April 11, 2014, 06:06:00 pm
Judging from the terms you may not distribute ms dos nor derivative works, so if you make a gui for it it will be only for you to use.
Well, you could make it into a patch, then you are free to distribute it.
This can even be done in an installer that automatically downloads DOS and applies the patch.
Title: Re: MS-DOS source is officially released
Post by: willrandship on April 12, 2014, 12:40:11 am
FYI all x86 CPUs support the 16 bit mode. Nowadays the common way to implement it is through hardware emulation (read: it looks like normal operation but it's slower than 32 or 64 bit modes would be) by using microcode instructions. They basically have a CPU inside the CPU that executes bigger instructions as a series of smaller instructions. As such, they take several cycles to complete, but since modern CPUs are several hundred times faster than a 33 MHz machine, it shouldn't be an issue.
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 12, 2014, 03:12:28 am
Oh nice. If this micro code the thing that emulates CISC on a RISC too ?
Title: Re: MS-DOS source is officially released
Post by: josh landers on April 14, 2014, 12:47:48 pm
Isn't DOS 16 bit x86 though ?
Yes but i think a person need only buy a 16 bit processer for it to work, or just ajust the code to be 32 bit.
Judging from the terms you may not distribute ms dos nor derivative works, so if you make a gui for it it will be only for you to use.
Also right,
Judging from the terms you may not distribute ms dos nor derivative works, so if you make a gui for it it will be only for you to use.
Well, you could make it into a patch, then you are free to distribute it.
This can even be done in an installer that automatically downloads DOS and applies the patch.

Incorrect, you can not do that. Its not TI-care.org, its MS-care.org... ;)





MICROSOFT RESEARCH LICENSE AGREEMENT | Microsoft DOS V1.1 and V2.0
 
These license terms are an agreement between Microsoft Corporation and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any.
By using the software, you accept these terms. If you do not accept them, do not use the software.
If you comply with these license terms, you have the rights below.
1. SOFTWARE USE RIGHTS.You may use, copy, compile, and create Derivative Works of the software, and run the software and Derivative Works on simulators or hardware solely for non-commercial research, experimentation, and educational purposes. Examples of non-commercial uses are teaching, academic research, public demonstrations, and personal experimentation. “Derivative Works” means modifications to the software, in source code or object code form, made by you pursuant to this agreement.

2. TERM. This agreement will continue indefinitely unless terminated as provided herein. Notwithstanding the foregoing, Microsoft may, in its sole discretion, terminate this agreement without cause upon thirty (30) days written notice. Upon termination, the licenses granted to you in this agreement will terminate as well.
3. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software, and you may use the software only as expressly permitted in this agreement. Microsoft reserves all other rights. You may not transfer the software or this agreement to any third party. If you create Derivative Works, you grant to Microsoft a non-exclusive, perpetual, irrevocable, royalty-free, assignable, sublicenseable license to reproduce, distribute, publicly display, modify, use, make, have made, import, and sell such Derivative Works.
4. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
5. ENTIRE AGREEMENT. This agreement is the entire agreement for the software.
6. APPLICABLE LAW. This Agreement is governed by and construed in accordance with the laws of the state of Washington, without reference to its choice of law principles to the contrary. Each party hereby consents to the jurisdiction and venue of the state and federal courts located in King County, Washington, with regard to any suit or claim arising under or by reason of this Agreement.
7. DISCLAIMER OF WARRANTY. The software is licensed “as-is.” You bear the risk of using it. Microsoft gives no express warranties, guarantees or conditions. Microsoft disclaims all implied warranties of merchantability, fitness for a particular purpose, and non-infringement.
[/size]8. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. [/color]You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages. This limitation applies to anything related to the software, including claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law. It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
[/size]  ::) sorry for the large post[/color]
[/size][/color]
Title: Re: MS-DOS source is officially released
Post by: TIfanx1999 on April 14, 2014, 03:03:05 pm
Wow, those are reallllllllllyyy old versions of DOS. Something newer would have been nice, but it's still super cool. :D
Title: Re: MS-DOS source is officially released
Post by: Keoni29 on April 14, 2014, 05:15:52 pm
Microsoft STILL distributes ms dos 6...
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 14, 2014, 07:53:24 pm
For free though isn't it ?
Title: Re: MS-DOS source is officially released
Post by: Keoni29 on April 14, 2014, 08:02:45 pm
They still distribute dos, but not windows xp :P
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 14, 2014, 08:11:36 pm
Talk about consistence. :P
Title: Re: MS-DOS source is officially released
Post by: Juju on April 15, 2014, 01:21:19 am
Yep, MS-DOS 6 is still in the MSDN store.
Title: Re: MS-DOS source is officially released
Post by: Keoni29 on April 15, 2014, 02:52:11 am
Hmmm I don't like this bit:
Quote
If you create Derivative Works, you grant to Microsoft a non-exclusive, perpetual, irrevocable, royalty-free, assignable, sublicenseable license to reproduce, distribute, publicly display, modify, use, make, have made, import, and sell such Derivative Works.
This licence doesn't encourage modifying the os to suit your own needs. If I wanted to make an operating system I'd use a linux kernel instead of modding ms dos.
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 15, 2014, 04:22:26 am
Indeed. It's Microsoft after all. But I don't know if they really care.
Title: Re: MS-DOS source is officially released
Post by: Juju on April 15, 2014, 04:34:08 am
Actually, seems they're encouraging usage of the code more for educational and research purposes, as in, a CS teacher might use it to teach assembly and/or how to make a basic operating system. They might even ask their students to e.g. add a custom command into command.com as an assignment.

Microsoft actually cares a lot about education.
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 15, 2014, 04:47:39 am
That is nice at least. But the rules are very restrictive for such an old piece of software few people care about.
Title: Re: MS-DOS source is officially released
Post by: SpiroH on April 15, 2014, 09:30:40 am
..
Microsoft actually cares a lot about education.
Cough, cough, watya mean? as a potential market? that, i might just agree otherwise i'd say they couldn't care less.

That is nice at least. But the rules are very restrictive for such an old piece of software few people care about. 8)
well, some oldie concepts last for centuries, as you well know... so, can we make any use of it? :P
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 15, 2014, 09:36:18 am
That is nice at least. But the rules are very restrictive for such an old piece of software few people care about. 8)
Why did you add the sunglasses ? :P
Also, that's true. But the way they put it sounds like "we released the source, you can take a look at it but if you change the smallest byte, it's ours". So there's no use for that. :/
Title: Re: MS-DOS source is officially released
Post by: josh landers on April 15, 2014, 12:50:28 pm
That is nice at least. But the rules are very restrictive for such an old piece of software few people care about. 8)
Why did you add the sunglasses ? :P
Also, that's true. But the way they put it sounds like "we released the source, you can take a look at it but if you change the smallest byte, it's ours". So there's no use for that. :/
Un-less they are trying to simply see what happens, when they release this. Such as looking at how many people download, how many post, and how many make something.
If I was to use this an make an OS, lets say for an old x86, then only I could use because no one wants a command prompt gui.
Take note that the source for 1.1, and the source for 2.0 is 60% smaller. They added a lot!
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 15, 2014, 12:52:15 pm
Humm, GUI and command prompt are actually opposite. :P
Title: Re: MS-DOS source is officially released
Post by: Lunar Fire on April 15, 2014, 05:27:08 pm
They still distribute dos, but not windows xp :P

They still do, for embedded systems only. The "user" version has been discontinued.
Title: Re: MS-DOS source is officially released
Post by: Juju on April 16, 2014, 02:34:50 am
Yeah, it's still pretty useful for single-application computers such as cash registers and such.
Title: Re: MS-DOS source is officially released
Post by: Lunar Fire on April 17, 2014, 12:42:48 am
Yeah, it's still pretty useful for single-application computers such as cash registers and such.

I have seen pictures of Chase ATMs still running Windows XP. The fact they put Windows on an ATM makes me much less secure about my money.
Title: Re: MS-DOS source is officially released
Post by: Juju on April 17, 2014, 01:13:56 am
Lately at the mall I saw an ad screen saying Flash 8 stopped working, with XP's default theme. I think they still didn't fixed it.
Title: Re: MS-DOS source is officially released
Post by: DJ Omnimaga on April 18, 2014, 10:05:36 pm
At Metro and Super C supermarket/grocery stores over here, the cash register softwares run on Windows XP as well. I think Maxi switched to the same software recently too, but I don't know if they also run XP. The funny thing is that Metro and Super C switched to that software around 2010 or so, so it's entirely possible that they started using XP in 2010 too. O.O
Title: Re: MS-DOS source is officially released
Post by: Streetwalrus on April 19, 2014, 03:37:17 am
I do know for a fact that some places still use DOS based software. :P