1
0
Fork 0

Move internal dos table segment to d800. Gives some more umbs. Fixes Terminator Arcade.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2647
This commit is contained in:
Peter Veenstra 2006-06-05 18:01:24 +00:00
parent c0eb7704fc
commit 14456f435a
2 changed files with 3 additions and 3 deletions

View file

@ -306,7 +306,7 @@ 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=0xc800;
Bit16u first_umb_size=0x800;
Bit16u first_umb_size=0x1000;
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: dos_tables.cpp,v 1.22 2006-02-09 11:47:48 qbix79 Exp $ */
/* $Id: dos_tables.cpp,v 1.23 2006-06-05 18:01:24 qbix79 Exp $ */
#include "dosbox.h"
#include "mem.h"
@ -73,7 +73,7 @@ static Bit8u country_info[0x22] = {
};
void DOS_SetupTables(void) {
dos_memseg=0xd000;
dos_memseg=0xd800;
Bit16u seg,seg2;Bitu i;
dos.tables.mediaid=RealMake(DOS_GetMemory(4),0);
dos.tables.tempdta=RealMake(DOS_GetMemory(4),0);