PDA

View Full Version : pc lockup when running DOS application


sbainsys
10-01-2001, 12:25 PM
I have a legacy database "SAVVY PC" that I used to develop an excellent piece of software. The software runs on any DOS version but was developed for IBM PC DOS to run on a true IBM PC. I can run the program on any PC from a floppy disk, in a window of any version windows. My problem is that when I try to run it from the hard drive the system locks up. Only a hard boot can get the computer running again. I can also run the software on the hard drive of my old AST 386 with DOS 6.22. I believe that the problem could be related to memory management. I checked to see where in memory the program is loaded using Micorsoft MSD when the program is run from a floppy on a Pentium, and found the following:

I/O address Size Memory Map
OD4F -- 16 bytes 0C00
OD51 -- 16 bytes 0C00
143E -- 96 bytes 1400
1445 -- 65536 bytes 1400 to 2400
2446 -- 256 bytes 2400

The AST 386 which runs the program from the Hard Drive shows the following:
05D1 -- 16 bytes 0400
05D3 -- 16 bytes 0400
05E7 -- 160 bytes 0400
05F2 -- 65536 bytes 0400 to 1400
15F3 -- 256 bytes 1400

I would really love to have some help with this because my software will
run much better from the Hard Drive.

sbainsys

------------------
W. Lionel

classicsoftware
10-05-2001, 08:32 AM
There are several things to look at.

Are there settings in the config.sys on the non Windows PC that are missing from the Windows PC? That is a good place to start. What about the path?

You may have to customize the MS environment under Windows. I also have a DOS database application and it took some tweaking to get it Windows to Play Nice......

Rick
10-05-2001, 09:47 AM
What Version of Windows are you using ? 98,me,nt,2k

Are you running this software in the dos prompt window?
As a dos ap under windows?
Or Dos mode boot-up?

If you are running it as a dos ap under windows you may need to use the advanced properties tab under the program icon/properties to give it a better dos environment.
(Extended memory, expanded memory, and or amount of memory)

If you have the program installed on the hdd and you use an Icon to reboot into dos mode.
What if any settings are you using the advanced settings for this program?
(You can use advanced to create the same environment as the 386 doing this)

------------------
To ERR is HUMAN
To REALLY screw things UP, YOU NEED a COMPUTER !

sbainsys
10-05-2001, 04:08 PM
[QUOTE]Originally posted by classicsoftware:
There are several things to look at.

Are there settings in the config.sys on the non Windows PC that are missing from the Windows PC? That is a good place to start. What about the path?

You may have to customize the MS environment under Windows. I also have a DOS database application and it took some tweaking to get it Windows to Play Nice......
****************************
My problem is not with windows because the exact same problem occurs on a Machine with DOS only whether it is a 286, 386,486 or pentium. It Locks up when the Database starts to load. I had two Leading Edge 286s and I was only able to run the program on the hard drive of one of them when I took the software in and they changed the video cards until they found one that the program runs with. The program will not run on the other. The only difference is the video card. But I can't change a video card for each computer I wish to run the program on. So I must find a solution that relates to Video Memory management.




------------------
W. Lionel

sbainsys
10-05-2001, 04:10 PM
Originally posted by Rick:
What Version of Windows are you using ? 98,me,nt,2k

Are you running this software in the dos prompt window?
As a dos ap under windows?
Or Dos mode boot-up?

If you are running it as a dos ap under windows you may need to use the advanced properties tab under the program icon/properties to give it a better dos environment.
(Extended memory, expanded memory, and or amount of memory)

If you have the program installed on the hdd and you use an Icon to reboot into dos mode.
What if any settings are you using the advanced settings for this program?
(You can use advanced to create the same environment as the 386 doing this)


************************************
My problem is not with windows because the exact same problem occurs on a Machine with DOS only whether it is a 286, 386,486 or pentium. It Locks up when the Database starts to load. I had two Leading Edge 286s and I was only able to run the program on the hard drive of one of them when I took the software in and they changed the video cards until they found one that the program runs with. The program will not run on the other. The only difference is the video card. But I can't change a video card for each computer I wish to run the program on. So I must find a solution that relates to Video Memory management.


------------------
W. Lionel

Rick
10-05-2001, 07:11 PM
If you are loading the memory managers from dos(Himem.sys and emm386) you should be able to use the exclude switch for the memory area your program demands.

It sounds to me as if the software is locked for a specific video card or video mode.
IE:EGA,VGA, or Vesa

------------------
To ERR is HUMAN
To REALLY screw things UP, YOU NEED a COMPUTER !