Input/Output.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
Lecture Objectives: 1)Explain the limitations of flash memory. 2)Define wear leveling. 3)Define the term IO Transaction 4)Define the terms synchronous.
Avishai Wool lecture Introduction to Systems Programming Lecture 8 Input-Output.
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
INPUT-OUTPUT ORGANIZATION
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
CHAPTER 5 I/O PRINCIPLE Understand the principles of System Bus
Input/OUTPUT [I/O Module structure].
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Input and Output Computer Organization and Assembly Language: Module 9.
Cpr E 308 Input/Output Recall: OS must abstract out all the details of specific I/O devices Today –Block and Character Devices –Hardware Issues – Programmed.
Interrupts and DMA CSCI The Role of the Operating System in Performing I/O Two main jobs of a computer are: –Processing –Performing I/O manage and.
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
CS 342 – Operating Systems Spring 2003 © Ibrahim Korpeoglu Bilkent University1 Input/Output CS 342 – Operating Systems Ibrahim Korpeoglu Bilkent University.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
Input/Output Computer component : Input/Output I/O Modules External Devices I/O Modules Function and Structure I/O Operation Techniques I/O Channels and.
Input-Output Organization
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
Fall 2000M.B. Ibáñez Lecture 25 I/O Systems. Fall 2000M.B. Ibáñez Categories of I/O Devices Human readable –used to communicate with the user –video display.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Processor Memory Processor-memory bus I/O Device Bus Adapter I/O Device I/O Device Bus Adapter I/O Device I/O Device Expansion bus I/O Bus.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
CS4315A. Berrached:CMS:UHD1 Operating Systems and Computer Organization Chapter 4.
بسم الله الرحمن الرحيم MEMORY AND I/O.
I/O: Input-Output By: Tommy Zeng. What is I/O? I/O – short for “Input – Output” How a computer interacts with its users Input – gets information from.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Part IVI/O Systems Chapter 13: I/O Systems. I/O Hardware a typical PCI bus structure 2.
Amdahl’s Law & I/O Control Method 1. Amdahl’s Law The overall performance of a system is a result of the interaction of all of its components. System.
Computer Organization and Architecture + Networks Lecture 6 Input/Output.
CSCE451/851 Introduction to Operating Systems
Computer Organization and Design
Input/Output (I/O) Important OS function – control I/O
Computer System Structures
Input/Output Device Drivers
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
Operating Systems (CS 340 D)
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
I/O system.
CS 286 Computer Organization and Architecture
CS703 - Advanced Operating Systems
Overview Peripheral Devices Input-Output Interface
Computer Architecture
CSCI 315 Operating Systems Design
ECEG-3202 Computer Architecture and Organization
Operating Systems Chapter 5: Input/Output Management
Chapter 8 I/O.
COMPUTER PERIPHERALS AND INTERFACES
Computer Architecture and Assembly Language
Created by Vivi Sahfitri
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
Computer System Overview
UNIT-III Pin Diagram Of 8086
Jazan University, Jazan KSA
Chapter 13: I/O Systems.
Microprocessor I 7/18/2019.
A CCESSING I/O DEVICES. I/O devices accessed through I/O interface. Requirements for I/O interface: –CPU communication –Device communication –Data buffering.
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

Input/Output

Objective Issue commands to the devices Catch interrupts Handle errors Provide user interface

I/O Device Classification Based on data flow : Block device Save and transfer data as blocks, example : disk, tape, CDROM, optical disk Character device Save and transfer data as character, example : terminal, printer line, mouse

Basic Concept I/O device is connected to computer by port. Communicate with processor and other devices by bus. Communication between devices and processor – 2 methods – memory mapped and direct I/O instruction. Processor repeatedly checks for available access to devices – polling I/O Device tells processor for available access – interrupt

Register for I/O Port - Data-in register - Data-out register - Status - Control

Bus Structure

Processor – I/O Communication Direct I/O instruction each control register is assigned an I/O port number, an 8- or 16-bit integer. Example : IN REG,PORT (read), OUT PORT,REG (write) Memory mapped I/O registers are part of the regular memory address space, Direct I/O instruction Memory Mapped

Interrupt Because of : Available to be accessed Output Error Steps : Controller sends interrupt signal using interrupt request line, detected by processor Processor saves the state of process and identify interrupt Control transfer to interrupt handler Processor continues its job

Direct Memory Access