Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I attempt an installation of an application in MS-DOS, I receive the following error: "Divide Overflow." What is the meaning of this error and how do I fix it?

The install procedure is:

  1. Partition my HDD
  2. Format C drive
  3. Install MS-DOS 4 Add the flowing lines to config.sys

    DEVICE=C:\DOS\HIMEM.SYS
    DEVICE=C:\DOS\EMM386.EXE RAM
    DEVICE=C:\DOS\RAMDRIVE.SYS 6000 512 64 /e
    
  4. Insert my floppy application and then restart

It works properly the Virtual machine Q emulator but I receive a "Divide Overflow" error on the real machine (Vectra HP PC).

share|improve this question
    
There is probably a timing loop somewhere in the code, and your new[er] machine is way faster than it ever expected, generating a divide-by-zero error. What application is it? Do you have the source code? –  Cody Gray Aug 17 at 9:27

2 Answers 2

You have a lot of options.

  1. FreeDOS:Instead of installing MsDos, install that one
  2. Emulator on the machine: Istead of installing it on a virtual machine, do it on the real one.
  3. DosBOX: Istead of using Q emulator, use DosBOX, multi-platform, and works like a charm on any machine.
share|improve this answer

I'm not sure how old this system is, but it may have subtle incompatibilites in the chipset that cause it not to really be compatible with DOS or all DOS applications. It's also possible there's a newer CPU feature that is causing an issue. It could be that the application is doing something weird with invalid instructions

Try going into the BIOS and disabling any extended CPU features, any caching, and any onboard hardware that you don't need for this application.

share|improve this answer
    
i should tell to you i use 486 and pentium 2 main board ... –  repozitor Apr 9 '12 at 17:58
    
@repozitor, and it fails on both? I know that 200MHz P2’s and up were too fast and needed to be slowed down via software. –  Synetech Sep 1 '12 at 21:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.