Update Tandy emulation vs memsizekb setting, add FIXME reminders, etc

This commit is contained in:
Jonathan Campbell
2021-03-22 23:22:52 -07:00
parent 6f66922f8c
commit 88a99c1226
2 changed files with 19 additions and 15 deletions

View File

@@ -559,11 +559,10 @@ void DOS_SetupMemory(void) {
if (machine==MCH_TANDY) {
if (seg_limit < ((384*1024)/16))
E_Exit("Tandy requires at least 384K");
/* memory up to 608k available, the rest (to 640k) is used by
the tandy graphics system's variable mapping of 0xb800 */
/*
mcb.SetSize(0x9BFF - DOS_MEM_START - mcb_sizes);
*/ mcb.SetSize(/*0x9BFF*/(seg_limit-0x801) - DOS_MEM_START - mcb_sizes);
/* map memory as normal, the BIOS initialization is the code responsible
* for subtracting 32KB from top of system memory for video memory. */
mcb.SetSize(/*normally 0x97FF*/(seg_limit-1) - DOS_MEM_START - mcb_sizes);
} else if (machine==MCH_PCJR) {
DOS_MCB mcb_devicedummy((uint16_t)0x2000);