allow 8KB minimum after all.

This commit is contained in:
Jonathan Campbell
2014-03-23 19:01:05 -07:00
parent d57b8e9ea3
commit 654758ea5f

View File

@@ -516,10 +516,10 @@ void DOS_SetupMemory(void) {
#ifndef DEBUG_ALLOC
/* NTS: Testing suggests we can push as low as 8KB. However, Wikipedia and
* other sites suggest that the IBM PC only went as low as 16KB when
* it first sold, and even that wasn't too typical. So we'll enforce
* 16KB or higher for emulation accuracy. */
if (seg_limit < ((16*1024)/16))
E_Exit("Standard PC requires at least 16K");
* it first sold, and even that wasn't too typical. But what the hell,
* we'll allow 8KB. */
if (seg_limit < ((8*1024)/16))
E_Exit("Standard PC requires at least 8K");
#endif
/* complete memory up to 640k available */