Styrning av in/ut-matning. Input/output devices [in/ut-enheter] provide a means for people to make use of a computer. Datorsystem.

Size: px
Start display at page:

Download "Styrning av in/ut-matning. Input/output devices [in/ut-enheter] provide a means for people to make use of a computer. Datorsystem."

Transcription

1 Fö 4 In/Ut In/ut-enheter Styrning av in/ut-matning In/ut-kanalenheter Zebo Peng, IDA, LiTH 1 Input/Output Devices Input/output devices [in/ut-enheter] provide a means for people to make use of a computer. Datorsystem Inenhet Dator Utenhet Sekundärminne There are two major types of I/O devices: 0 Interactive devices, e.g., a terminal. 0 Indirect devices, e.g., a printer. Secondary memories can also be considered as I/O devices. Zebo Peng, IDA, LiTH 2 1

2 Characteristics of I/O Since I/O devices run at much slower speed than the CPU, special technical must be used to control them to avoid that the CPU has to wait for them all the time. Some I/O devices function as an interface between a computer system and other physical systems. Such interface usually consists of A/D and D/A converters. Temperature sensor A/D Datorsystem Dator D/A Heater current Sekundärminne Zebo Peng, IDA, LiTH 3 Input Device Examples Device Keyboard [tangentbord] Features Like a typewriter Advantages Efficient for inputting text Disadvantages Relatively slow, speed depends on operator Terminal [terminal] I/O together As above. Can also have intelligent As above Mouse [mus] Move around on the desk Efficient for iconbased input, and menu selection Needs much software support Joystick [joystick] Used for games and control As above and relatively fast Needs much software support Zebo Peng, IDA, LiTH 4 2

3 Input Device Ex (Cont d) Device Features Advantages Disadvantages Light pen [ljuspenna] Point at screen Easy to use Needs much software to make it versatile Graphics tablet Graphics input Input picture and freehand sketch Very slow Scanner [scanner] Copy pictures Fast input of graphics Bit-mapped graphics only Voice input [talat ljud] User friendly No hands needed Limited vocabulary, speech recognition software needed Zebo Peng, IDA, LiTH 5 Output Device Examples Device Features Advantages Disadvan. Speed Display Screen [bildskärm] Most versatile, both text and graphics No waste of paper etc. No hard copy Terminal [terminal] As above, I/O together As above. Can have intelligent As above Line printer [radskrivare] Impact printer, Very fast. Can cope with high volume Large versions are very noisy up to 8000 cps Dot matrix printer [matrisskrivare] Versatile text and graphics Inexpensive low quality and speed up to 300 cps Zebo Peng, IDA, LiTH 6 3

4 Output Device Examples (Cont d) Device Features Advantages Disadvan. Speed Laser printer [laserskrivare] High quality text and graphics Very fast, high volume (used to be) relatively expensive A page per second Plotter High quality graphics large graphics output possible Large machine, expensive Pen up to 1 meter/s Voice output Natural for certain applications Don t need to use eyes (used to be) Limited range of sounds Normal speech A plotter Zebo Peng, IDA, LiTH 7 Typical I/O Data Rates Zebo Peng, IDA, LiTH 8 4

5 Input/Output Module An I/O module is responsible for the control of one or several devices, and for the exchange of data between the devices and the main memory and/or CPU registers. CPU MM Zebo Peng, IDA, LiTH 9 Control and timing CPU communication Device communication Functions of an I/O Module Data buffering Error detection CPU MM Zebo Peng, IDA, LiTH 10 5

6 Control of I/O Devices 1. Programmed I/O [programstyrning] 0 The input and output are controlled by I/O instructions, for example, READ and WRITE. 0 The instructions specify: the I/O operation to perform; the device by giving its address (its ID number). 0 The CPU will wait for the I/O operation to be finished before it executes the next instruction. 0 Since the I/O devices are usually very slow, the CPU has to wait instead of doing useful work. This is therefore an inefficient method. Zebo Peng, IDA, LiTH 11 Execution flow of a WRITE instruction: Programmed I/O Example Select I/O device Send data to the device interface Check device status no Ready? yes Next instruction Zebo Peng, IDA, LiTH 12 6

7 Control of I/O Devices (Cont d) Interrupt-driven I/O [avbrottsstyrning] 0 After the CPU sends an initialization signal to an I/O device, it continues with the execution of the program. 0 When the I/O device is ready or wants to get the attention of the CPU, it sends an interrupt signal [avbrottssignal, brytsignal] to the CPU. 0 When the CPU receives an interrupt signal, it will first finish the execution of the current instruction and then execute an interrupt service routine (ISR). 0 The interrupt mechanism is used to free the CPU from having to check periodically on external devices to see it they are in need of any attention. Zebo Peng, IDA, LiTH 13 Interrupt Service Routine (ISR) Save all status information which is needed to resume execution of the current sequence of instructions. Deal with the interrupt, for example, by reading data from the input device. Restore the saved status information and resumes execution of the interrupted program. interrupt routine current sequence original sequence resumed interrupt Zebo Peng, IDA, LiTH 14 7

8 Instruction Cycle w. Interrupts Start Fetch next instruction Fetch cycle Stop Interrupts disabled Execute instruction Execute cycle Interrupts enabled Check for and process interrupt Interrupt cycle Zebo Peng, IDA, LiTH 15 Multiple Interrupts A new interrupt occurs while the current interrupt is being processed. 0 Disabled interrupt approach: CPU ignores new interrupt signal while processing an interrupt. 0 Priority-based approach: An interrupt of higher priority will interrupt the processing of a lower-priority interrupt. interrupt routine current sequence interrupt original sequence resumed Zebo Peng, IDA, LiTH 16 8

9 Multiple Interrupts A new interrupt occurs while the current interrupt is being processed. 0 Disabled interrupt approach: CPU ignores new interrupt signals while processing an interrupt. 0 Priority-based approach: An interrupt of higher priority will interrupt the processing of a lower-priority interrupt ISR Higher-priority interrupt ISR Lower-priority interrupt current sequence interrupt original sequence resumed Zebo Peng, IDA, LiTH 17 Control of I/O Devices (Cont d) Direct Memory Access (DMA) [direkt minnesaccess]: 0 Allow the transfer of a whole block of data from an I/O device directly to the memory without going through the CPU. CPU Main Memory I/O device control info stop finish A N DMA A DMA has essentially the same function as the data transfer capabilities of the CPU. Zebo Peng, IDA, LiTH 18 9

10 I/O Channels and Processor I/O Channels [In/Ut-Kanalenheter]: 0 Consisting of a special-purpose processor which executes I/O instructions stored in the main memory. 0 The CPU specifies a sequence of I/O activities to be performed by the I/O processor, and is only interrupted when the entire sequence has been performed. I/O Processor [In/Ut-Processenheter]: 0 Consisting of a processor and its local memory, thus it is itself a computer. 0 It is usually used to control communication with interactive terminals. Zebo Peng, IDA, LiTH 19 I/O Operation Summary The data exchange of a computer system with the outside world is provided by the I/O devices. Since computers deal with many different types of users and interface also with many different systems, there is a large variety of I/O devices. We need also a wide variety techniques to control the I/O devices, due to the large differences between various methods of I/O operations. The I/O function is usually the most unreliable part of a computer system, and we need techniques for error detection and recovery. Zebo Peng, IDA, LiTH 20 10

Control unit. Input/output devices provide a means for us to make use of a computer system. Computer System. Computer.

Control unit. Input/output devices provide a means for us to make use of a computer system. Computer System. Computer. Lecture 6: I/O and Control I/O operations Control unit Microprogramming Zebo Peng, IDA, LiTH 1 Input/Output Devices Input/output devices provide a means for us to make use of a computer system. Computer

More information

Input / Output. School of Computer Science G51CSA

Input / Output. School of Computer Science G51CSA Input / Output 1 Overview J I/O module is the third key element of a computer system. (others are CPU and Memory) J All computer systems must have efficient means to receive input and deliver output J

More information

Structure of an Operating System

Structure of an Operating System Fö 11: OS Minneshantering och virtuellt minne Virtuella I/U-enheter och Filsystemet Multisystem Zebo Peng, IDA, LiTH 1 Structure of an Operating System The Onion Model [Lökmodellen]: Användarprocesser

More information

Today: Computer System Overview (Stallings, chapter ) Next: Operating System Overview (Stallings, chapter ,

Today: Computer System Overview (Stallings, chapter ) Next: Operating System Overview (Stallings, chapter , Lecture Topics Today: Computer System Overview (Stallings, chapter 1.1-1.8) Next: Operating System Overview (Stallings, chapter 2.1-2.4, 2.8-2.10) 1 Announcements Syllabus and calendar available Consulting

More information

Module- 6 I/O Organization and Peripherals

Module- 6 I/O Organization and Peripherals Module- 6 I/O Organization and Peripherals Motivation: The following are the motivational factors for an I/O organization: The presence of a wide variety of peripherals with various methods of operation

More information

Chapter Three. Hardware Basics: Peripherals

Chapter Three. Hardware Basics: Peripherals Chapter Three Hardware Basics: Peripherals After reading this chapter, you should be able to: List examples of input devices and explain how they can make it easier to get different types of information

More information

Chapter 1. Computer Fundamentals-I

Chapter 1. Computer Fundamentals-I 1. Input Devices: Chapter 1. Computer Fundamentals-I The devices which are used to input the data and the programs in the computer are known as "Input Devices" or Input device can read data and convert

More information

Mismatch of CPU and MM Speeds

Mismatch of CPU and MM Speeds Fö 3 Cache-Minne Introduction Cache design Replacement and write policy Zebo Peng, IDA, LiTH Mismatch of CPU and MM Speeds Cycle Time (nano second) 0 4 0 3 0 0 Main Memory CPU Speed Gap (ca. one order

More information

Lecture 2: Memory Systems

Lecture 2: Memory Systems Lecture 2: Memory Systems Basic components Memory hierarchy Cache memory Virtual Memory Zebo Peng, IDA, LiTH Many Different Technologies Zebo Peng, IDA, LiTH 2 Internal and External Memories CPU Date transfer

More information

ICT IGCSE Theory Revision Presentation 2.1 Input devices and their uses

ICT IGCSE Theory Revision Presentation 2.1 Input devices and their uses ICT IGCSE Theory Revision Presentation The key concepts covered in this chapter are: >> Input devices and their uses >> Direct data entry and associated devices >> Output devices and their uses Identify

More information

Digital Literacy. Identify types of computers, how they process information, and the purpose and function of different hardware components

Digital Literacy. Identify types of computers, how they process information, and the purpose and function of different hardware components Digital Literacy Identify types of computers, how they process information, and the purpose and function of different hardware components Computer Basics 1.01 Types of Computers Input and Output Devices

More information

Hardware and Software - Revision Summary

Hardware and Software - Revision Summary Hardware and Software - Revision Summary Complete this worksheet to provide a study tool for this chapter. Hardware Hardware is Peripheral hardware includes Hardware Functions Function Description Examples

More information

Day 2. Central Processing Unit (CPU) + Input Devices + Output Devices

Day 2. Central Processing Unit (CPU) + Input Devices + Output Devices Day 2 Central Processing Unit (CPU) + Input Devices + Output Devices 4-10-2015 5-10-2015 20 Central Processing Unit (CPU) 21 Central Processing Unit (CPU) of a PC The Central Processing Unit (CPU) is the

More information

Chapter 7 : Input-Output Organization

Chapter 7 : Input-Output Organization Chapter 7 Input-Output organization 7.1 Peripheral devices In addition to the processor and a set of memory modules, the third key element of a computer system is a set of input-output subsystem referred

More information

CSC 553 Operating Systems

CSC 553 Operating Systems CSC 553 Operating Systems Lecture 1- Computer System Overview Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users Manages secondary memory

More information

Chapter 19: Multimedia

Chapter 19: Multimedia Ref. Page Slide 1/16 Learning Objectives In this chapter you will learn about: Multimedia Multimedia computer system Main components of multimedia and their associated technologies Common multimedia applications

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

Lesson 2 Essential Computer Concepts

Lesson 2 Essential Computer Concepts Essential Computer Concepts Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition 1 Objectives Identify and describe standard and specialized input devices. Identify and describe standard

More information

Lesson 2: Input, Output, and Processing

Lesson 2: Input, Output, and Processing Lesson 2: Input, Output, and Processing TRUE/FALSE 1. After data is processed, it is presented to the user through an input device. ANS: F REF: Mod1-28 2. A laser virtual keyboard is packaged in a case

More information

Chapter 1 Computer System Overview

Chapter 1 Computer System Overview Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Ninth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides

More information

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14 CS 134 Operating Systems April 8, 2013 Lecture 20 Input/Output Instructor: Neil Rhodes Hardware How hardware works Operating system layer What the kernel does API What the programmer does Overview 2 kinds

More information

ICT IGCSE Theory Revision Presentation 1.4 Types of computer

ICT IGCSE Theory Revision Presentation 1.4 Types of computer Describe the characteristics of a personal/desktop computer and its uses, both as a standalone and networked computer Describe the characteristics of a laptop computer and what it is used for, both as

More information

Form 3. Half Yearly Exam Revision

Form 3. Half Yearly Exam Revision Form 3 Half Yearly Exam Revision What is the difference between data and information? What is the difference between data and information? Data is the representation of information Information is the things

More information

Computers Are Your Future

Computers Are Your Future Computers Are Your Future 2006 Prentice-Hall, Inc. Computers Are Your Future Chapter 7 Input/Output and Storage 2006 Prentice-Hall, Inc Slide 2 Input Input is any data entered into the computer s memory

More information

Dawood Public School Course Outline Computer Studies Class VI

Dawood Public School Course Outline Computer Studies Class VI Dawood Public School Course Outline 2016-17 Computer Studies Class VI Month August September October November The evolution of computers The evolution of computers Spreadsheet Input devices December Mid-Year

More information

AN INTRODUCTION TO THE COMPUTER

AN INTRODUCTION TO THE COMPUTER AN INTRODUCTION TO THE COMPUTER COMPUTER a machine that follows instructions to accomplish a task HARDWARE Any physical components of a computer SOFTWARE Any instructions followed by the computer CATEGORIES

More information

4.03 IT PowerPoint. Objective 4.03 Understand Information Technology activities and careers.

4.03 IT PowerPoint. Objective 4.03 Understand Information Technology activities and careers. 4.03 IT PowerPoint Objective 4.03 Understand Information Technology activities and careers. What Is A Computer? An electronic device that receives data, processes data, stores data, and produces a result

More information

Computer Organization ECE514. Chapter 5 Input/Output (9hrs)

Computer Organization ECE514. Chapter 5 Input/Output (9hrs) Computer Organization ECE514 Chapter 5 Input/Output (9hrs) Learning Outcomes Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge

More information

ECE 341. Lecture # 19

ECE 341. Lecture # 19 ECE 341 Lecture # 19 Instructor: Zeshan Chishti zeshan@ece.pdx.edu December 3, 2014 Portland State University Announcements Final exam is on Monday, December 8 from 5:30 PM to 7:20 PM Similar format and

More information

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2. BASIC ELEMENTS Simplified view: Processor Slide 1 Computer System Overview Operating Systems Slide 3 Main Memory referred to as real memory or primary memory volatile modules 2004/S2 secondary memory devices

More information

Computer System Overview

Computer System Overview Computer System Overview Operating Systems 2005/S2 1 What are the objectives of an Operating System? 2 What are the objectives of an Operating System? convenience & abstraction the OS should facilitate

More information

Computer Systems Overview

Computer Systems Overview Computer Systems Overview Maurizio Pizzonia slides adattate da W. Stalling Operating Systems: Internals and Design Principles http://williamstallings.com/os/os5e.html 1 Basic Elements Processor Main Memory

More information

Computers Are Your Future Prentice-Hall, Inc.

Computers Are Your Future Prentice-Hall, Inc. Computers Are Your Future 2006 Prentice-Hall, Inc. Computers Are Your Future Chapter 7 Input/Output and Storage 2006 Prentice-Hall, Inc Slide 2 What You Will Learn About ü The purpose of special keys and

More information

Module 6: INPUT - OUTPUT (I/O)

Module 6: INPUT - OUTPUT (I/O) Module 6: INPUT - OUTPUT (I/O) Introduction Computers communicate with the outside world via I/O devices Input devices supply computers with data to operate on E.g: Keyboard, Mouse, Voice recognition hardware,

More information

Computer Science (330)

Computer Science (330) Lesson 1 Anatomy of a Digital Computer Sr. Secondary Course (Syllabus) Computer Science (330) 1.3 Functions and Components of a Computer 1.3.1 How the CPU and Memory work 1.4 Input devices 1.4.1 Keyboard

More information

QUIZ Ch.6. The EAT for a two-level memory is given by:

QUIZ Ch.6. The EAT for a two-level memory is given by: QUIZ Ch.6 The EAT for a two-level memory is given by: EAT = H Access C + (1-H) Access MM. Derive a similar formula for three-level memory: L1, L2 and RAM. Hint: Instead of H, we now have H 1 and H 2. Source:

More information

Answer to exercises chap 13.2

Answer to exercises chap 13.2 Answer to exercises chap 13.2 The advantage of supporting memory-mapped I/O to device-control registers is that it eliminates the need for special I/O instructions from the instruction set and therefore

More information

Information Technology Training Package ICA99

Information Technology Training Package ICA99 The Components of a Computer System The basic components of the computer have not varied since the earliest computers were made in the early 1950 s. The only real changes have been in the number and variety

More information

INPUT AND OUTPUT DEVICES ANSWER KEY

INPUT AND OUTPUT DEVICES ANSWER KEY INPUT AND OUTPUT DEVICES ANSWER KEY 1. Graph plotter and projector 2. Remote control- operating a television Keyboard- entering text when writing a book Touch screen selecting options in a tourist information

More information

Information Technology

Information Technology Information Technology Output Devices Lecture 6 Presented by Miss N. Nembhard Output Devices Receives an electrical signal and produces data or information. The purpose of an output device is to translate

More information

INPUT/OUTPUT DEVICES Dr. Bill Yi Santa Clara University

INPUT/OUTPUT DEVICES Dr. Bill Yi Santa Clara University INPUT/OUTPUT DEVICES Dr. Bill Yi Santa Clara University (Based on text: David A. Patterson & John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, 3 rd Ed., Morgan Kaufmann,

More information

INPUT-OUTPUT ORGANIZATION

INPUT-OUTPUT ORGANIZATION 1 INPUT-OUTPUT ORGANIZATION Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes of Transfer Priority Interrupt Direct Memory Access Input-Output Processor Serial Communication 2

More information

EN1640: Design of Computing Systems Topic 07: I/O

EN1640: Design of Computing Systems Topic 07: I/O EN1640: Design of Computing Systems Topic 07: I/O Professor Sherief Reda http://scale.engin.brown.edu Electrical Sciences and Computer Engineering School of Engineering Brown University Spring 2017 [ material

More information

Today: I/O Systems. Architecture of I/O Systems

Today: I/O Systems. Architecture of I/O Systems Today: I/O Systems How does I/O hardware influence the OS? What I/O services does the OS provide? How does the OS implement those services? How can the OS improve the performance of I/O? Lecture 20, page

More information

ICT IGCSE Theory Revision Presentation 2.1 Input devices and their uses

ICT IGCSE Theory Revision Presentation 2.1 Input devices and their uses Identify input devices and their uses, e.g. keyboard, numeric keypad, pointing devices (such as mouse, touchpad, tracker ball), remote control, joystick/driving wheel, touch screen, scanners, digital cameras,

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

The Lester Vaughan School Information Technology (Theory) Unit Plans Year 1 Term 1

The Lester Vaughan School Information Technology (Theory) Unit Plans Year 1 Term 1 The Lester Vaughan School Information Technology (Theory) Unit Plans Year 1 Term 1 1 Orientation Know why they are in class Display an understanding of the subject Display knowledge of basic IT components

More information

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 TOPICS TODAY I/O Architectures Interrupts Exceptions FETCH EXECUTE CYCLE 1.7 The von Neumann Model This is a general

More information

COMPUTER BASICS LECTURER: ATHENA TOUMBOURI

COMPUTER BASICS LECTURER: ATHENA TOUMBOURI COMPUTER BASICS LECTURER: ATHENA TOUMBOURI WHAT IS A COMPUTER SCIENCE? The definition of computer science is a branch of engineering science that studies the technology and the principles of computers.

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

SECTION 2 (Part B) Types And Components Of Computer Systems. Sophia Pratzioti

SECTION 2 (Part B) Types And Components Of Computer Systems. Sophia Pratzioti SECTION 2 (Part B) Types And Components Of Computer Systems 2 Hardware & Software Hardware: is the physical parts of the computer system the part that you can touch and see. Hardware can be either external

More information

THE CPU SPENDS ALMOST ALL of its time fetching instructions from memory

THE CPU SPENDS ALMOST ALL of its time fetching instructions from memory THE CPU SPENDS ALMOST ALL of its time fetching instructions from memory and executing them. However, the CPU and main memory are only two out of many components in a real computer system. A complete system

More information

Dawood Public School Computer Studies Course Outline for Class VI. Course book- Right Byte 1 Fourth edition (Oxford University Press)

Dawood Public School Computer Studies Course Outline for Class VI. Course book- Right Byte 1 Fourth edition (Oxford University Press) Dawood Public School Computer Studies Course Outline for 2017-2018 Class VI Course book- Right Byte 1 Fourth edition (Oxford University Press) Month wise Distribution of Course Work August The Evolution

More information

Section I Section Real Time Systems. Processes. 1.6 Input/Output Management. (Textbook: A. S. Tanenbaum Modern OS - ch. 5)

Section I Section Real Time Systems. Processes. 1.6 Input/Output Management. (Textbook: A. S. Tanenbaum Modern OS - ch. 5) EE206: Software Engineering IV 1.6 Input/Output page 1 of 9 Section I Section Real Time Systems. Processes 1.6 Input/Output Management (Textbook: A. S. Tanenbaum Modern OS - ch. 5) Input/Output Overview

More information

by I.-C. Lin, Dept. CS, NCTU. Textbook: Operating System Concepts 8ed CHAPTER 13: I/O SYSTEMS

by I.-C. Lin, Dept. CS, NCTU. Textbook: Operating System Concepts 8ed CHAPTER 13: I/O SYSTEMS by I.-C. Lin, Dept. CS, NCTU. Textbook: Operating System Concepts 8ed CHAPTER 13: I/O SYSTEMS Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests

More information

Running Applications

Running Applications Running Applications Computer Hardware Central Processing Unit (CPU) CPU PC IR MAR MBR I/O AR I/O BR To exchange data with memory Brain of Computer, controls everything Few registers PC (Program Counter):

More information

5.b Principles of I/O Hardware CPU-I/O communication

5.b Principles of I/O Hardware CPU-I/O communication Three communication protocols between CPU and I/O 1. Programmed I/O (or polling or busy waiting ) the CPU must repeatedly poll the device to check if the I/O request completed 2. Interrupt-driven I/O the

More information

CSC227: Operating Systems Fall Chapter 1 INTERRUPTS. Dr. Soha S. Zaghloul

CSC227: Operating Systems Fall Chapter 1 INTERRUPTS. Dr. Soha S. Zaghloul CSC227: Operating Systems Fall 2016 Chapter 1 INTERRUPTS Dr. Soha S. Zaghloul LAYOUT 1.3 Devices Controlling Techniques 1.3.1 Polling 1.3.2 Interrupts H/W Interrupts Interrupt Controller Process State

More information

Input devices are hardware devices that allow data to be entered into a computer.

Input devices are hardware devices that allow data to be entered into a computer. 1.4.2 Input Devices Input devices are hardware devices that allow data to be entered into a computer. Input devices are part of the four main hardware components of a computer system. The Image below shows

More information

(Refer Slide Time 00:01:09)

(Refer Slide Time 00:01:09) Computer Organization Part I Prof. S. Raman Department of Computer Science & Engineering Indian Institute of Technology Lecture 3 Introduction to System: Hardware In the previous lecture I said that I

More information

Input/Output Interfaces: Ch

Input/Output Interfaces: Ch Input/Output Interfaces: Ch 8.1-8.3 hardware software H/w s/w interface Problems Algorithms Prog. Lang & Interfaces Instruction Set Architecture Microarchitecture (Organization) Circuits Devices (Transistors)

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 2 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 2 System I/O System I/O (Chap 13) Central

More information

Interrupts Peter Rounce - room 6.18

Interrupts Peter Rounce - room 6.18 Interrupts Peter Rounce - room 6.18 P.Rounce@cs.ucl.ac.uk 20/11/2006 1001 Interrupts 1 INTERRUPTS An interrupt is a signal to the CPU from hardware external to the CPU that indicates than some event has

More information

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them)

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them) Computers are useful machines, but they are generally useless by themselves. Computers are usually part of a system a computer system includes: Hardware (machines) Software (programs, applications) Communication

More information

I/O Systems. Jo, Heeseung

I/O Systems. Jo, Heeseung I/O Systems Jo, Heeseung Today's Topics Device characteristics Block device vs. Character device Direct I/O vs. Memory-mapped I/O Polling vs. Interrupts Programmed I/O vs. DMA Blocking vs. Non-blocking

More information

Computer Architecture and Organization: L10: I/O Organization

Computer Architecture and Organization: L10: I/O Organization Computer Architecture and Organization: L10: I/O Organization By: A. H. Abdul Hafez Abdul.hafez@hku.edu.tr, ah.abdulhafez@gmail.com, hafez@research.iiit.ac.in 1 CAO, by Dr. A.H. Abdul Hafez, CE Dept. HKU

More information

KULLEĠĠ SAN BENEDITTU Secondary School, Kirkop

KULLEĠĠ SAN BENEDITTU Secondary School, Kirkop KULLEĠĠ SAN BENEDITTU Secondary School, Kirkop Mark HALF YEARLY EXAMINATION 2016/2017 Year 8 ICT TIME: 1h 30min Question 1 2 3 4 5 6 7 8 9 Global Mark Max. Mark 6 15 8 9 16 14 16 7 9 100 Mark DO NOT WRITE

More information

Digital Design Laboratory Lecture 6 I/O

Digital Design Laboratory Lecture 6 I/O ECE 280 / CSE 280 Digital Design Laboratory Lecture 6 I/O Input/Output Module Interface to CPU and Memory Interface to one or more peripherals Generic Model of I/O Module External Devices Human readable

More information

Computer Organization

Computer Organization Chapter 5 Computer Organization Figure 5-1 Computer hardware :: Review Figure 5-2 CPU :: Review CPU:: Review Registers are fast stand-alone storage locations that hold data temporarily Data Registers Instructional

More information

Identify Components of the. Motherboard

Identify Components of the. Motherboard Identify Components of the Chipset Motherboard Collection of chips that work together to provide the switching circuitry needed to move data throughout the computer 2013 Pearson Education, Inc. Publishing

More information

CS330: Operating System and Lab. (Spring 2006) I/O Systems

CS330: Operating System and Lab. (Spring 2006) I/O Systems CS330: Operating System and Lab. (Spring 2006) I/O Systems Today s Topics Block device vs. Character device Direct I/O vs. Memory-mapped I/O Polling vs. Interrupts Programmed I/O vs. DMA Blocking vs. Non-blocking

More information

I/O. University of Texas at Austin CS310H - Computer Organization Spring 2010 Don Fussell

I/O. University of Texas at Austin CS310H - Computer Organization Spring 2010 Don Fussell I/O University of Texas at Austin CS310H - Computer Organization Spring 2010 Don Fussell I/O: Connecting to Outside World So far, we ve learned how to: compute with values in registers load data from memory

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2011 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2010 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

GCSE ICT AQA Specification A (Short Course) Summary

GCSE ICT AQA Specification A (Short Course) Summary GCSE ICT AQA Specification A (Short Course) Summary 9.1 The general structure of information systems Understand that information systems may be described in terms of inputs, storage, processing, outputs

More information

Input Devices. Types of Input Devices: 1)Keyboard:

Input Devices. Types of Input Devices: 1)Keyboard: Input Devices An input device is any hardware device that sends data to a computer, allowing you to interact with and control the computer. The most commonly used or primary input devices on a computer

More information

Input Output (IO) Management

Input Output (IO) Management Input Output (IO) Management Prof. P.C.P. Bhatt P.C.P Bhatt OS/M5/V1/2004 1 Introduction Humans interact with machines by providing information through IO devices. Manyon-line services are availed through

More information

ECE331: Hardware Organization and Design

ECE331: Hardware Organization and Design ECE331: Hardware Organization and Design Lecture 31: Computer Input/Output Adapted from Computer Organization and Design, Patterson & Hennessy, UCB Overview for today Input and output are fundamental for

More information

Homeschool Enrichment. Input & Output

Homeschool Enrichment. Input & Output Homeschool Enrichment Input & Output Overview This chapter covers: Different types of keyboards and pointing devices Types of scanners, readers, and digital cameras What audio input is Types of display

More information

ICT IGCSE Theory Revision Presentation 2.3 Output devices and their uses

ICT IGCSE Theory Revision Presentation 2.3 Output devices and their uses Identify output devices and their uses, e.g. CRT monitor, TFT/LCD monitor, IPS/LCD monitor, LED monitor, touch screen (as an output device), multimedia projector, laser printer, inkjet printer, dot matrix

More information

GCSE ICT AQA Specification A (Full Course) Summary

GCSE ICT AQA Specification A (Full Course) Summary GCSE ICT AQA Specification A (Full Course) Summary Areas not covered by the short course are shown in red. 9.1 The general Understand that information systems may be 1 structure of information systems

More information

Output refers to data or information presented or removed from a computer.

Output refers to data or information presented or removed from a computer. output devices Output refers to data or information presented or removed from a computer. Output devices are devices capable of displaying, removing or getting data and information from a computer. FoRMs

More information

Computer Hardware. Lect 3: Input / System Unit/Output & Storage

Computer Hardware. Lect 3: Input / System Unit/Output & Storage Computer Hardware Lect 3: Input / System Unit/Output & Storage 1 Input Devices: Giving Commands Input is any data or instructions that are entered into a computer. An input device is a type of hardware

More information

CSE 120. Overview. July 27, Day 8 Input/Output. Instructor: Neil Rhodes. Hardware. Hardware. Hardware

CSE 120. Overview. July 27, Day 8 Input/Output. Instructor: Neil Rhodes. Hardware. Hardware. Hardware CSE 120 July 27, 2006 Day 8 Input/Output Instructor: Neil Rhodes How hardware works Operating Systems Layer What the kernel does API What the programmer does Overview 2 Kinds Block devices: read/write

More information

Interrupts Peter Rounce

Interrupts Peter Rounce Interrupts Peter Rounce P.Rounce@cs.ucl.ac.uk 22/11/2011 11-GC03 Interrupts 1 INTERRUPTS An interrupt is a signal to the CPU from hardware external to the CPU that indicates than some event has occured,

More information

Principles of Operating Systems CS 446/646

Principles of Operating Systems CS 446/646 Principles of Operating Systems CS 446/646 5. Input/Output a. Overview of the O/S Role in I/O b. Principles of I/O Hardware c. I/O Software Layers Overview of the I/O software Interrupt handlers Device

More information

Operating Systems 2010/2011

Operating Systems 2010/2011 Operating Systems 2010/2011 Input/Output Systems part 1 (ch13) Shudong Chen 1 Objectives Discuss the principles of I/O hardware and its complexity Explore the structure of an operating system s I/O subsystem

More information

Homework Graphics Input Devices Graphics Output Devices. Computer Graphics. Spring CS4815

Homework Graphics Input Devices Graphics Output Devices. Computer Graphics. Spring CS4815 Computer Graphics Spring 2016-2017 Outline 1 2 3 Displays To Do 1 Go to Wikipedia http://en.wikipedia.org/ and read the pages on Colour Spaces (http: //en.wikipedia.org/wiki/colour_spaces), Optical Illusions

More information

I/O Systems. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

I/O Systems. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University I/O Systems Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics Device characteristics Block device vs. Character device Direct I/O vs.

More information

ITP 101 Introduction to Information Technology. Hardware Input / Output

ITP 101 Introduction to Information Technology. Hardware Input / Output ITP 101 Introduction to Information Technology Hardware Input / Output Overview Hardware Motherboards Processors Memory Secondary Cards Ports Input/Output Traditional vs. Specialized 2 Computers and Information

More information

Module 11: I/O Systems

Module 11: I/O Systems Module 11: I/O Systems Reading: Chapter 13 Objectives Explore the structure of the operating system s I/O subsystem. Discuss the principles of I/O hardware and its complexity. Provide details on the performance

More information

Chapter 1. Computer System Organization

Chapter 1. Computer System Organization Chapter 1 Computer System Organization Prepared By: Manish Kumar Prajapati PGT (Comp.Sc.) (First Shift) Kendriya Vidyalaya Bailey Road Patna-14 What is Computer? A computer is an electronic device that

More information

Operating system Dr. Shroouq J.

Operating system Dr. Shroouq J. 2.2.2 DMA Structure In a simple terminal-input driver, when a line is to be read from the terminal, the first character typed is sent to the computer. When that character is received, the asynchronous-communication

More information

Q.1 Explain Computer s Basic Elements

Q.1 Explain Computer s Basic Elements Q.1 Explain Computer s Basic Elements Ans. At a top level, a computer consists of processor, memory, and I/O components, with one or more modules of each type. These components are interconnected in some

More information

OFFICE COMPUTER RETAILING

OFFICE COMPUTER RETAILING 1. This is part of an advertisement for a computer. OFFICE COMPUTER RETAILING Technical specification includes: 2 GHz CPU 256 MB RAM 200 GB Hard Disk Drive 64 MB Graphics Card DVD-ROM Drive Sound Card

More information

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture 168 420 Computer Architecture Chapter 6 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In different formats All slower than CPU

More information

ST. MARY S COLLEGE FORM 4

ST. MARY S COLLEGE FORM 4 Term 1 Week 1 Week 2 FUNDAMENTALS OF HARDWARE AND SOFTWARE 1. The generalpurpose computer system 2. Functions of the major hardware components of a computer system 3. Functions and uses of primary storage

More information

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int Operating Systems Lecture 1 Introduction Agenda: What Operating Systems Do Computer System Components How to view the Operating System Computer-System Operation Interrupt Operation I/O Structure DMA Structure

More information

(A Book on Computer Education)

(A Book on Computer Education) (A Book on Computer Education) (Class-IV) Publication Division D.A.V. COLLEGE MANAGING COMMITTEE Arya Samaj Building, UP Block, Pitampura, Delhi-110034 S.NO. TOPIC PAGE NO. 1. Working of Computer System

More information

INPUT AND OUTPUT DEVICES. Blu-ray disc Graph plotter Graphics tablet Optical mark reader Projector Web cam

INPUT AND OUTPUT DEVICES. Blu-ray disc Graph plotter Graphics tablet Optical mark reader Projector Web cam INPUT AND OUTPUT DEVICES 1. Ring two items which are output devices. Blu-ray disc Graph plotter Graphics tablet Optical mark reader Projector Web cam Graph plotter and projector 2. Draw five lines on the

More information