Slashdot Mirror


Life After MS-DOS: FreeDOS Keeps On Kicking

angry tapir writes "FreeDOS — the drop-in, open source replacement for MS-DOS — was started after Microsoft announced that starting from Windows 95, DOS would play a background role at best for users. Almost two decades later, FreeDOS has survived and, as its creator explains in this interview, is still being actively developed, despite achieving its initial aim of an MS-DOS compatible OS, which quite frankly is somewhat amazing."

21 of 255 comments (clear)

  1. Not surprising by masternerdguy · · Score: 5, Insightful

    To recreate something is to understand it, and msdos is worth understanding. Tons of legacy applications still depend on dos and are still in use! This is a step towards long term support of those applications.

    --
    To offset political mods, replace Flamebait with Insightful.
    1. Re:Not surprising by Anonymous Coward · · Score: 5, Interesting

      It would work well in VirtualBox, if it weren't for a stupid VirtualBox bug.

    2. Re:Not surprising by marcello_dl · · Score: 4, Interesting

      Not only legacy- I had updated my aspire 5720's bios to suppress a bug which prevented 64bit linux using freedos because I had already got rid of the Vista installation (30 minutes after started using it, I think 8 will last less). Worked flawlessly but I acknowledge it's a risky procedure.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    3. Re:Not surprising by hobarrera · · Score: 4, Informative

      Legacy applications?
      I've a 2010 intel motherboard with an integrated nic that reports "bad eeprom checksum" every time there's a power failure.
      Intel only provides a DOS utility to re-flash the firmware, if it weren't for FreeDOS, I'd have a useless nic (on a mobo with no free PCIs, BTW).

      Lots of hardware vendors still provide DOS-only BIOS updated, and similar utilities, regrettably, so FreeDOS still has plenty of uses - though not for the average user.

    4. Re:Not surprising by ducomputergeek · · Score: 5, Interesting

      I have clients who still are using systems, like sales and inventory sales databases, running on DOS and now using FreeDOS.

      The owners don't want to replace something that works for new and shiny.

      --
      "The problem with socialism is eventually you run out of other people's money" - Thatcher.
    5. Re:Not surprising by interval1066 · · Score: 4, Interesting

      Real Time Systems: a certain PLC vendor (won't name whom, but they're American, and huge) only provides 16-bit drivers to one of their backplane products, if things haven't changed in 3 years, and I bet they haven't. If it wasn't for FreeDOS, third party licensors would be screwed. With FreeDOS and a real time ASIC, these licensors can create products that work with the main vendor.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    6. Re:Not surprising by mvar · · Score: 4, Interesting

      I second that. Years ago I worked for a company where we installed-supported logistics & accounting programs from a specific vendor. The main software, the vendor's "best-seller" was DOS-based. When they released the newest, Windows-only version which completely changed the user experience by the introduction of the mouse, most customers went nuts upon hearing that the DOS version was going EOL. They were used to the keyboard and having to re-learn everything and memorize where and what to click in order to go to the next field or print an invoice was considered unnecessary by the majority of the customers. The vendor eventually had to recall the EOL and to this day they still support & release updates for this decades-old software.

    7. Re:Not surprising by idontgno · · Score: 4, Informative

      At least the bug has a work-around fix:

      The fix

      FreeDOS developer Eric Auer has provided a fix that corrects the buggy behaviour of the VirtualBox PCI BIOS. It can be downloaded at:

      http://lazybrowndog.net/freedos/files/vbox-fix.zip

      His solution is a small TSR program that comes with new handlers for two PCI BIOS scanning functions, that make them scan only existing PCI bus numbers. VBOX-FIX.COM is supposed to be loaded in AUTOEXEC.BAT. The program checks if it is running inside a VirtualBox guest and loads only if it can verify that. Eric Auer writes:

      It does up to two PCI scans by vendor:device ID (int 1a.b102 calls) to check for two VirtualBox specific PCI devices. Only if at least one of them is present, the faster-on-VirtualBox int 1a handler for int 1a.b102 and b103 (scan by vendor:device or class- subclass-interface) is installed as a TSR. The VB vendor:device ID values are 80ee:beef and 80ee:cafe.

      VBOX-FIX.COM needs 416 bytes of DOS memory and can be loaded high.

      Gosh. "...can be loaded high.". I got a little tickle of nostalgia thinking about that. All those wonderful "load high and remain resident" hacks.

      Wait. Why is this good?

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
  2. That's cool, I guess ... by 0racle · · Score: 5, Funny

    The graphics suck though.

    --
    "I use a Mac because I'm just better than you are."
    1. Re:That's cool, I guess ... by ProzacPatient · · Score: 5, Funny

      Still looks better then Windows 8 though

    2. Re:That's cool, I guess ... by sootman · · Score: 5, Funny

      Agreed. Just check out this screenshot:

      C:\>_

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  3. Good for embedded systems by Animats · · Score: 4, Insightful

    Why not? For embedded systems, when you need more than a boot loader, don't want all the excess baggage of Linux, and don't want to pay for one of the embedded OSs like QNX, it's a good option.

    You also know that FreeDOS doesn't have a "phone home" feature, a HTTP server, a mail server, or something else on an open port running in the background without your knowing about it.

  4. Re:Dosbox or freedos by TheCRAIGGERS · · Score: 4, Insightful

    Last I looked, FreeDOS couldn't slow down the environment to emulate old hardware. This is basically a requirement for many old games, and is the reason I use DosBox.

  5. Re:Dosbox or freedos by Parafilmus · · Score: 5, Informative

    You can have both!

    Install FreeDos in the c:\dos folder of your DosBox machine. You'll get most of FreeDos' new functionality, while keeping the useful features of DosBox.

    see here: http://www.dosbox.com/wiki/TOOLS:FreeDOS

  6. Re:Dosbox or freedos by Cro+Magnon · · Score: 4, Funny

    In prehistoric times, when I upgraded from my olde 8088 to a speedy new 286, several of my games became nearly unplayable.

    --
    Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
  7. Re:Dosbox or freedos by Anonymous Coward · · Score: 4, Informative

    DosBox will be better because it's specifically built for retro gaming. It supports all the hardware needed for gaming including joystick, mouse, soundcard, and networking. Many years ago DosBox was too buggy to use, but I loaded the latest build about a year ago and it is awesome. Everything just works. This weekend my brother and I did some Doom2 Co-op using IPX tunneling, and it worked flawlessly.

  8. Modernization by jones_supa · · Score: 5, Funny

    DOS could really use a modern composited OpenGL accelerated desktop. Maybe call it "GL Accelerated Disk Operating System". What do you think?

  9. Re:That's awesome! by OzPeter · · Score: 4, Funny

    If only I hadn't used all my 5.25" floppies trying to decapitate attacking zombies...

    Ha! you call that a floppy disk? [pulls out and brandishes an 8" floppy disk]

    --
    I am Slashdot. Are you Slashdot as well?
  10. Re:MSDOS history by gaudior · · Score: 4, Informative

    Fortran?! No. CP/M is written in 8080 Assembly code. Later versions took advantage of Z80 op-codes.

  11. Re:Dosbox or freedos by VortexCortex · · Score: 5, Informative

    As a developer, I can say no, that "problem" was just a dumb way to do physics, and it's been fixed forever to anyone who wasn't a moron, even in the AT/XT days. Back in the day we just checked wall clock time / CMOS ticks, you know, the ones we used to modulate PC speakers to make different frequencies, that's what we used to update game state and prevent binding physics to CPU speed. Today, RAM is plentiful, so I do physics state "commits" in fixed step sizes, say 30hz or 60hz, and interpolate from the last physics state to the temporary state that's being rendered.

    If enough time has passed to process the next full physics step, then it's processed and committed. Otherwise I reset state to last commit, and process the partial physics step, but do not trigger any important events like player death in the temp step. If the system is too slow to run a partial physics step without immediately requiring another full physics step then the partial steps are not processed and the game rendering updates screen positions only after the physics step can be computed. This is important for deterministic physics, for demo replay and also for synchronized network games because:
    UpdatePhysics( 20ms ); UpdatePhysics( 20ms );
    is not always equivalent to:
    UpdatePhysics( 40ms );
    Due to a number of factors, especially rounding errors.
    UpdatePhysics( elapsedTime );
    Is the worst on fast systems -- those very small fractions of time lead to physics explosions -- not the particle effect kind, the bounce off an object through the floor and to the other side of the universe kind.

    For comparison:
    Here is my rope physics with a fixed physics step size frames.
    Here is the same physics running with actual elapsed time each frame.
    The latter comments mention tiny jiggles propagating into a frenzy. Those tiny movements coupled with very small elapsed times create the physics explosion.

  12. EPROMs, Flash, batteries, CMOS by unixisc · · Score: 4, Insightful

    Not to be pedantic, but you are describing EPROMs above, not EEPROMS. EPROMs are the devices that you program using higher voltages, and erase using UV rays (they had a transparent window to the die to enable that). Nobody makes those anymore. There is a variation of that called MTP, where instead of the UV rays, one can apply the higher voltage to the VPP and a particular address line to erase it, and program it normally putting the higher voltage just on the VPP pin. These products, to the extent that they are made, are the replacements of EPROM. Then there are mask ROMs for the high end equivalents of these things: while EPROMs and MTPs were in the 1 mebibit range, mask ROMs are in the 1 gibibit range.

    EEPROMs, otoh, are NOR flash memory devices. Flash memory works this way - while read operations are the same as static or dynamic RAM, depending on design, program operations are done in software - by sending a certain address/data combination sequence before a program cycle(s) can start. That is what is known as in-system programming, and that is what PCs use. So any software that tries to 'flash a BIOS' essentially has to first determine who the manufacturer of the flash memory is (since different manufacturers tend to use different algorithms - most JEDEC endorsed) and then accordingly, send the appropriate command cycles to the flash before loading it w/ the addresses and data to be programmed into it.

    Batteries are needed to maintain the system clock. Every time you power down a laptop, how does the thing remember the time when it boots up again? The battery is how - there is no way a flash device, which simply stores the last state that was programmed into it, would be counting down the time. When the battery goes down, that's when one sometimes sees motherboard failures and the like.

    CMOS has forever been the standard that's used to build transistors, due to their scalability - TTL was never used, and ECL was tried on occasion by 1 company called Exponential Logic to build high performance PowerPCs for Apple in the 90s, but they went bust. CMOS will stop being used when silicon stops being used.