Changes to significantly reduce the emulator's RAM footprint.
Changes to the memory manager reduced by 120MB for machines with CPU < 80386. Changes to the 86F diskette data processor (required by all floppy controllers) reduced by 330M. Test machine OpenXT now runs at 240MB, instead of 680MB.
This commit is contained in:
7
src/pc.c
7
src/pc.c
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Main emulator module where most things are controlled.
|
||||
*
|
||||
* Version: @(#)pc.c 1.0.8 2018/03/13
|
||||
* Version: @(#)pc.c 1.0.9 2018/03/14
|
||||
*
|
||||
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||
* Miran Grca, <mgrca8@gmail.com>
|
||||
@@ -640,7 +640,8 @@ pc_reload(wchar_t *fn)
|
||||
fdd_load(2, floppyfns[2]);
|
||||
fdd_load(3, floppyfns[3]);
|
||||
|
||||
mem_resize();
|
||||
mem_reset();
|
||||
|
||||
network_init();
|
||||
|
||||
pc_reset_hard_init();
|
||||
@@ -777,7 +778,7 @@ pc_reset_hard_init(void)
|
||||
|
||||
/* Reset the general machine support modules. */
|
||||
io_init();
|
||||
mem_resize();
|
||||
mem_reset();
|
||||
timer_reset();
|
||||
device_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user