c:\4dos\sources\> _





4DOS Sources
4DOS Versions
4NT Versions
4OS2 Versions
4DOS Tips & Tricks
4DOS Docs
4DOS Batches, Aliases, Functions
  B. Schneider's
  K. Meinhard's
4DOS Links
4DOS Tools


DOS Links

More DOS Links

DOS Alternatives

DOS Hardware

DOS Tools

DOS Programs

DOS Gems


Search Engines

Contact me

Back to Homepage


You need the following files:



or, if you want to start from the original files:

Build Tools


Building 4DOS.COM


1. You need

2. Apply CODE.DIF against the original source code release by Rex Conn.
3. Create a DOS sub-directory. 4DOS.COM will be there if built successfully.
4. Modify MSC7.BTM to set your environment variables PATH, INCLUDE, LIB.
5. Run MKDOS.BTM. You should see one inevitable A4013 warning. Ignore it.

Before modifying the code, increment both VER_BUILD and INTVER so that the
new shell does not inherit the old one, or it will crash soon or later. OPTION
must be rebuilt to work with each build. More info here, here and here.




1. You need

2. Install the binary and source versions of the Mix C/WinDOS Toolchest.
3. Apply CWIND.DIF against the source code of the library and build it.
4. Unzip the OPTION sources into a subdirectory of the 4DOS sources.
5. Edit MAKESET.BTM to set your environment variables WATCOM, TUI.
6. Type "MAKE OPTION R".




1. You need

2. Install BP7, EDITOOLS4 and TPRO5 and build the latter's units.

3. Apply the BP7 patch and Turbofix.

4. Update tpcmd.pas,tpdos.pas,tpedit.pas,tpinline.pas,tpmemchk.pas,tpstring.pas and tpcrt.pas and copy tpdefine.inc,tppick.in1 and tpmouse.asm from TPRO5.

5. Apply 4HELP.DIF and adjust TPC.CFG and BUILD.BTM for your environment.


4DOS License

The 4DOS source code licence starts as a simple, all-permissive license, formulated by Rex Conn:

Permission is hereby granted, free of charge, to any person obtaining

a copy of this software and associated documentation files (the "Soft-

ware"), to deal in the Software without restriction, including without

limitation the rights to use, copy, modify, merge, publish, distribute,

sublicense, and/or sell copies of the Software, and to permit persons

to whom the Software is furnished to do so.

But it then says:

The Software, or any portion of it, may not be compiled for use on

any operating system OTHER than FreeDOS without written

permission from Rex Conn"

contrary to the above permission "to deal without restriction". When asked "what about MS-DOS, PC-DOS, DR DOS etcetera?", Rex Conn answered:

I don't have any problems with people using it on those OS's (although

I'd be surprised if there was a lot of MS-DOS or PC-DOS action left).

That license was written by the FreeDOS people – it was probably worded

that way because it's impossible to list every possible variation of the DOS OS's.


These contradictions should be cleared, because they prevent e.g. making 4DOS a Sourceforge project.


About Luchezar Georgiev's patches Luchezar himself says:


Note that I do not claim any "copy right" over my patches or the contents of
this web site – they are placed in "public domain" for maximal benefit
of the DOS community.


Top of Page - Home