Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2024, 10:39
wx69wx2023 wx69wx2023 is offline
Friend
 
Join Date: Sep 2023
Posts: 66
Rept. Given: 2
Rept. Rcvd 20 Times in 8 Posts
Thanks Given: 71
Thanks Rcvd at 223 Times in 48 Posts
wx69wx2023 Reputation: 20
Microsoft open-sourced MS-DOS 4.0.

Today Microsoft open-sourced MS-DOS 4.0.

You can check it out here: https://github.com/microsoft/MS-DOS

MS-DOS v1.25, v2.0, v4.0 Source Code
This repo contains the original source-code and compiled binaries for MS-DOS v1.25 and MS-DOS v2.0, plus the source-code for MS-DOS v4.00 jointly developed by IBM and Microsoft.

The MS-DOS v1.25 and v2.0 files were originally shared at the Computer History Museum on March 25th, 2014 and are being (re)published in this repo to make them easier to find, reference-to in external writing and works, and to allow exploration and experimentation for those interested in early PC Operating Systems.
Reply With Quote
  #2  
Old 04-26-2024, 12:15
NON NON is offline
Banned User
 
Join Date: Sep 2023
Posts: 77
Rept. Given: 3
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 33
Thanks Rcvd at 21 Times in 16 Posts
NON Reputation: 2
@wx69wx2023 This looks interesting, but I am unable to compile it. I agree that I am a little weak at programming, lol
They don't teach much in college these days!
Any hints? I used FASM.
Reply With Quote
  #3  
Old 04-26-2024, 14:21
blue_devil's Avatar
blue_devil blue_devil is offline
Family
 
Join Date: Dec 2011
Location: Observable Universe
Posts: 295
Rept. Given: 62
Rept. Rcvd 50 Times in 23 Posts
Thanks Given: 270
Thanks Rcvd at 423 Times in 141 Posts
blue_devil Reputation: 50
Gentleman this is old news. M$ already shared MS-DOS' sources like 10 years ago:
Apparently the now make the archive.

You can read the article here:
Code:
https://computerhistory.org/blog/microsoft-ms-dos-early-source-code/
Reply With Quote
  #4  
Old 04-26-2024, 16:50
wx69wx2023 wx69wx2023 is offline
Friend
 
Join Date: Sep 2023
Posts: 66
Rept. Given: 2
Rept. Rcvd 20 Times in 8 Posts
Thanks Given: 71
Thanks Rcvd at 223 Times in 48 Posts
wx69wx2023 Reputation: 20
Quote:
Originally Posted by Gregory Morse View Post
@wx69wx2023 This looks interesting, but I am unable to compile it. I agree that I am a little weak at programming, lol
They don't teach much in college these days!
Any hints? I used FASM.
I only have mobie now, I should try to build when I am at home.
.
See the Runme.bat, it give the guide.
echo off
cls
echo **********************************************************************
echo * *
echo * MS-DOS 4.00 Build Notes *
echo * *
echo * The following steps must be taken to ensure a proper and *
echo * complete build of the MS-DOS 4.00 sources. *
echo * *
echo * 1.) Build environment setup, the setenv.bat batch file provided *
echo * will automate this process. This batch file must be modified *
echo * to reflect the individual build environment, ie the drive *
echo * volume and path. *
echo * *
echo * 2.) The nmake utility is used to build the MS-DOS 4.00 sources. *
echo * the global build is started by invoking nmake at the top- *
echo * most directory level. Individual modules are built by *
echo * changing to the particular directory and running nmake. *
echo * Useful Nmake switches: *
echo * *
echo * NMAKE -I : Ignore build errors. *
echo * NMAKE -I -X - Redirect to FILENAME : Redirects stdout-stderr *
echo * *
echo * 3.) After the build is complete the cpy.bat batch file can be *
echo * used to gather the binaries. The cpy.bat file will copy the *
echo * binaries to the directory specified on the command line. *
echo * For example: *
echo * *
echo * To use cpy.bat to copy the binaries to the bin directory on *
echo * C: drive you would use the following command: *
echo * *
echo * cpy c:\bin *
echo * *
echo * *
echo **********************************************************************
echo on


So you must run Setenv.bat first,and have installed nmake.
Reply With Quote
The Following User Says Thank You to wx69wx2023 For This Useful Post:
tonyweb (04-27-2024)
  #5  
Old 04-26-2024, 16:57
wx69wx2023 wx69wx2023 is offline
Friend
 
Join Date: Sep 2023
Posts: 66
Rept. Given: 2
Rept. Rcvd 20 Times in 8 Posts
Thanks Given: 71
Thanks Rcvd at 223 Times in 48 Posts
wx69wx2023 Reputation: 20
Quote:
Originally Posted by blue_devil View Post
Gentleman this is old news. M$ already shared MS-DOS' sources like 10 years ago:
Apparently the now make the archive.

You can read the article here:
Code:
https://computerhistory.org/blog/microsoft-ms-dos-early-source-code/
My dude, it is not old, the news link:
https://cloudblogs.microsoft.com/opensource/2024/04/25/open-sourcing-ms-dos-4-0/


Today MS open-sourced Dos 4.0, you can check the project v4.0 create-time on github.

Not ver 1.25/2.0
Reply With Quote
The Following User Says Thank You to wx69wx2023 For This Useful Post:
niculaita (05-07-2024)
  #6  
Old 04-26-2024, 17:23
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 774
Rept. Given: 42
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 691
Thanks Rcvd at 1,090 Times in 498 Posts
chants Reputation: 50
This is a duplicate thread created 2 hours after
Quote:
https://forum.exetools.com/showthread.php?p=130726#post130726
Reply With Quote
The Following User Says Thank You to chants For This Useful Post:
tonyweb (04-28-2024)
  #7  
Old 04-26-2024, 19:59
NON NON is offline
Banned User
 
Join Date: Sep 2023
Posts: 77
Rept. Given: 3
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 33
Thanks Rcvd at 21 Times in 16 Posts
NON Reputation: 2
Quote:
Originally Posted by wx69wx2023 View Post
I only have mobie now, I should try to build when I am at home.
.
See the Runme.bat, it give the guide.
echo off
cls
echo **********************************************************************
echo * *
echo * MS-DOS 4.00 Build Notes *
echo * *
echo * The following steps must be taken to ensure a proper and *
echo * complete build of the MS-DOS 4.00 sources. *
echo * *
echo * 1.) Build environment setup, the setenv.bat batch file provided *
echo * will automate this process. This batch file must be modified *
echo * to reflect the individual build environment, ie the drive *
echo * volume and path. *
echo * *
echo * 2.) The nmake utility is used to build the MS-DOS 4.00 sources. *
echo * the global build is started by invoking nmake at the top- *
echo * most directory level. Individual modules are built by *
echo * changing to the particular directory and running nmake. *
echo * Useful Nmake switches: *
echo * *
echo * NMAKE -I : Ignore build errors. *
echo * NMAKE -I -X - Redirect to FILENAME : Redirects stdout-stderr *
echo * *
echo * 3.) After the build is complete the cpy.bat batch file can be *
echo * used to gather the binaries. The cpy.bat file will copy the *
echo * binaries to the directory specified on the command line. *
echo * For example: *
echo * *
echo * To use cpy.bat to copy the binaries to the bin directory on *
echo * C: drive you would use the following command: *
echo * *
echo * cpy c:\bin *
echo * *
echo * *
echo **********************************************************************
echo on


So you must run Setenv.bat first,and have installed nmake.
Thank you! I'd previously missed out so many intermediate steps. Now with the help of the info you've provided, it's compiling correctly.
Reply With Quote
  #8  
Old 04-26-2024, 22:07
wx69wx2023 wx69wx2023 is offline
Friend
 
Join Date: Sep 2023
Posts: 66
Rept. Given: 2
Rept. Rcvd 20 Times in 8 Posts
Thanks Given: 71
Thanks Rcvd at 223 Times in 48 Posts
wx69wx2023 Reputation: 20
Thumbs up

Quote:
Originally Posted by chants View Post
This is a duplicate thread created 2 hours after
You are right, I didn’t check before posting.
Reply With Quote
The Following User Says Thank You to wx69wx2023 For This Useful Post:
tonyweb (04-28-2024)
  #9  
Old 04-26-2024, 22:08
wx69wx2023 wx69wx2023 is offline
Friend
 
Join Date: Sep 2023
Posts: 66
Rept. Given: 2
Rept. Rcvd 20 Times in 8 Posts
Thanks Given: 71
Thanks Rcvd at 223 Times in 48 Posts
wx69wx2023 Reputation: 20
Quote:
Originally Posted by Gregory Morse View Post
Thank you! I'd previously missed out so many intermediate steps. Now with the help of the info you've provided, it's compiling correctly.
You are welcome, my dude.
Reply With Quote
  #10  
Old 04-27-2024, 01:56
WhoCares's Avatar
WhoCares WhoCares is offline
who cares
 
Join Date: Jan 2002
Location: Here
Posts: 416
Rept. Given: 10
Rept. Rcvd 20 Times in 16 Posts
Thanks Given: 44
Thanks Rcvd at 166 Times in 66 Posts
WhoCares Reputation: 20
Why doesn't MS open source the other versions of MS-DOS?
__________________
AKA Solomon/blowfish.
Reply With Quote
  #11  
Old 04-27-2024, 09:18
NON NON is offline
Banned User
 
Join Date: Sep 2023
Posts: 77
Rept. Given: 3
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 33
Thanks Rcvd at 21 Times in 16 Posts
NON Reputation: 2
Quote:
Originally Posted by WhoCares View Post
Why doesn't MS open source the other versions of MS-DOS?
The "good" ones were the MS-DOS v3.30 and 5.0a. Even the version 6 was not so bad.
The v4.0 is the "bad" one. Much the Windows Vista, which was not well received by the community.
It's no wonder they did not want to release the source code of the "good" versions.

Unless officially released by Microsoft as open source, leaked sources cannot be used for any legit purposes.
Even the site with the leaked sources have mentioned this prominently:

I am already aware of the leaks. They are useless for me.
I need to be able to use the sources in software that I can sell!

It's true that I sell cracked software from my home. I am a hard-core pirate and I do not deny that.
But for software that I create to sell as developed software, I cannot use the code unless it is official open sourced.

Last edited by NON; 04-28-2024 at 14:19.
Reply With Quote
  #12  
Old 04-27-2024, 11:29
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 774
Rept. Given: 42
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 691
Thanks Rcvd at 1,090 Times in 498 Posts
chants Reputation: 50
3.3 is already on the web, though likely someone here hasn't learned to search so lmgtfy:
Quote:
https://linuxreviews.org/42.9_GB_Of_Microsoft_Source_Code_Leaked:_Historicans_Can_Now_Study_The_Source_Code_For_MS-Dos_3.3_To_Windows_XP
V7.1 is the good one but AFAIK the Windows 95 source never leaked with this version? XP and 2000 are too late
Reply With Quote
  #13  
Old 06-07-2024, 19:14
Eleven Eleven is offline
Friend
 
Join Date: May 2002
Posts: 43
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 2
Thanks Rcvd at 3 Times in 2 Posts
Eleven Reputation: 0
Quote:
Originally Posted by chants View Post
3.3 is already on the web...
I remember reading through the old leaked source code years ago and checking the MS-DOS 4.0 code release I'm glad they left all the swearing in the comments and names:
Code:
invoke	path_search			; find the mother (result in execpath)
or	AX, AX				; did we find anything?
je	badcomj45			; null means no (sob)
cmp	AX, 04H 			; 04H and 08H are .exe and .com
jl	rsrch_br1			; fuckin' sixteen-bit machine ought
jmp	execute 			; to be able to handle a SIXTEEN-BIT
rsrch_br1:				; DISPLACEMENT!!
Reply With Quote
  #14  
Old 06-07-2024, 21:28
Fyyre's Avatar
Fyyre Fyyre is offline
Fyyre
 
Join Date: Dec 2009
Location: 0°N 0°E / 0°N 0°E / 0; 0
Posts: 266
Rept. Given: 80
Rept. Rcvd 85 Times in 38 Posts
Thanks Given: 153
Thanks Rcvd at 338 Times in 116 Posts
Fyyre Reputation: 85
So very memory lane. DOS 3.3 was the first version I used => I also agree with the fellow above, DOS 4.0 was meh. 6.22 was my favorite.

Still waiting for that Windows 7 (even Vista!...) source code leak. That will be, a beautiful thing.
__________________
Best Wishes,

Fyyre

--

https://github.com/Fyyre
Reply With Quote
  #15  
Old 06-07-2024, 23:28
Eleven Eleven is offline
Friend
 
Join Date: May 2002
Posts: 43
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 2
Thanks Rcvd at 3 Times in 2 Posts
Eleven Reputation: 0
I think most if not all I did on DOS was 6.22 and I have nothing but good memories of tweaking autoexec.bat and config.sys to get specific games to run, and poking around in qbasic before I knew any other languages even existed.

Funny how different it was back then, games were just coming out and not working without effort if you weren't on the latest system or whatever the most common was at the least, and a lot of people were cool with that. I was a kid and wasn't paying the bills so maybe that helped
Reply With Quote
The Following 2 Users Say Thank You to Eleven For This Useful Post:
Jupiter (06-08-2024), MarcElBichon (06-08-2024)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 15:25.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )