请输入您要查询的百科知识:

 

词条 IO.SYS
释义

  1. Boot sequence

  2. Disk layout requirements

  3. See also

  4. References

  5. External links

{{distinguish|IOSYS}}{{refimprove|date=August 2014}}{{Mono|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 {{Mono|IO.SYS}} into memory and transfers control to it. {{Mono|IO.SYS}} then:

  1. Loads the rest of itself into memory.
  2. Initializes each default device driver in turn (console, disk, serial port, etc..). At this point, the default devices are available.
  3. Loads the DOS kernel and calls its initialization routine. The kernel is stored in {{Mono|MSDOS.SYS}} with MS-DOS and in {{Mono|IO.SYS}} with Windows 9x. At this point, "normal" file access is available.
  4. Processes the {{Mono|MSDOS.SYS}} file with Windows 9x.
  5. Processes the {{Mono|CONFIG.SYS}} file, in MS-DOS 2.0 and higher and Windows 9x.
  6. Loads {{Mono|COMMAND.COM}} (or other operating system shell if specified).
  7. Displays the bootsplash in Windows 9x. If {{Mono|LOGO.SYS}} is present, it is used as the bootsplash. Otherwise, the bootsplash in {{Mono|IO.SYS}} is used.

IBM PC DOS and DR DOS use the file IBMBIO.COM for the same purpose; it in turn loads IBMDOS.COM.

Disk layout requirements

  • The two first entries of the root directory must be allocated by {{Mono|IO.SYS}} and {{Mono|MSDOS.SYS}}, in that order.
  • {{Mono|IO.SYS}} must be the first file stored in the FAT directory table for files.
  • The files {{Mono|IO.SYS}} + {{Mono|MSDOS.SYS}} must be contiguous.

However, v3.3 allows sector 4 and higher to be fragmented. v5.0 allows the first 3 sectors of {{Mono|IO.SYS}} to be allocated anywhere (as long as they are contiguous). {{Mono|COMMAND.COM}} can be treated like any ordinary file.

See also

  • MSDOS.SYS
  • COMMAND.COM
  • IBMBIO.COM
  • List of DOS system files

References

External links

  • MS-DOS Device Driver Names Cannot be Used As File Names — includes list of default device drivers.
  • SYS.COM Requirements in MS-DOS Versions 2.0-6.0 — includes requirements for IO.SYS to be loaded.
{{operating-system-stub}}{{Windows-stub}}

1 : DOS files

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/30 6:34:29