diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-07-21 16:38:18 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-07-21 16:43:54 -0400 |
commit | c98424c5ae973b9bd252696200a0ac8d91465340 (patch) | |
tree | 2f60de8a58e5be3d413b229d6b66a65330cc7911 /src/Kconfig | |
parent | eac11944019ca331db860445ff24455e647662a0 (diff) | |
download | seabios-hppa-c98424c5ae973b9bd252696200a0ac8d91465340.zip seabios-hppa-c98424c5ae973b9bd252696200a0ac8d91465340.tar.gz seabios-hppa-c98424c5ae973b9bd252696200a0ac8d91465340.tar.bz2 |
Default unused UMB areas to be read-only.
It looks like MSDOS 6 wants the UMB area to be read-only in order for
it to use it. FreeDOS doesn't care, but it always maps a page from
high mem when it does use the area. So, add an option to control
whether unused UMB ram is marked read-only and default it to read-only
as that seems to be more compatible.
This also fixes an off-by-one bug in the shadow range checking code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index 5e2db8b..3a4d580 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -362,6 +362,18 @@ menu "BIOS interfaces" default n help Disable A20 on 16bit boot. + + config WRITABLE_UPPERMEMORY + depends on QEMU + bool "Make unused UMB memory read/writeable." + default n + help + When selected, the "Upper Memory Block" area + (0x90000-0xa0000) that is not used for option roms will be + made writable. This allows the ram to be directly + modified by programs. However, some old DOS high memory + managers may require the UMB region to be read-only. + endmenu menu "BIOS Tables" |