forked from dosemu2/dosemu2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XMS: allow mappings up to $_dpmi_base + cleanups
XMS now allows mappings up to $_dpmi_base but the mappings need to start at 15MB to allow DMA. If XMS is disabled ($_xms=(0)), extmem can then go up to $_dpmi_base, otherwise up to 15MB. To allow mapping all XMS memory, $_xms is now limited to be <= config.xms_map_size = dpmi_base - (1024+64)k - extmem, otherwise Crusader Demo will complain (dosemu2#1880) All the config checks are now done in a scrub function, to allow clean early exit.
- Loading branch information
1 parent
2a0b157
commit 9205fbd
Showing
1 changed file
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters