aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'memdisk/setup.c')
-rw-r--r--memdisk/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/memdisk/setup.c b/memdisk/setup.c
index 583570ea..a52f136c 100644
--- a/memdisk/setup.c
+++ b/memdisk/setup.c
@@ -654,7 +654,7 @@ __cdecl void setup(__cdecl syscall_t cs_syscall, void *cs_bounce)
do_edd ? "on" : "off");
/* Reserve the ramdisk memory */
- insertrange(ramdisk_image, ramdisk_size, 2);
+ insertrange(ramdisk_image, ramdisk_size, 2, 1);
parse_mem(); /* Recompute variables */
/* Figure out where it needs to go */
@@ -772,7 +772,7 @@ __cdecl void setup(__cdecl syscall_t cs_syscall, void *cs_bounce)
/* Reserve this range of memory */
wrz_16(BIOS_BASEMEM, driveraddr >> 10);
- insertrange(driveraddr, dos_mem-driveraddr, 2);
+ insertrange(driveraddr, dos_mem-driveraddr, 2, 1);
parse_mem();
pptr->mem1mb = low_mem >> 10;