From b1fb54123b9f3a7d989e967cdea3570d68035c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Sat, 29 Apr 2006 10:05:55 +0000 Subject: [PATCH] raise umb segment size, update LOADHIGH help text Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2619 --- src/dos/dos_memory.cpp | 9 ++------- src/shell/shell.cpp | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/dos/dos_memory.cpp b/src/dos/dos_memory.cpp index 5a8b737b..b588961a 100644 --- a/src/dos/dos_memory.cpp +++ b/src/dos/dos_memory.cpp @@ -305,13 +305,8 @@ bool DOS_FreeMemory(Bit16u segment) { void DOS_BuildUMBChain(const char* use_umbs,bool ems_active) { if ((strcmp(use_umbs,"false")!=0) && (machine!=MCH_TANDY)) { - Bit16u first_umb_seg=0xca00; - Bit16u first_umb_size=0x600; - - if (strcmp(use_umbs,"max")==0) { - first_umb_seg-=0x100; - first_umb_size+=0x100; - } + Bit16u first_umb_seg=0xc800; + Bit16u first_umb_size=0x800; dos_infoblock.SetStartOfUMBChain(UMB_START_SEG); dos_infoblock.SetUMBChainState(0); // UMBs not linked yet diff --git a/src/shell/shell.cpp b/src/shell/shell.cpp index 29c272e7..855bacee 100644 --- a/src/shell/shell.cpp +++ b/src/shell/shell.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: shell.cpp,v 1.72 2006-02-26 15:58:49 qbix79 Exp $ */ +/* $Id: shell.cpp,v 1.73 2006-04-29 10:05:55 c2woody Exp $ */ #include #include @@ -504,7 +504,7 @@ void SHELL_Init() { MSG_Add("SHELL_CMD_COPY_HELP","Copy files.\n"); MSG_Add("SHELL_CMD_CALL_HELP","Start a batch file from within another batch file.\n"); MSG_Add("SHELL_CMD_SUBST_HELP","Assign an internal directory to a drive.\n"); - MSG_Add("SHELL_CMD_LOADHIGH_HELP","Run a program. For batch file compatibility only.\n"); + MSG_Add("SHELL_CMD_LOADHIGH_HELP","Loads a program into upper memory (requires xms=true,umb=true).\n"); MSG_Add("SHELL_CMD_CHOICE_HELP","Waits for a keypress and sets ERRORLEVEL.\n"); MSG_Add("SHELL_CMD_ATTRIB_HELP","Does nothing. Provided for compatibility.\n"); MSG_Add("SHELL_CMD_PATH_HELP","Provided for compatibility.\n");