begin implementation by first "switching into" the emulation from the
IBM PC emulation DOSBox-X is so good at now. We can work from there.
Eventually instead of checking a flag we can begin using MCH_PC98 and
video mode M_PC98.
now enforce refusal to handle 2GB or larger files (in
the same way Linux has already been doing for a long
time). It turns out the inability to IMGMOUNT large files
is tied to the use of stat() at one point. Using a #define
to mask stat vs stat64 vs _stati64 and the stat struct
resolves the issue.
bugfix: IMGMOUNT sizes[] array is pre-initialized to zero
now instead of letting random stack garbage determine disk
geometry in cases where -sizes is not given and DOSBox is
unable to autodetect geometry. Added code to fill in the
missing geometry with a reasonable guess. The guess is
reasonable enough to get Windows 98 SE to boot from an 8GB
disk image, at least.
BIOS to act like PC-98 and the video to act like NEC µPD7220 display
controller). does not work at this time, but is there as a reminder of
future development work on DOSBox-X to widen the base of DOS-based
platforms it can emulate.
E_Exit() if someone attempts to delete an event while the event is
executing (which is far better than GLIBC crashing DOSBox with a
double-free error!). Certain demos like PANIC! seem to trigger that
from something else within DOSBox.