-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOS kernel init order fixup, IO.SYS, MSDOS.SYS, and "built-in" device drivers #289
Comments
Also noteworthy is that MS-DOS 5.0 appears to install new device drivers at the head of the list, after the "NUL" device. Having HIMEM.SYS and SMARTDRV.SYS installed in CONFIG.SYS, the list becomes:
|
Part of this accuracy improvement is that DOSBox-X's HIMEM.SYS emulation should not just register XMSXXXX0 but add it to the aforementioned linked list. |
Init order, according to Wikipedia: In the PC bootup sequence, the first sector of the boot disk is loaded into memory and executed. If this is the DOS boot sector, it loads the first three sectors of IO.SYS into memory and transfers control to it. IO.SYS then:
|
We should also add a config.sys section to dosbox.conf, which would consist of DEVICE= commands for the DOSBox-X kernel to load SYS files from. A special command (something like @import) would instruct DOSBox-X to parse a file of the user's choice as CONFIG.SYS. |
https://en.wikipedia.org/wiki/IO.SYS
DOSBox-X should create all common device drivers that exist on MS-DOS. IO.SYS is said to include built-in drivers, regardless of actual hardware.
Here is a List of Lists dump of MS-DOS 5.0:
You can tell which ones are built-in to IO.SYS by the segment value "0070:"
I'm guessing the one block device driver is responsible for A:, C:, etc.
The text was updated successfully, but these errors were encountered: