Problems in IO CS 1550 Recitation December 2 nd /4 th, 2002 The questions in this slide are from Andrew S. Tanenbaum's textbook page 376, 377.

Slides:



Advertisements
Similar presentations
Mehdi Naghavi Spring 1386 Operating Systems Mehdi Naghavi Spring 1386.
Advertisements

1 Overview Assignment 4: hints Memory management Assignment 3: solution.
Lecture 2 Concepts, Terms and Definitions. Display Devices They are divided into a lot of small squares called pixels (“PICture ELements”). Each pixel.
Computer Graphics Tz-Huan Huang National Taiwan University (Slides are based on Prof. Chen’s)
DOS and BIOS Interrupts DOS and BIOS interrupts are used to perform some very useful functions, such as displaying data to the monitor, reading data from.
1 Overview Assignment 5: hints  Garbage collection Assignment 4: solution.
Problems in IO & File System CS 1550 Recitation November 4 th /6 th, 2002 The questions in this slide are from Andrew S. Tanenbaum's textbook page 375,
VGA Text Mode An introduction to font selection and to reprogramming of the Character Generator ram.
CSC 3650 Introduction to Computer Architecture Time: 3:30 to 6:30Meeting Days: WLocation: Oxendine 1237B Textbook: Essentials of Computer Architecture,
Video systems (continue). Practice Modify the program to get a string from a keyboard to display the input string on the middle of the screen with reverse.
Assembly Language for Intel-Based Computers Chapter 15: BIOS-Level Programming (c) Pearson Education, All rights reserved. You may modify and.
Chapter 5 Input/Output Clocks User Interfaces: Keyboard, Mouse Power.
Input-output and Communication Prof. Sin-Min Lee Department of Computer Science.
Display Ratios The Student Union displays have ratios of 16:9 Most computer displays have ratios of 4:3 This often distorts graphics when they are changed.
CS2422 Assembly Language & System Programming November 2, 2006.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
Computer Systems Week 8: 3-bit – The Display Amanda Oddie.
1 February How Computers Work. Buying Bugs A 21st Century Entrepreneurship How do you find bugs in your software? Offer a bounty! How do malicious hackers.
Computer Hardware What goes on inside?. Deeper.
Pertemuan 20 Character oriented terminal
1 King ABDUL AZIZ University Faculty Of Computing and Information Technology CS 454 Computer graphicsIntroduction Dr. Eng. Farag Elnagahy
MANINDER KAUR RAM and ROM Chips 24-Nov
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
Serial Communication Lab 12 Module M21.1. Asynchronous Serial I/O ASCII code 54H = (“T”) sent with odd parity.
WEB GRAPHICS. The Pixel Computer displays are comprised of rows and columns of pixels. Pixels are indivisible. Some common screen resolutions are:, 600.
C. Pronk 1 The Commodore 64 © Kees Pronk sources: various web locations.
System Calls 1.
Peripherals The term peripherals refers to all hardware devices that are attached to your computer and are controlled by your computer system Peripherals.
HARDWARE Lesson 2. Components of a computer: 1)A Processor (or CPU) The brain of the computer 2)Memory To remember the programs and data that it uses.
ORG ; FOUR INT 21H and INT 10H Programming and Macros Dec Hex Bin
ECE291 Computer Engineering II Lecture 9 Josh Potts University of Illinois at Urbana- Champaign.
Display Ratios The Student Union displays have ratios of 16:9 Most computer displays have ratios of 4:3 This often distorts graphics when they are changed.
Introduction to Computing Hardware & Software. INSIDE THE COMPUTER Hardware Physical components of the computer. Any part that you can see and touch Examples:
Problems in Memory Management CS 1550 Recitation October 9 th, 2002 The questions in this slide are from Andrew S. Tanenbaum's textbook page 264.
CS 342 – Operating Systems Spring 2003 © Ibrahim Korpeoglu Bilkent University1 Input/Output CS 342 – Operating Systems Ibrahim Korpeoglu Bilkent University.
Video Monitor CRT: Cathode Ray Tube
Functions available for Writing to the Video Display Three different ways to write to the display –Irvine library functions –DOS Video Functions (Interrupt.
Text-Mode Programming Question #1 What are the three levels of access to the video display when writing characters on the screen in text mode?
Monitors and Sound Systems Section 3A. Objectives List the two most commonly used types of computer monitors. Explain how a CRT monitor displays images.
1 The Rendering Pipeline. CS788 Topic of HCI 2 Outline  Introduction  The Graphics Rendering Pipeline  Three functional stages  Example  Bottleneck.
Computers Are Your Future Chapter 1 Slide 1 Introduction to the Computers & Internet Chapter 1 Concepts of Information Technology IT.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
 Identify computer system components.  Explain how the CPU works.  Differentiate between RAM and ROM.  Describe how data is represented.  Identify.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
3 Types of Video Output for Text DOS-level INT (Int 21) Output can be easily redirected to other devices (printer, disk) Slow Speed Cannot control the.
CS1372: HELPING TO PUT THE COMPUTING IN ECE CS1372 Some Basics.
ECE 103 Engineering Programming Chapter 53 Generic Algorithms Herbert G. Mayer, PSU CS Status 6/4/2014 Initial content copied verbatim from ECE 103 material.
Video Card CES Industries, Inc. Lesson 10.  Translates computer information of binary digital data into visual information that the monitor can understand.
10H Interrupt. Option 0H – Sets video mode. Registers used: – AH = 0H – AL = Video Mode. 3H - CGA Color text of 80X25 7H - Monochrome text of 80X25 Ex:
Figure 10.1 Color CRT and Phosphor Dots on Face of Display.
Graphics in a computers memory How a picture (i.e. a graphic) is stored in a computers memory A computer screen is made up of little dots, called PICture.
Graphics Card Andrew Kasper MYP 5.
CS-321 Dr. Mark L. Hornick 1 Graphics Displays Video graphics adapter Monitor.
Week 9 Monitors and output to the screen. Monitors, also known as Visual display units (V.D.Us) Desktop computers contain a Cathode Ray Tube (C.R.T.)
Processing Data. Representing Numbers  Recap on Binary Numbers  Binary digit (1 or 0) – known as a ‘bit’, short for BInary digiT – bits generally grouped.
ATV INSTRUMENTATION DISPLAY System Software Design Ed Raezer.
Lecture 11 Text mode video
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computer Graphics Lecture 03 Graphics Systems Cont… Taqdees A. Siddiqi
Esri UC2013.Type Presentation Name Here Put presentation name on the footer: Go to Insert tab > Header & Footer > Apply to All.
1 Section 1.3 Binary Number Systems Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Computer System Structures
The deadline establish a priority among interrupt requests.
1.01 Investigate graphic types and file formats.
Microprocessor and Assembly Language
1. Encode binary value using PCM
Camera Component Selection Rationale:
Direct Memory Access Disk and Network transfers: awkward timing:
Clock hardware Chapter 5 CS 1550, cs.pitt.edu (originaly modified by Ethan L. Miller and Scott A. Brandt)
Computer Organization
Presentation transcript:

Problems in IO CS 1550 Recitation December 2 nd /4 th, 2002 The questions in this slide are from Andrew S. Tanenbaum's textbook page 376, 377.

CHAP The clock interrupt handler on a certain computer requires 2 msec (including process switching overhead) per clock tick. The clock runs at 60 Hz. What fraction of the CPU is devoted to the clock? 2 * 60 = 120 msec 120 msec / 1 sec = 120 msec / 1000 msec = 12%

CHAP Assuming that it takes 10 nsec to copy a byte, how much time does it take to completely rewrite the screen of an 80 character * 25 line text mode memory- mapped screen? What about a 1024*768 pixel graphics screen with 24-bit color?

A video RAM image –simple monochrome display –character mode Corresponding screen –the x s are attribute bytesfrom Dr. Amer’s slides How characters are displayed

Text Mode: 2 * 80 *25 = 4000 bytes 4000 * 10 nsec = nsec = sec Graphics: 24 bit color  3 bytes per pixel 1024 * 768 * 3 = bytes * 10 nsec = nsec = sec