Sign in Join
Wiki copytemporary

go32v2 development: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11This page is about development wrt the GO32V2 port.
22
33## DOSBox-X
44
55DOSBox-X is a fork of DOSBox that supports long file names. It can be used for go32v2 development on modern systems.
66
77<https://dosbox-x.com/>
88
99To enable the long file name support, the following command should be used inside the DOSBox-X command prompt:
1010
11-`VER SET 7 0`
11+```text
12+VER SET 7 0
13+```
1214
1315Snapshot building fails, due to this bug:
1416
15-[`https://github.com/joncampbell123/dosbox-x/issues/2375`](https://github.com/joncampbell123/dosbox-x/issues/2375)
17+```text
18+https://github.com/joncampbell123/dosbox-x/issues/2375
19+```
1620
1721## Compiling under XP
1822
1923use
2024
21-`  make <arguments> RUNBATCH="c:\windows\system32\cmd.exe /c"`
25+```text
26+ make <arguments> RUNBATCH="c:\windows\system32\cmd.exe /c"
27+```
2228
2329this avoids some lfn command.com issues.
2430
2531If 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:
2632
27-`  ping -n 2 localhost > nul`\
28-`  rm -rf %1 %2 %3`
33+```text
34+ ping -n 2 localhost > nul
35+ rm -rf %1 %2 %3
36+```
2937
3038And pass it using DELTREE=c:\path\to\abovebatchfile.bat
3139
3240With 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.
3341
3442## Memory issues under Vista
3543
3644It 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)
3745
3846You 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.
3947
4048<http://www.trnicely.net/misc/vista.html>
4149
4250## See also
4351
4452- [[DOS]]
4553- [[GO32V2]]
4654
4755---
4856*From the Free Pascal wiki, page "go32v2 development", as it stood on 2021-04-08 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
4957Category: DOS
5058Category: FPC
5159Category: Historical
5260Category: Operating Systems and Platforms

Back to history