DOS 5 Hardware or Software Issue?

November 4, 2012 at 21:23:30
Specs: Windows 7
I’m hoping someone here can point me in the right direction. I have an old computer system (1993 Vintage) that is running dos 5.0. I have an application that automatically runs when the computer boots. The software works fine when running on the old system although every once in a while this error does pop up. I use this application a lot and wanted to see if it would work running on newer computer. I created a mirror copy of the older drive and formatted a newer hard drive. (It’s an exact mirror i.e. fat file system, hard drive size etc…)

Everything looked like it was going to work out fine until I went to a new menu and the program crashed. I can reboot the system and use it for a short while before getting caught in the same loop. When the program crashes, I’m prompted to enter the time and date or press enter to continue. I have entered a time and day, as well as just pressing enter, the results are the same. I believe I found the file that generates the loop; however what I am unsure of is why.

Here is the line in the .bat file that either starts the program or this time & date loop.

if errorlevel 200 goto ERROR
if errorlevel 100 goto START
goto END

I don’t know what the errorlevel 200 is referring to, or what conditions cause an error level 200. Anyone have any ideas on what I should look into next.

See More: DOS 5 Hardware or Software Issue?

November 4, 2012 at 22:36:46
If it runs on startup it's being called from autoexec.bat so the lines you're wondering about are either in that file or a file referred to in autoexec.bat. You should probaby post back with the contents of autoexec.bat and the other file (if it's separate from autoexec.bat).

If a dos program has problems running on a newer (faster) machine it's usually the speed. Sometimes you need software that slows things down by, in effect, wasting time. I don't know if that's the case here.

The moderator may move this to the programming forum.

Report •

November 4, 2012 at 22:47:26
Sorry was not sure where to post this question.

Here is the Autoexec.bat file:

@echo off
rem keyb us
prompt $P$G
if exist c:\dos\mhz5003.asm goto pico
speed 3
goto END
mhz5003 4
cd rutil

Below is the contents of another batch file that echo the error I am talking about

@echo off

ECHO ----- MICROPLUS 3 --- RUTIL srl ---
if not %1.==/m. goto START
goto END
if errorlevel 250 goto ERROR
if errorlevel 100 goto START
goto END
ECHO Richiesta inserimento ORA e DATA.
ECHO Per confermare l'impostazione attuale premere ENTER.
ECHO Altrimenti digitare ORA e DATA correnti nel formato seguente:
ECHO ATTENZIONE - Per il regolare funzionamento del sistema e' necessario
ECHO impostare ORA e DATA correttamente.
ECHO -----------------------------------------------------------------------
ECHO Eingabe Uhr und Datum
ECHO Wenn dieangezeigte Uhr richtig ist Enterdrucker.
ECHO Wenn nicht,die richtige Uhr und Datum eingeben,wie folgt:
ECHO Uhr (ora attuale) Std:Min:Sek Datum (data attuale) Tg:Mt:J
ECHO VORSICHT- Fur eine einwandfreie Funktion des Systems ist es neutig
ECHO Zeit und Datum mit der richtiger Prozedur einzugeben.
ECHO ------------------------------------------------------------------------
ECHO Insert TIME and DATE.
ECHO To confirm the actual values push ENTER.Otherwise insert right values i.e.
ECHO TIME (ora attuale) hh:mm:ss DATE (data attuale) DD:MM:YY
ECHO ATTENTION- It is necessary to set time and date correctly to get right
ECHO functioning of the system.
ECHO ------------------------------------------------------------------------
ECHO Type any key to continue....
goto START

Report •

November 5, 2012 at 21:46:54
Autoexec.bat is calling a file named M from the RUTIL directory. M runs a file named rutil. Apparently it either runs correctly or gives one of two errors. If it's error 100 then rutil restarts. If it's error 250 then it goes to the date and time thing and then restarts.

I guess the program you're running is called MICROPLUS 3. I couldn't find any info on it unless it's associated with something called 'door king' which looks to be some sort of garage door opener. That seems unlikely.

So I don't know if there are any reported problems with it running on faster machines.

Your best bet would be to just run it on a slower machine. But I'll look around and see if I can find some of that 'slow down' software I mentioned above.

Report •

Related Solutions

November 5, 2012 at 21:56:43
I googled dos fast slow and this was the first hit:

It looks pretty good but you may want to take a look at the other results.

Report •

November 6, 2012 at 03:24:45

it might help if CMD21 advised the name of the application and what it does.

Which is correct, error level 200 or 250?

I would have upgraded to dos 6.nn long ago, as 5 could be problematical.
Also amend application to manual start, rather than on boot.

Old dos programs can have problems with speed, memory and monitors etc. as they are not necessarily forward compatible.

If now being tried on a W7 (CMD's stated os) machine, it may be a jump too far.
I would try W2000 or WXP first, or a faster dos pc.

Possibly there is already a speed involvement - what is mhz5003?
Error is occasionally seen now.

Good Luck - Keep us posted.

Report •

November 9, 2012 at 23:00:42

Old CNC machines written in DOS 6.22
also plague me.


Sometimes these errors are compiler errors
or actual machine hardware errors.


Report •

June 28, 2013 at 11:46:17
Look at the config.sys and make sure it has enough files. Set files = 100 or more and reboot. The program is probably opening a file and has run out of file handles.

Report •

June 28, 2013 at 11:47:26
Oops, old thread. Only signed up today and this is still page 1 material.

Report •

Ask Question