VOGONS


First post, by kolderman

User metadata
Rank l33t
Rank
l33t

I am making a new DOS build, with a very similar autoexec/config.sys configuration to another DOS PC.

However, I am seeing an error I have not encountered on the other PC, which is if I have EMS enabled on EMM386 (RAM option), I get the "Divide overflow" crash on boot. When I pass the "noems" option to emm386, it boots fine, with all other options (defining UMA regions) set the same. No other programs are running after EMM386 in either config.sys or autoexec.

The system is a bit different to the other one - this one is a s370 board with a Intel 440LX chipset and a Via C3 500mhz CPU, and 64MB ram.

I am thinking of trying JEMM or QEMM...but before I do can anything think of why this might be happening?

Thanks.

Reply 1 of 2, by kolderman

User metadata
Rank l33t
Rank
l33t

I ended up switching to JEMM386 and it seems to just work. I am not using Windows of any kind on this PC so no problem. No issues with JEMM so far.

Reply 2 of 2, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Can't really help you with the cause, but a divide overflow triggers exception #0 which is basically the same thing as trying to far call/jump to address 0 (which is likely what's actually happening rather than a divide operation failing).