Hi Ulrich,

Thanks for the link. I compared the 2 files and didn't find anything of 
significance. Your change:

IF "%config%"=="2" PCNTPK INT=0x60
IF NOT "%config%"=="2" LH PCNTPK INT=0x60

seems smart, however.

Based on Eric's suggestion of using more cautious settings, I found the 
JEMMEX doc page
(http://help.fdos.org/en/hhstndrd/base/jemmex.htm)

and learned how to change the JEMMEX options. I excluded the region of 
memory that might already be in use (indicated in the original error 
message):
1?DEVICE=C:\FDOS\BIN\JEMMEX.EXE NOEMS X=C900-DFFF I=TEST NOVME NOINVLPG

Boot option 1 no longer crashes, but it doesn't appear to be an 
improvement over boot option 2. Here is what I am getting from C:\mem 
after boot:

Boot option 1 (http://tinypic.com/r/zm1boj/9):
Total memory Free: 26,699K
Total Expanded (EMS): 8,576K
Free Expanded (EMS): 8,192K
Largest executable program size: 597K
Largest free upper memory block: 2K

Boot option 2 (http://tinypic.com/r/2zzjl77/9):
Total memory Free: 26,669K
Total Expanded (EMS): 31M
Free Expanded (EMS): 25M
Largest executable program size: 610K
Largest free upper memory block: 4K

I don't have much experience with the way DOS memory works. What do you 
think of these results? Anything else I should be looking at?

Thanks,
Abe

On 6/27/2016 8:23 PM, Ulrich Hansen wrote:
> Hi Abe,
>
> if you like, take a look at:
>
> https://www.lazybrowndog.net/freedos/virtualbox
>
> There are three VirtualBox images of FreeDOS 1.1.
>
> I put quite some effort in them to make them work. I remember the crash
> you are talking about, but, sorry, I don’t remember how I fixed it
> (wasn’t it something about not loading high something?? Very sorry.
> Maybe you compare the AUTOEXEC.BAT and FDCONFIG.SYS of the FreeDOS 1.1
> VirtualBox image?
>
> -------------------------------------------------------------------------------------
> AUTOEXEC.BAT
>
> @echo off
> SET LANG=EN
> SET MTCPCFG=C:\FDOS\MTCP.CFG
> SET WATTCP.CFG=C:\FDOS
> SET PATH=%dosdir%\BIN;C:\DOSZIP
> SET NLSPATH=%dosdir%\NLS
> SET HELPPATH=%dosdir%\HELP
> SET TEMP=%dosdir%\TEMP
> SET TMP=%TEMP%
> SET BLASTER=A220 I5 D1 H5 P330
> SET DIRCMD=/P /OGN /4
> SET COPYCMD=/-Y
> if "%config%"=="4" goto end
> SHSUCDX /QQ /D3
> LH SHSUCDHD /QQ /F:FDBOOTCD.ISO
> LH FDAPM APMDOS
> IF "%config%"=="2" LH SHARE
> LH DOSLFN
> REM NLSFUNC C:\FDOS\BIN\COUNTRY.SYS
> REM DISPLAY CON=(EGA),858,2)
> REM MODE CON CP PREP=((858) C:\FDOS\CPI\EGA.CPX)
> REM KEYB US,858,C:\FDOS\bin\keyboard.sys
> REM KEYB GR,,keyboard.sys /NOHI
> REM CHCP 858
> IF "%config%"=="2" PCNTPK INT=0x60
> IF NOT "%config%"=="2" LH PCNTPK INT=0x60
> DHCP
> REM M2WAT.COM <http://M2WAT.COM> transfers the mTCP configuration to
> WATTCP.CFG.
> REM Disable it, if you want to use a custom WATTCP.CFG.
> C:\FDOS\M2WAT.COM <http://M2WAT.COM>
> MOUSE
> DEVLOAD /H /Q %dosdir%\BIN\UIDE.SYS /H /D:FDCD0001 /S5
> SHSUCDX /QQ /~ /D:?SHSU-CDR,D /D:?SHSU-CDH,D /D:?FDCD0001,D
> /D:?FDCD0002,D /D:?FDCD0003,D
> MEM /C /N
> IF NOT "%config%"=="4" SHSUCDX /D
> GOTO END
> :END
> SET AUTOFILE=%0
> SET CFGFILE=C:\FDCONFIG.SYS
> alias reboot=fdapm warmboot
> alias reset=fdisk /reboot
> alias halt=fdapm poweroff
> alias shutdown=fdapm poweroff
> alias cfg=edit %cfgfile%
> alias auto=edit %0
> echo Done processing startup files %cfgfile% and %0
> echo Type HELP to get support on commands and navigation
> echo.
> echo Welcome to the FreeDOS 1.1 operating system (http://www.freedos.org)
>
>
> -------------------------------------------------------------------------------------
> FDCONFIG.SYS
>
> !COUNTRY=001,858,C:\FDOS\BIN\COUNTRY.SYS
> !SET DOSDIR=C:\FDOS
> !LASTDRIVE=Z
> !BUFFERS=20
> !FILES=40
> !MENUCOLOR=7,0
> MENUDEFAULT=1,5
> MENU 1 - Load FreeDOS with JEMMEX, no EMS (most UMBs), max RAM free
> MENU 2 - Load FreeDOS with EMM386 (Expanded Memory) and SHARE loaded
> MENU 3 - Load FreeDOS including XMGR XMS-memory driver
> MENU 4 - Load FreeDOS without drivers
> 123?DOS=HIGH
> 12?DOS=UMB
> 12?DOSDATA=UMB
> 1?DEVICE=C:\FDOS\BIN\JEMMEX.EXE NOEMS X=TEST I=TEST NOVME NOINVLPG
> 2?DEVICE=C:\FDOS\BIN\HIMEMX.EXE
> 2?DEVICE=C:\FDOS\BIN\JEMM386.EXE X=TEST I=TEST I=B000-B7FF NOVME NOINVLPG
> 3?DEVICE=C:\FDOS\BIN\XMGR.SYS
> 3?SHELL=C:\FDOS\bin\4dos.com <http://4dos.com> C:\FDOS\bin /E:1024
> /P:C:\AUTOEXEC.BAT
> 4?SHELL=C:\FDOS\BIN\COMMAND.COM <http://COMMAND.COM> C:\FDOS\BIN /E:1024
> /P=C:\AUTOEXEC.BAT
> 12?SHELLHIGH=C:\FDOS\BIN\COMMAND.COM <http://COMMAND.COM> C:\FDOS\BIN
> /E:1024 /P=C:\AUTOEXEC.BAT
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
>
>
>
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to