- Source: IO.SYS
IO.SYS is an essential part of MS-DOS and Windows 9x. It contains the default MS-DOS device drivers (hardware interfacing routines) and the DOS initialization program.
Boot sequence
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:
Loads the rest of itself into memory.
Initializes each default device driver in turn (console, disk, serial port, etc..). At this point, the default devices are available.
Loads the DOS kernel and calls its initialization routine. The kernel is stored in MSDOS.SYS with MS-DOS and in IO.SYS with Windows 9x. At this point, "normal" file access is available.
Processes the MSDOS.SYS file with Windows 9x.
Processes the CONFIG.SYS file, in MS-DOS 2.0 and higher and Windows 9x.
Loads COMMAND.COM (or other operating system shell if specified).
Displays the bootsplash in Windows 9x. If LOGO.SYS is present, it is used as the bootsplash. Otherwise, the bootsplash in IO.SYS is used.
The IO.SYS filename was also used by Disk Control Program (DCP), an MS-DOS derivative by the former East-German VEB Robotron.
IBM PC DOS and DR DOS use the file IBMBIO.COM for the same purpose; it in turn loads IBMDOS.COM.
In Windows 9x, the IO.SYS not only contains the DOS BIOS, but also holds the DOS kernel, which previously resided in MSDOS.SYS. Under some conditions, Windows 9x uses the alternative filenames WINBOOT.SYS or JO.SYS instead. When Windows 9x is installed over a preexisting DOS install, the Windows file may be temporarily named IO.W40 for as long as Windows' dual-boot feature has booted the previous OS. Likewise, the IO.SYS of the older system is named IO.DOS for as long as Windows 9x is active.
DR-DOS 7.06 (only this version) also follows this scheme and the IO.SYS filename in order to become bootable via MS-DOS boot sectors.
Similarly, FreeDOS uses a combined system file as well, but names it KERNEL.SYS.
Disk layout requirements
The two first entries of the root directory must be allocated by IO.SYS and MSDOS.SYS, in that order.
IO.SYS must be the first file stored in the FAT directory table for files.
The files IO.SYS and MSDOS.SYS must be contiguous.
However, MS-DOS version 3.3 allows sector 4 and higher to be fragmented; version 5.0 allows the first 3 sectors of IO.SYS to be allocated anywhere (as long as they are contiguous).
COMMAND.COM can be treated like any ordinary file.
See also
MSDOS.SYS
IBMBIO.COM
DRBIOS.SYS
COMMAND.COM
List of DOS system files
Hardware abstraction layer (HAL)
Remote Program Load
Architecture of Windows 9x
Notes
References
Kata Kunci Pencarian:
- MSDOS.SYS
- CONFIG.SYS
- Cakram but
- BIOS
- Partisi (sistem berkas)
- Kubernetes
- Solidity
- Rantai blok
- Systemd
- Bentley Systems
- IO.SYS
- CONFIG.SYS
- .sys
- Architecture of Windows 9x
- Io
- MSDOS.SYS
- DOS
- Comparison of DOS operating systems
- List of DOS system files
- SYS (command)