1
0
Fork 0

raise umb segment size, update LOADHIGH help text

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2619
This commit is contained in:
Sebastian Strohhäcker 2006-04-29 10:05:55 +00:00
parent de851a79a5
commit b1fb54123b
2 changed files with 4 additions and 9 deletions

View file

@ -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

View file

@ -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 <stdlib.h>
#include <stdarg.h>
@ -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");