1
0
Fork 0

Only give dos 32kb less memory in tandy mode instead of the old 128kb

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1838
This commit is contained in:
Sjoerd van der Berg 2004-06-18 07:37:38 +00:00
parent 59fffaf3cd
commit 2d644554c4

View file

@ -193,9 +193,9 @@ void DOS_SetupMemory(void) {
DOS_MCB mcb((Bit16u)MEM_START+2);
mcb.SetPSPSeg(MCB_FREE); //Free
if (machine!=MCH_TANDY) {
mcb.SetSize(0x9FFE - MEM_START - 2);
} else mcb.SetSize(0x7FFE - MEM_START - 2);
if (machine==MCH_TANDY) {
mcb.SetSize(0x97FE - MEM_START - 2);
} else mcb.SetSize(0x9FFE - MEM_START - 2);
mcb.SetType(0x5a); //Last Block
dos.firstMCB=MEM_START;