These files are used for initialization and runtime configuration of DOSEMU
These are the functions defined in base/init/init.c.
Initialize stdio, open debugging output file if user specified one
Tells the OS to send us periodic timer messages
Map the video bios into main memory
Setup the dosemu amazing custom BIOS, quietly overwriting anything was copied there before. Do not overwrite graphic fonts!
Set up all memory areas as would be present on a typical i86 during the boot phase.
Calls all initialization routines for devices (keyboard, video, serial, disks, etc.)
Initializes the lower 1Meg via mmap & sets up the HMA region
Find version of OS running and set necessary global parms.
These are the functions defined in base/init/config.c.
Process user CPU override from the config file ('cpu xxx') or from the command line. Returns the selected CPU identifier or -1 on error.
register a function Enforce consistency upon the `config` structure after all values have been set to remove silly option combinations
Complement of register_config_scrub This removes a scrub function.
Enforce consistency upon the `config` structure after all values have been set to remove silly option combinations
This is called to parse the command-line arguments and config files.
For simpler support of X, DOSEMU can be started by a symbolic link called `xdos` which DOSEMU will use to switch into X-mode.