1
0
Fork 0

Tandy: Add 16kb of DOS memory. Fixes bad graphics in Mickey's Space Adventure and Chuck Yeager's Air Combat, as well as flickering screens in Ghostbusters.

Patch by ripsaw8080

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3626
This commit is contained in:
Ralf Grillenberger 2010-07-28 20:56:12 +00:00
parent 8d916cfa5a
commit dc0732f09f
2 changed files with 2 additions and 2 deletions

View file

@ -436,7 +436,7 @@ void DOS_SetupMemory(void) {
if (machine==MCH_TANDY) {
/* memory up to 608k available, the rest (to 640k) is used by
the tandy graphics system's variable mapping of 0xb800 */
mcb.SetSize(0x97FF - DOS_MEM_START - mcb_sizes);
mcb.SetSize(0x9BFF - DOS_MEM_START - mcb_sizes);
} else if (machine==MCH_PCJR) {
/* memory from 128k to 640k is available */
mcb_devicedummy.SetPt((Bit16u)0x2000);

View file

@ -869,7 +869,7 @@ public:
if (IS_TANDY_ARCH) {
/* reduce reported memory size for the Tandy (32k graphics memory
at the end of the conventional 640k) */
if (machine==MCH_TANDY) mem_writew(BIOS_MEMORY_SIZE,608);
if (machine==MCH_TANDY) mem_writew(BIOS_MEMORY_SIZE,624);
else mem_writew(BIOS_MEMORY_SIZE,640);
mem_writew(BIOS_TRUE_MEMORY_SIZE,640);
} else mem_writew(BIOS_MEMORY_SIZE,640);