Reply 20 of 34, by jwt27
- Rank
- Oldbie
Here's my MEM /C then:

This is without CD drivers and EMS, which I don't normally use. If something does need a CD I can just run SHSUCDX, as UIDE provides a CD driver (and a massive disk cache, that's the 128MB used XMS you see there). For EMS I have to reboot and select the second option in the boot menu. This option loads JEMM386 for 8MB of EMS, without using any more conventional RAM (still 627k free). Supposedly there's also a program called EMSMagic that provides EMS on the fly but I haven't tried that yet. Would be more convenient though.
MI.COM /A provides a bit more information:

edit:
And here are the config files that made this happen. They are quite elaborate and (I hope) more readable than your average DOS config files. I use FreeDOS's FDAUTO.BAT and FDCONFIG.SYS files so programs that change your config files won't be able to break anything:
FDCONFIG.SYS:
REM 0x12 = 80x50SCREEN =0x12REM country code, codepage, country fileCOUNTRY =031,437,C:\DOS\BIN\COUNTRY.SYSVERSION =6.22BREAK =ONSWITCHES=/EMENUCOLOR=7,0MENUDEFAULT=1MENU 1 - Load FreeDOS (XMS)MENU 2 - Load FreeDOS (XMS + EMS)MENU 3 - Load Windows 2000MENU 9 - Load FreeDOS without drivers3?DEVICE=C:\GRUB\GRUB.EXE --config-file="root (hd0,0);chainloader /ntldr"REM /I= = Include region1?DEVICE=C:\DOS\BIN\UMBPCI.SYS /I=E000-EFFFREM /W = Load in workspace bufferREM /Nn = n XMS handles1?DEVICE=C:\DOS\BIN\XMGR.SYS /W /N128REM nM = n MB EMSREM I= = Include UMB regionREM X= = Exclude UMB region2?DEVICE=C:\DOS\BIN\JEMMEX.EXE 8M I=TEST X=TEST12?DOS =HIGH,UMB12?DOSDATA =UMB12?BUFFERSHIGH =412?FILESHIGH =4012?STACKSHIGH =9,25612?LASTDRIVEHIGH=ZREM /D: = CD device driverREM /H = Load to HMAREM /F = Use large (fast) cache blocksREM /Sn = n MB cacheREM /Rn = Use memory above n MB1?DEVICEHIGH=C:\DOS\BIN\UIDE.SYS /D:FDCD0001 /H /F /S128 /R632?DEVICEHIGH=C:\DOS\BIN\UIDE2.SYS /D:FDCD0001 /H /F /S128 /R6312?DEVICEHIGH=C:\DOS\NET\IFSHLP.SYSREM /Txx= Set xx as text modeREM /P = Pass unknown requests to CON:12?DEVICEHIGH=C:\DOS\BIN\NANSI.SYS /P /T5C /T5E /T6A /T70 /T71 /T72 /T73 /T74 /T75REM /E: = Environment sizeREM /P= = Autoexec.bat location12?SHELLHIGH=C:\DOS\BIN\4DOS.COM C:\DOS\BIN /E:1024 /P=C:\AUTOEXEC.BAT9?SHELL =C:\DOS\BIN\4DOS.COM C:\DOS\BIN /E:1024 /P=C:\AUTOEXEC.BAT
AUTOEXEC.BAT:
@ECHO OFFSET BLASTER=A220 I5 D1 T4CALL FDAUTO.BAT >& BOOT.LOGECHO.ECHO *** FREEDOS r2041 ***ECHO.ECHO %@DOSMEM[b] BYTES FREE.ECHO.ECHO READY.ECHO.
FDAUTO.BAT:
@ECHO OFFSET /R C:\DOS\ENV\DEFAULT.VARREM -h = Human readable file sizeREM -a = Show all filesREM -G = Do not show user groupREM -X = Sort by extensionALIAS LS=*LS --color=auto -haGXALIAS REBOOT=FDAPM WARMBOOTALIAS HALT=FDAPM POWEROFFALIAS SPINDOWN=FDAPM SPINDOWNBREAK ONIF "%CONFIG%"=="9" GOTO NODRIVERSLH DIRCOLORS -b C:\DOS\ENV\DIRCOLOR.CFGCALL YMF719REM FastVid 001CALL FV 0REM CuteMouseREM /P = PS/2 portREM /3 = Three-button mouseIF "%CONFIG%"=="1" LH CTMOUSE /P /3REM Logitech mouse driverREM PS2 = PS/2 portREM Sn = Speed nIF "%CONFIG%"=="2" LH MOUSE PS2 S05LH FDAPM APMBIOSREM $P = Current directory in uppercaseREM $g = >PROMPT $P$gREM Rate 32 = 30 cpsREM Delay 1 = 1/4 secMODE CON: RATE=32 DELAY=1CLS:NODRIVERS


