This page is about development wrt the GO32V2 port.
DOSBox-X is a fork of DOSBox that supports long file names. It can be used for go32v2 development on modern systems.
To enable the long file name support, the following command should be used inside the DOSBox-X command prompt:
VER SET 7 0
Snapshot building fails, due to this bug:
Compiling under XP
make <arguments> RUNBATCH="c:\windows\system32\cmd.exe /c"
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. A work around can be to use a batchfile that pauses before rm-rfing:
ping -n 2 localhost > nul rm -rf %1 %2 %3
And pass it using DELTREE=c:\path\to\abovebatchfile.bat
With fpmake, most of these removal operations have moved into fpmake, and fpmake has been hardened for a few of these issues, to retry a few times with pauses.
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.