Technical article 102156

Largest executable DOS program size is much smaller than conventional memory.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

The mem /c command under DOS Merge shows that the largest executable
program size is much smaller than the amount of conventional memory
under one megabyte.  This limitation is preventing the execution of
large DOS applications.

Cause

Some parts of conventional memory are being used by DOS, TSRs and device drivers.

Solution

Log in to the system as root.

Remove all unnecessary device driver entries from AUTOEXEC.BAT.

Replace the /etc/default/codeset file with the stripped-down version
shown below.  This stripped-down file has disabled the localized
features such as codepage and keyboard to save memory.
NOTE: This file is for a Merge 3.2.2 system.  If you are running an
earlier version of Merge, you should change the STATICMERGE pathname.

COUNTRY= KEYB= CODEPAGE= DOS_IMAGE_NLSFUNC=off DOS_VGA_HARDWARE_CODEPAGE= DOS_VGA_SOFT_CODEPAGE= VARMERGE=/usr/merge STATICMERGE=/opt/K/SCO/Merge/3.2.2t/usr/lib/merge MERGE_CD_DEV_NAME=/dev/cd0 MERGE_MAXOPEN=500 MERGE_AUTOBACKGROUND=on DOS_LOG=+ XCRT_LOG=+ MERGE_SMARTDRV_PARAM=512 512 MERGE_ROOT_HOME=/usr/merge/rhome MERGE_AUTOCREATE_LOCKDIR=off

Run /usr/bin/mkimg to re-create the DOS images.

Re-start DOS Merge.

From the Xinuos technical article database, record 102156. Reproduced with permission. The original is at www.sco.com/ta/102156, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.