Difference between revisions of "go32v2 development"

From Lazarus wiki
Jump to navigationJump to search
(building dos on XP)
Line 1: Line 1:
 
This page is about development wrt the GO32V2 port.
 
This page is about development wrt the GO32V2 port.
 +
 +
=== Compiling under XP ===
 +
 +
use
 +
 +
  make <arguments> RUNBATCH=c:\windows\system32\cmd.exe
 +
 +
this avoids some lfn command.com issues.
 +
 +
If there are errors with removing the so called "pack dir", hunt for $(DELTREE) statements that don't have a - (to ignore errors) in front of them.
  
 
=== Memory issues under Vista ===
 
=== Memory issues under Vista ===

Revision as of 13:22, 31 October 2009

This page is about development wrt the GO32V2 port.

Compiling under XP

use

  make <arguments> RUNBATCH=c:\windows\system32\cmd.exe

this avoids some lfn command.com issues.

If there are errors with removing the so called "pack dir", hunt for $(DELTREE) statements that don't have a - (to ignore errors) in front of them.

Memory issues under Vista

It seems that Vista standardly allocates only 1MB extended memory to the dosbox. I found the below bit, but wasn't able to get more than 15MB free. (probably 16MB total)

You can change these settings by running explorer as Administrator or you can also change it from Safe Mode. To run explorer as Administrator, open up a new elevated command window by right clicking cmd.exe -> Run as administrator, then open Task Manager and End Process on explorer, then from the elevated command prompt type explorer.exe (DO NOT EXIT TASK MANGER). Explorer is now running elevated, navigate to C:\WINDOWS\System32\command.com and right click -> properties, proceed to change the setting in the memory tab. After you are completed to return explorer to a standard user process context goto task manager and end the explorer process, then goto File->New Task(Run...) and type explorer.exe, explorer is now running in a standard user process.