Science Fair Project Encyclopedia
FreeDOS is an effort to create a free DOS operating system which is completely compatible with MS-DOS applications and drivers. The software is mature and has some features that are missing in MS-DOS. Some FreeDOS commands are identical to or better than their MS-DOS counterparts. However, a few MS-DOS commands are still missing. The command line interpreter used by FreeDOS is called FreeCOM.
Features and differences to MS-DOS
- Ultra-DMA driver and support for big disks (LBA)
- FAT32 filesystem support
- DOSLFN driver to use long file names from VFAT (on command line 4DOS can be used to support it)
- Open source/Free license (GPL)
- User-editable internationalization support
- Easy multiboot with Win2000/XP
- LBACACHE - disc cache
- Memory Manager (himem.sys and emm386.exe)
- FDCDEX and CD-ROM driver
- Mouse driver with wheel-support
- FDAMP - APM control/info, energy saving TSR/control, cache flush, rebooting und ASPI support!
Windows 1.0 through 3.xx
FreeDOS seems to work fine with 1.0 and 2.0 versions of Windows. 3.0 versions are tricky to run; the simplest command that currently works for version 3.1 is WIN /S /D:SFVX (S: no breakpoints in ROM, F: no 32 bit disk access, V: use BIOS int 13 to access disk, X: do not touch UMB area).
To date Windows 3.11 (Windows for Workgroups) has not been successfully started under FreeDOS.
If you manage to use WIN /3 (386 enhanced mode) or Win32s, please contact the FreeDOS people and spread the word about which configuration you used to do that.
Windows 95 to ME
Those Windows versions contain and are linked to their own DOS. You cannot run them in FreeDOS, but you can install Windows and FreeDOS on the same C: drive, with help of a boot manager as described above or a Linux boot manager like LiLo or Grub.
Windows NT through XP
A parallel installation with Windows NT/2000/XP doesn't cause problems because these versions don't use a DOS system as a base operating system anymore and they are shipped with a simple boot manager. The FreeDOS kernel can simply be added to Windows' boot.ini to enable its selection in the boot manager (by adding a boot sector file or drive to the list - FreeDOS will always search the first FAT16 or FAT32 drive for fdconfig.sys or config.sys, even if you boot it from another harddisk drive letter...)
FreeDOS interacts with ReactOS much like it does with Windows NT, 2000, and XP.
The EMM386 memory management program included with FreeDOS now supports VCPI, which allows programs and DOS extenders which use DPMI to run. FreeDOS also contains an UDMA driver for faster disk access, which can be used for other DOS versions, too. The LBAcache disk cache buffers recently-accessed disk data in Extended Memory Specification memory for even faster access and less direct access (reduced noise) to the harddisk.
With help of the ability of the FreeCOM command line shell to swap itself to XMS, it is possible to get much low DOS RAM free: With kernel and BUFFERs in HMA and drivers (where compatible with this) loaded to UMBs, 620k (620*1024 bytes) and more can be available. Useful for memory-hungry DOS games.
Some advantages of FreeDOS: The license is free and the software is actively being developed. FAT32 support is implemented and it is possible to boot from FAT32 drives using FreeDOS. Depending on the BIOS used, LBA hard disks up to 128 GB or even 2 TB in size are supported. Some BIOSes support LBA but have a bug for disks bigger than 32 GB. You can use a driver like OnTrack or EzDrive to "repair" that problem. FreeDOS can also be used with a driver called DOSLFN which supports long file names (see VFAT), but most FreeDOS programs do NOT support long file names even if the driver is loaded.
There is no planned support for NTFS or ext2fs but there are several shareware drivers available for that purpose. To access ext2fs, you can use the LTOOLS (counterpart to MTOOLS) which can copy data to and from ext2fs drives.
If FreeDOS is started from a DOSEmu (PC/DOS emulator for Linux systems) window it's possible to install DOS applications on any Linux supported file system and hard disk. Also there is no USB driver support planned, only BIOS supported USB devices are available for plain FreeDOS. You can use some proprietary but free drivers for other USB storage devices, or run FreeDOS in a DOSEmu window and let it use any drive which can be accessed from Linux that way. Other popular PC emulators and DOS emulators are Bochs (simulates a whole PC) and DOSBox, which simulates a PC with a DOS kernel and shell simulation: Programs inside DOSBox "see" a DOS, but you cannot install a FreeDOS or other DOS kernel. You can, however, use FreeDOS tools inside DOSBox.
The FreeDOS kernel is also shipped with DOSEmu. DOSEmu supplies a DOS optimized simulation of a PC which allows the use of simplified drivers (shipped with DOSEmu). The System runs much faster than the GNU PC simulator Bochs or the commercial emulator VMware. However, the simulation of raw hardware lacks realism in some aspects: Simulated disk access through the virtual BIOS works fine, but DOS programs cannot program the virtual disk controllers. There is virtual graphic and sound hardware, though.
As a result of a license agreement with Microsoft, which obligated computer manufacturers not to ship computers without operating systems, Dell Computer offered some of their n-series systems with pre-installed FreeDOS.
FreeDOS was set up to provide an alternative to MS-DOS when Microsoft announced in 1994 that they were going to discontinue the sale and support of MS-DOS.
One alternative to FreeDOS is OpenDOS. This DOS is more compatible with Windows, but the license is less free. OpenDOS is a derivative variant of DR-DOS, which is owned by DeviceLogics and offered under shareware-like terms. DR-DOS offers a good memory manager (EMM386, here with a built-in DPMI host and multitasking support and XMS/EMS memory pool sharing) and real preemptible multitasking.
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details