Ch01 - How Hardware and Software Works Together
Ch01 - How Hardware and Software Works Together
Ch01 - How Hardware and Software Works Together
How different
The steps involved in
operating systems
booting your computer
work
Hardware and Software
Interaction: An Overview
• Software
• Intelligence of the computer
• Determines what hardware is present
• Decides how hardware is configured and used
• Uses hardware to perform tasks
• Consists of programs that instruct computers to perform
specific tasks
Hardware and Software
Interaction
Operating System (OS)
An 8-bit ISA slot contains physical IRQ lines only for IRQ 02 through IRQ 07 because IRQ 00 and IRQ 01 are reserved for system
functions. A 16-bit ISA slot contains physical IRQ lines for IRQs 03 through 07, 09 through 12, 14, and 15. IRQ 09 is mapped to
IRQ 02, allowing 8-bit ISA cards to recognize IRQ 09 as IRQ 02. IRQs 00, 01, 02, 08, and 13 are not present in any slot, and so
cannot be assigned to devices.
16/32-bit ISA/PCI standard IRQ cont..
IRQ Bus Type Typically used by
08 None System CMOS/real-time clock
09 8/16-bit Redirected from IRQ 02; network interface
10 16-bit Network interface; USB host controller
11 16-bit Video adapter; SCSI host adapter
12 16-bit PS/2 mouse port
13 none Numeric data processor (math coprocessor)
14 16-bit Primary IDE interface
15 16-bit Secondary IDE interface
An 8-bit ISA slot contains physical IRQ lines only for IRQ 02 through IRQ 07 because IRQ 00 and IRQ 01 are reserved for system
functions. A 16-bit ISA slot contains physical IRQ lines for IRQs 03 through 07, 09 through 12, 14, and 15. IRQ 09 is mapped to
IRQ 02, allowing 8-bit ISA cards to recognize IRQ 09 as IRQ 02. IRQs 00, 01, 02, 08, and 13 are not present in any slot, and so
cannot be assigned to devices.
IRQs
Windows
Mac OS
Shadowing ROM
continued…
Functions Performed
During the Boot
4. Startup BIOS finds the OS, which is loaded,
configured, and executed
5. Hardware devices are matched up with the BIOS
and device drivers that control them
6. Some application software may be loaded and
executed
Startup BIOS Controls the
Beginning of the Boot
• Startup BIOS is in control for first three steps and
beginning of the fourth, where control is turned
over to the OS
Steps in the Boot Process
• Step 1: POST
• Step 2: ROM BIOS startup program searches for
and loads an OS (most often from logical drive C
on the hard drive)
• Step 3: OS configures the system and completes its
own loading
• Step 4: User executes application software
Boot Step 1: POST
Boot Step 2: How BIOS
Finds/Loads the OS
Boot Step 3: Loading the
MS-DOS Core of Windows 9x
Autoexec.bat
continued…
Typical Commands in
Autoexec.bat File
• Set command
• Appends a path to Path command without editing
existing Path command line itself
(eg, SET PATH=%PATH%;C:\VERT)
• Creates and assigns a value to an environmental variable
that can later be read by an application (eg, SET
MYPATH=C:\VERT)
Chapter Summary