SlideShare a Scribd company logo
1 of 24
How Hardware and Software Work Together
Zainab Almugbel
Community College
Imam AbdulRahman Bin Faisal University
You Will Learn…
• How hardware and software interact
• How system resources help hardware and
software communicate
• The steps involved in booting your
computer
Categories of PC Software
• BIOS (basic input/output system) and
device drivers
• Operating system (OS)
• Application software
Categories of BIOS (Firmware)
• System BIOS
– To control I/O devices
• Startup BIOS
– To control startup of computer
• CMOS setup
– To change setup information
Device Drivers
• Small programs stored on hard drive that
tell computer how to communicate with an
I/O device
• Necessary for communication between
OS and more complex devices
Operating System (OS)
• Works with system BIOS and device
drivers to provide instructions to hardware
to perform tasks
System Resources
• Tools used by hardware or software to
communicate with the other:
– Memory addresses
– I/O addresses
– Interrupt request numbers (IRQs)
– Direct memory access (DMA) channels
• All four types depend on certain lines on a
bus on the motherboard
System Resources
ISA Slot
Stands for "Industry Standard Architecture." ISA is a type of
bus used in PCs for adding expansion cards. For example,
an ISA slot may be used to add a video card, a network
card, or an extra serial port
IRQs
Use Device Manager to See
How IRQs Are Assigned
Use Device Manager to See
How IRQs Are Assigned
Memory Addresses
• Hexadecimal numbers, often written in
segment/offset form, assigned to RAM
and ROM so that the CPU can access
both
How Memory Addresses
Are Assigned
• CPU has fixed number of memory addresses,
determined by CPU and the bus it is using
• They can be assigned to any type of physical
memory in the system that needs to be
addressed by the CPU
• Once addresses have been assigned (usually
during boot process), CPU sees physical
memory as a single list that can be accessed
using memory addresses
• Number of memory addresses partly depends
on size of memory bus
I/O Addresses
• Numbers the CPU can use to access
hardware devices, in much the same way
it uses memory addresses to access
physical memory
• Also called port addresses or ports
I/O Addresses
DMA Channels
• Provide shortcut method so an I/O device can
send data directly to memory, bypassing the
CPU
• A chip on the motherboard contains DMA logic
and manages the process
Booting up Your Computer
• Refers to the computer bringing itself up to an
operable state without user intervention
• Hard boot (cold boot)
– Involves initially turning on power with on/off switch
– More stressful than soft boot because of initial power
surge through equipment
• Soft boot (warm boot)
– Uses OS to reboot
– Faster than hard boot
Functions Performed
During the Boot
1. Startup BIOS tests essential hardware
components (power-on self test or
POST)
2. Setup information is used to configure
both hardware and software
3. Hardware components are assigned
system resources they will later use for
communication
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
Summary
• How hardware and software work together
• What happens when a PC is turned on OS is
loaded
• System resources
– Interrupt request number (IRQ)
– Memory addresses
– I/O addresses
– DMA channels
• Booting up the computer
how hardware and software works together

More Related Content

What's hot

Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Jesthine Nesshal
 
Cpu presentation
Cpu presentationCpu presentation
Cpu presentationHarry Singh
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating SystemsDamian T. Gordon
 
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. pptNaveen Sihag
 
Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)k33a
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentationSonu Vishwakarma
 
Internal System Unit Components
Internal System Unit ComponentsInternal System Unit Components
Internal System Unit Componentsolivixjohnson
 
Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)Coder Tech
 
Pc components
Pc componentsPc components
Pc componentsFrya Lora
 
08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)Akhila Dakshina
 
Motherboard, It's Functions and It's Components
Motherboard, It's Functions and It's ComponentsMotherboard, It's Functions and It's Components
Motherboard, It's Functions and It's ComponentsPreSolutions Softwares
 

What's hot (20)

Operating systems
Operating systemsOperating systems
Operating systems
 
Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Bios ( Basic Input Output System )
Bios ( Basic Input Output System )
 
Processors
ProcessorsProcessors
Processors
 
Cpu presentation
Cpu presentationCpu presentation
Cpu presentation
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
 
Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)
 
CD DRIVE
CD DRIVECD DRIVE
CD DRIVE
 
Hardware
HardwareHardware
Hardware
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentation
 
Bios
Bios Bios
Bios
 
Internal System Unit Components
Internal System Unit ComponentsInternal System Unit Components
Internal System Unit Components
 
Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)Mother board (Part's of Motherboard)
Mother board (Part's of Motherboard)
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Motherboard Components
Motherboard Components Motherboard Components
Motherboard Components
 
Pc components
Pc componentsPc components
Pc components
 
08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)08. Central Processing Unit (CPU)
08. Central Processing Unit (CPU)
 
Motherboard, It's Functions and It's Components
Motherboard, It's Functions and It's ComponentsMotherboard, It's Functions and It's Components
Motherboard, It's Functions and It's Components
 
Motherboard ppt
Motherboard pptMotherboard ppt
Motherboard ppt
 
Boot process: BIOS vs UEFI
Boot process: BIOS vs UEFIBoot process: BIOS vs UEFI
Boot process: BIOS vs UEFI
 

Similar to how hardware and software works together

Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing HardwarePatty Ramsey
 
Embedded Systems Overview
Embedded Systems OverviewEmbedded Systems Overview
Embedded Systems OverviewSameer Rapate
 
CSS L04 - Integral Parts of the Computer System
CSS L04 - Integral Parts of the Computer SystemCSS L04 - Integral Parts of the Computer System
CSS L04 - Integral Parts of the Computer SystemMarvin Bronoso
 
BIOS2-May-9.ppt
BIOS2-May-9.pptBIOS2-May-9.ppt
BIOS2-May-9.pptMarkyNara
 
What is operating system
What is operating systemWhat is operating system
What is operating systemSuvithak
 
operating systemPPT sfgSun< Shg<SKJ <JSg
operating systemPPT sfgSun< Shg<SKJ <JSgoperating systemPPT sfgSun< Shg<SKJ <JSg
operating systemPPT sfgSun< Shg<SKJ <JSgDashrath5
 
COMPONENTS OF COMPUTER SYSTEM.pptx
COMPONENTS OF COMPUTER SYSTEM.pptxCOMPONENTS OF COMPUTER SYSTEM.pptx
COMPONENTS OF COMPUTER SYSTEM.pptxMagdaLo1
 
computer & input devices
computer & input devicescomputer & input devices
computer & input devicesAJAL A J
 
Presentation007
Presentation007Presentation007
Presentation007ajaytank
 
Computer Main Comppponents.pdf
Computer Main Comppponents.pdfComputer Main Comppponents.pdf
Computer Main Comppponents.pdfthinalost
 
motherboard.pptx
motherboard.pptxmotherboard.pptx
motherboard.pptxRaviRaval36
 
Input - output organzation
Input - output organzationInput - output organzation
Input - output organzationdaxesh chauhan
 

Similar to how hardware and software works together (20)

In out system
In out systemIn out system
In out system
 
Ch12 io systems
Ch12   io systemsCh12   io systems
Ch12 io systems
 
Ch01
Ch01Ch01
Ch01
 
Chapter01Introducing Hardware
Chapter01Introducing HardwareChapter01Introducing Hardware
Chapter01Introducing Hardware
 
Ch1 introduction
Ch1   introductionCh1   introduction
Ch1 introduction
 
Embedded Systems Overview
Embedded Systems OverviewEmbedded Systems Overview
Embedded Systems Overview
 
CSS L04 - Integral Parts of the Computer System
CSS L04 - Integral Parts of the Computer SystemCSS L04 - Integral Parts of the Computer System
CSS L04 - Integral Parts of the Computer System
 
BIOS2-May-9.ppt
BIOS2-May-9.pptBIOS2-May-9.ppt
BIOS2-May-9.ppt
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
operating systemPPT sfgSun< Shg<SKJ <JSg
operating systemPPT sfgSun< Shg<SKJ <JSgoperating systemPPT sfgSun< Shg<SKJ <JSg
operating systemPPT sfgSun< Shg<SKJ <JSg
 
COMPONENTS OF COMPUTER SYSTEM.pptx
COMPONENTS OF COMPUTER SYSTEM.pptxCOMPONENTS OF COMPUTER SYSTEM.pptx
COMPONENTS OF COMPUTER SYSTEM.pptx
 
computer & input devices
computer & input devicescomputer & input devices
computer & input devices
 
Presentation007
Presentation007Presentation007
Presentation007
 
Roll of os
Roll of osRoll of os
Roll of os
 
Roll of os
Roll of osRoll of os
Roll of os
 
BIOS AND OS
BIOS AND OSBIOS AND OS
BIOS AND OS
 
Laptop Basic Knowledge
Laptop Basic KnowledgeLaptop Basic Knowledge
Laptop Basic Knowledge
 
Computer Main Comppponents.pdf
Computer Main Comppponents.pdfComputer Main Comppponents.pdf
Computer Main Comppponents.pdf
 
motherboard.pptx
motherboard.pptxmotherboard.pptx
motherboard.pptx
 
Input - output organzation
Input - output organzationInput - output organzation
Input - output organzation
 

More from Zainab Almugbel

مسألة الألوهية في الإسلام والمسيحية
مسألة الألوهية في الإسلام والمسيحيةمسألة الألوهية في الإسلام والمسيحية
مسألة الألوهية في الإسلام والمسيحيةZainab Almugbel
 
Ontology based approach for annotating a corpus of computer science abstracts
Ontology based approach for annotating a corpus of computer science abstractsOntology based approach for annotating a corpus of computer science abstracts
Ontology based approach for annotating a corpus of computer science abstractsZainab Almugbel
 
Lesson Sample Fourth Elementary Grade English Course
Lesson Sample Fourth Elementary Grade English Course Lesson Sample Fourth Elementary Grade English Course
Lesson Sample Fourth Elementary Grade English Course Zainab Almugbel
 
Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...
Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...
Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...Zainab Almugbel
 
Introduction to transaction processing concepts and theory
Introduction to transaction processing concepts and theoryIntroduction to transaction processing concepts and theory
Introduction to transaction processing concepts and theoryZainab Almugbel
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for filesZainab Almugbel
 
Ch 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingCh 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingZainab Almugbel
 
An Introductory Presentation Sample for the First Week of the Semester
An Introductory Presentation Sample for the First Week of the SemesterAn Introductory Presentation Sample for the First Week of the Semester
An Introductory Presentation Sample for the First Week of the SemesterZainab Almugbel
 
Database concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class ActivitiesDatabase concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class ActivitiesZainab Almugbel
 

More from Zainab Almugbel (14)

مسألة الألوهية في الإسلام والمسيحية
مسألة الألوهية في الإسلام والمسيحيةمسألة الألوهية في الإسلام والمسيحية
مسألة الألوهية في الإسلام والمسيحية
 
Ontology based approach for annotating a corpus of computer science abstracts
Ontology based approach for annotating a corpus of computer science abstractsOntology based approach for annotating a corpus of computer science abstracts
Ontology based approach for annotating a corpus of computer science abstracts
 
Lesson Sample Fourth Elementary Grade English Course
Lesson Sample Fourth Elementary Grade English Course Lesson Sample Fourth Elementary Grade English Course
Lesson Sample Fourth Elementary Grade English Course
 
Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...
Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...
Representing, Querying, and Visualizing Health-Insurance Knowledge in a Cost-...
 
Preventive Maintenance
Preventive MaintenancePreventive Maintenance
Preventive Maintenance
 
computer maintenance
computer maintenance computer maintenance
computer maintenance
 
Introduction to Network
Introduction to NetworkIntroduction to Network
Introduction to Network
 
Introduction to transaction processing concepts and theory
Introduction to transaction processing concepts and theoryIntroduction to transaction processing concepts and theory
Introduction to transaction processing concepts and theory
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for files
 
Ch 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingCh 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashing
 
Grailog Use Case
Grailog Use CaseGrailog Use Case
Grailog Use Case
 
An Introductory Presentation Sample for the First Week of the Semester
An Introductory Presentation Sample for the First Week of the SemesterAn Introductory Presentation Sample for the First Week of the Semester
An Introductory Presentation Sample for the First Week of the Semester
 
Database concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class ActivitiesDatabase concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class Activities
 
Graph Database
Graph DatabaseGraph Database
Graph Database
 

Recently uploaded

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 

Recently uploaded (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 

how hardware and software works together

  • 1. How Hardware and Software Work Together Zainab Almugbel Community College Imam AbdulRahman Bin Faisal University
  • 2. You Will Learn… • How hardware and software interact • How system resources help hardware and software communicate • The steps involved in booting your computer
  • 3.
  • 4. Categories of PC Software • BIOS (basic input/output system) and device drivers • Operating system (OS) • Application software
  • 5. Categories of BIOS (Firmware) • System BIOS – To control I/O devices • Startup BIOS – To control startup of computer • CMOS setup – To change setup information
  • 6. Device Drivers • Small programs stored on hard drive that tell computer how to communicate with an I/O device • Necessary for communication between OS and more complex devices
  • 7. Operating System (OS) • Works with system BIOS and device drivers to provide instructions to hardware to perform tasks
  • 8. System Resources • Tools used by hardware or software to communicate with the other: – Memory addresses – I/O addresses – Interrupt request numbers (IRQs) – Direct memory access (DMA) channels • All four types depend on certain lines on a bus on the motherboard
  • 10. ISA Slot Stands for "Industry Standard Architecture." ISA is a type of bus used in PCs for adding expansion cards. For example, an ISA slot may be used to add a video card, a network card, or an extra serial port
  • 11.
  • 12. IRQs
  • 13. Use Device Manager to See How IRQs Are Assigned
  • 14. Use Device Manager to See How IRQs Are Assigned
  • 15. Memory Addresses • Hexadecimal numbers, often written in segment/offset form, assigned to RAM and ROM so that the CPU can access both
  • 16. How Memory Addresses Are Assigned • CPU has fixed number of memory addresses, determined by CPU and the bus it is using • They can be assigned to any type of physical memory in the system that needs to be addressed by the CPU • Once addresses have been assigned (usually during boot process), CPU sees physical memory as a single list that can be accessed using memory addresses • Number of memory addresses partly depends on size of memory bus
  • 17. I/O Addresses • Numbers the CPU can use to access hardware devices, in much the same way it uses memory addresses to access physical memory • Also called port addresses or ports
  • 19. DMA Channels • Provide shortcut method so an I/O device can send data directly to memory, bypassing the CPU • A chip on the motherboard contains DMA logic and manages the process
  • 20. Booting up Your Computer • Refers to the computer bringing itself up to an operable state without user intervention • Hard boot (cold boot) – Involves initially turning on power with on/off switch – More stressful than soft boot because of initial power surge through equipment • Soft boot (warm boot) – Uses OS to reboot – Faster than hard boot
  • 21. Functions Performed During the Boot 1. Startup BIOS tests essential hardware components (power-on self test or POST) 2. Setup information is used to configure both hardware and software 3. Hardware components are assigned system resources they will later use for communication continued…
  • 22. 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
  • 23. Summary • How hardware and software work together • What happens when a PC is turned on OS is loaded • System resources – Interrupt request number (IRQ) – Memory addresses – I/O addresses – DMA channels • Booting up the computer