VOGONS

Common searches


First post, by cyberaxe

User metadata
Rank Newbie
Rank
Newbie

I using the same settings as i do for 0.72 and previous versions but on 0.73 i dont have as much free covnentional memory

on 0.72 i have 623k free
on 0.73 i have 372k free

my mem settings are
xms=true
ems=true
umb=max

everything i load in the autoexec area is loaded with lh, since the mem command on dosbox doesnt seem to allow listing of memory usage i cant see what is actually using the memory

Memory and Autoexec Area from 0.72

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support.
# keyboardlayout -- Language code of the keyboard layout (or none).

xms=true
ems=true
umb=true
keyboardlayout=none

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
# Lines in this section will be run at startup.

@echo off
SET DOSBOXD1=D:\Games\General
SET DOSBOXD2=GameFiles\DOSBox
SET GAMEFLDR="%DOSBOXD1% %DOSBOXD2%\GAMES"
SET DWFLDR="%DOSBOXD1% %DOSBOXD2%\GAMES\DW"
SET DW2FLDR="%DOSBOXD1% %DOSBOXD2%\GAMES\DW2"
SET STFUFLDR="%DOSBOXD1% %DOSBOXD2%\GAMES\STTNG"
SET TOONSTRK="%DOSBOXD1% %DOSBOXD2%\GAMES\TOONSTRK\Data"
SET GAMES=C:\GAMES\
SET CD1="I:\"
SET CD2="G:\"
REM MOUNT A "D:\Emulation\Computer Software\PC\DOSBox\DOS\Extra\Win3x\Drivers\Graphics\S3" -floppy
MOUNT C "%DOSBOXD1% %DOSBOXD2%" -freesize 1024
MOUNT D %CD1% -t cdrom -usecd 0
MOUNT E "%DOSBOXD1% %DOSBOXD2%" -t cdrom
MOUNT F "%DOSBOXD1% %DOSBOXD2%\GAMES" -t cdrom
REM MOUNT G %DWFLDR%
REM MOUNT G %DW2FLDR%
REM MOUNT G %STFUFLDR%
C:
CD\
CLS
SET DOS32A=C:\DOS\EXTRA\DOS32A
SET WINDIR=C:\WINDOWS
SET PATH=%PATH%;%DOS32A%;C:\DOS\EXTRA\CTMOUSE;c:\DOS\EXTRA\SDD;C:\DOS;C:\DOS\EXTRA\Batch;C:\DOS\EXTRA\Batch\Games;C:\DOS\EXTRA\ULTRASND\WINDOWS;C:\Windows;C:\DOS\EXTRA;C:\GAMES\X-COM\TRAINER\;C:\DOS\EXTRA\DPMI
SET TEMP=C:\DOS\TEMP
SET TMP=C:\DOS\TEMP
SET DIRCMD=/w
COPY /-Y %DOS32A%\BINW\DOS32A.exe %DOS32A%\DOS4GW.exe
C:
CD\
CD DOS\TEMP
DEL /Q *.*
CD\
CLS
REM @echo.
REM @echo --------------
REM @echo SB16 Drivers
REM @echo --------------
SET SOUND=C:\DOS\EXTRA\SB16
SET BLASTER=A220 I5 D1 H5 T6
Show last 27 lines
REM SET MIDI=SYNTH:4 MAP:E
REM @echo.
REM @echo ---------------------------
REM @echo Gravis Ultrasound Drivers
REM @echo ---------------------------
SET ULTRASND=240,1,1,5,5
SET ULTRADIR=C:\DOS\EXTRA\ULTRASND
REM LH C:\DOS\EXTRA\ULTRASND\ULTRINIT.EXE
REM LH C:\DOS\EXTRA\ULTRASND\ULTRAMID.EXE
REM @echo.
REM @echo ---------------
REM @echo Miscellaneous
REM @echo ---------------
REM LH SETVER
REM LH NOLFB.COM
LH XKEYB UK
MOUSE /U
LH CTMOUSE /P /3 /N
REM @echo.
REM @echo -----------------
REM @echo UniVESA Drivers
REM @echo -----------------
LH UNIVBE
@echo.
del /q *.swp
CLS

Mem and Autoexec Area from 0.73 (slightly modified)

[dos]
# xms: Enable XMS support.
# ems: Enable EMS support.
# umb: Enable UMB support.
# keyboardlayout: Language code of the keyboard layout (or none).

xms=true
ems=true
umb=max
keyboardlayout=uk

[ipx]
# ipx: Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
# Lines in this section will be run at startup.

@echo off
SET DOSBOXD1=D:\Games\General
SET DOSBOXD2=GameFiles\DOSBox
SET GAMEFLDR="%DOSBOXD1% %DOSBOXD2%\GAMES"
SET DWFLDR="%DOSBOXD1% %DOSBOXD2%\GAMES\DW"
SET DW2FLDR="%DOSBOXD1% %DOSBOXD2%\GAMES\DW2"
SET STFUFLDR="%DOSBOXD1% %DOSBOXD2%\GAMES\STTNG"
SET TOONSTRK="%DOSBOXD1% %DOSBOXD2%\GAMES\TOONSTRK\Data"
SET GAMES=C:\GAMES\
SET CD1="I:\"
SET CD2="G:\"
REM MOUNT A "D:\Emulation\Computer Software\PC\DOSBox\DOS\Extra\Win3x\Drivers\Graphics\S3" -floppy
MOUNT C "%DOSBOXD1% %DOSBOXD2%" -freesize 1024
MOUNT D %CD1% -t cdrom -usecd 0
MOUNT E "%DOSBOXD1% %DOSBOXD2%" -t cdrom
MOUNT F "%DOSBOXD1% %DOSBOXD2%\GAMES" -t cdrom
REM MOUNT G %DWFLDR%
REM MOUNT G %DW2FLDR%
REM MOUNT G %STFUFLDR%
C:
CD\
CLS
SET DOS32A=C:\DOS\EXTRA\DOS32A
SET WINDIR=C:\WINDOWS
SET PATH=%PATH%;%DOS32A%;C:\DOS\EXTRA\CTMOUSE;c:\DOS\EXTRA\SDD;C:\DOS;C:\DOS\EXTRA\Batch;C:\DOS\EXTRA\Batch\Games;C:\DOS\EXTRA\ULTRASND\WINDOWS;C:\Windows;C:\DOS\EXTRA;C:\GAMES\X-COM\TRAINER\;C:\DOS\EXTRA\DPMI
SET TEMP=C:\DOS\TEMP
SET TMP=C:\DOS\TEMP
SET DIRCMD=/w
COPY /-Y %DOS32A%\BINW\DOS32A.exe %DOS32A%\DOS4GW.exe
C:
CD\
CD DOS\TEMP
DEL /Q *.*
CD\
CLS
REM @echo.
REM @echo --------------
REM @echo SB16 Drivers
REM @echo --------------
SET SOUND=C:\DOS\EXTRA\SB16
SET BLASTER=A220 I5 D1 H5 T6
Show last 27 lines
REM SET MIDI=SYNTH:4 MAP:E
REM @echo.
REM @echo ---------------------------
REM @echo Gravis Ultrasound Drivers
REM @echo ---------------------------
SET ULTRASND=240,1,1,5,5
SET ULTRADIR=C:\DOS\EXTRA\ULTRASND
REM LH C:\DOS\EXTRA\ULTRASND\ULTRINIT.EXE
REM LH C:\DOS\EXTRA\ULTRASND\ULTRAMID.EXE
REM @echo.
REM @echo ---------------
REM @echo Miscellaneous
REM @echo ---------------
REM LH SETVER
REM LH NOLFB.COM
REM LH XKEYB UK
REM MOUSE /U
REM LH CTMOUSE /P /3 /N
REM @echo.
REM @echo -----------------
REM @echo UniVESA Drivers
REM @echo -----------------
LH UNIVBE
@echo.
del /q *.swp
CLS

Any help would be appreciated, thanks.

Reply 4 of 6, by cyberaxe

User metadata
Rank Newbie
Rank
Newbie

i REM'd SET PATH=%PATH%;%DOS32A%;C:\DOS\EXTRA\CTMOUSE;c:\DOS\EXTRA\SDD;C:\DOS;C:\DOS\EXTRA\Batch;C:\DOS\EXTRA\Batch\Games;C:\DOS\EXTRA\ULTRASND\WINDOWS;C:\Windows;C:\DOS\EXTRA;C:\GAMES\X-COM\TRAINER\;C:\DOS\EXTRA\DPMI

and the memory went up to 633

by removing %path%; it went up to 504k

so they must have stopped loading that into uppermem it would seem

i'll shorten it as much as possible till its fixed, thanks

on closer inspection it's %DOS32A% being added to path that seems to be taking up most of the mem butfor soem reason if i remove that i cant run msd to see free mem, i shall do some more investigating

Reply 5 of 6, by cyberaxe

User metadata
Rank Newbie
Rank
Newbie

Ok after further testing it appears that more than 8 paths in set path causes low memory and with 9 some things dont load that are in paths in set path which is strange but the latter doesnt happen with 10+ just the low mem problem

Reply 6 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well we could run out of environment space.
As those are close positioned around the memory control blocks we might overwrite them.

Water flows down the stream
How to ask questions the smart way!