Click to See Complete Forum and Search --> : MSDOS Memory


stfark
July 20th, 2008, 01:19 PM
Using WinXP Pro, SP2. I have a large program that requires MSDOS to execute. When I go into the Dos subset, C> prompt and try to run the dos program, I get an error "out of memory". I have Dos resident in high memory but still have a problem. I am using the Microsoft Fortran compiler with the software debug tool CV(CodeView). When I run the program by itself, it executes. However, when I run the Codeview module to debug the program, I get the error. If I dedicate a hard disk to the Msdos system and boot only to Dos, all works. Seems like a problem with Win XP Pro when I go into the Dos subset, C> command prompt. I would like to know:
1.) any way to put the CV program into high memory also? may free up conventional memory and allow the program to execute, or 2.) how can I utilize the memory that is available on the machine? I have 4Gig of memory but I understand Win XP only uses 3Gig? Any answers will be appreciated. Sid Kraft

S_M_A
July 20th, 2008, 06:12 PM
I haven't any CV experience but running mem in the command shell on my machine give655360 bytes total conventional memory
655360 bytes available to MS-DOS
626768 largest executable program size

1048576 bytes total contiguous extended memory
0 bytes available contiguous extended memory
941056 bytes available XMS memory
MS-DOS resident in High Memory Areawhich is as far as I remember more available memory than I had back in those DOS days. :)
One option might be to edit %windir%\system32\autoexec.nt & %windir%\system32\config.nt and remove things you don't need. Another option (probably better since you succeed when actually booting DOS) is to run it all in VirtualPC (free download at MS).

Regarding XP memory. 32 bit XP/Vista has a memory limit at 4 Gb - video card memory - some motherboard resources and so on. Pretty much the same situation as in DOS, some addresses at 0xA0000 and some at 0xB8000 was not possible to use for memory due to the graphic card. You can view the memory mapping in device manager/view resources by type