CS-401 Computer Architecture & Assembly Language Programming Lecture-16 Display Memory.

Slides:



Advertisements
Similar presentations
Information Representation
Advertisements

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.
CS1104 – Computer Organization PART 2: Computer Architecture Lecture 4 Assembly Language Programming 2.
IT253: Computer Organization Lecture 6: Assembly Language and MIPS: Programming Tonga Institute of Higher Education.
Photography and CS Philip Chan. Film vs Digital Camera What is the difference?
Assembly Language for Intel-Based Computers Chapter 15: BIOS-Level Programming (c) Pearson Education, All rights reserved. You may modify and.
© red ©
Chapter 7 Programming with DOS and BIOS Function Calls Objectives: The use of DOS and BIOS function call How to read the PC’s keyboard How to send text.
Kip Irvine: Assembly Language for Intel-Based Computers
Manipulating Strings.
Assembly Programming Timothy C. Rice Jr., MIT. OUTLINE Basic Structure Exit to Dos Print Character Clear Screen Change BG & FG Color Set Curser Location.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
ECE291 Computer Engineering II Lecture 9 Josh Potts University of Illinois at Urbana- Champaign.
1/2002JNM1 Positional Notation (Hex Digits). 1/2002JNM2 Problem The 8086 has a 20-bit address bus. Therefore, it can access 1,048,576 bytes of memory.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Another Example: #include<BIOS.H> #include<DOS.H>
1 Screen and Keyboard Operations Suthida Chaichomchuen
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?
CS1372: HELPING TO PUT THE COMPUTING IN ECE CS1372 Some Basics.
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:
String Instructions String instructions were designed to operate on large data structures. The SI and DI registers are used as pointers to the data structures.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett Colors in the Message Service ATLAS software workshop March Architecture.
4. Kernel and VGA ENGI 3655 Lab Sessions. Richard Khoury2 Textbook Readings  None.
8086/8088 Instruction Set, Machine Codes and Addressing Modes.
0171 Blue 1 2x 45dCC.jpg0171 Blue 1 2x 0d.jpg0171 Blue 1 4x end.jpg OMG-ASM-0171, Blue 1, 40-1 Assembly #, Colour code, Foam # :
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.)
Chapter 4. Colours… Let’s read the names of colours…
Lecture 11 Text mode video
Computer Graphics Lecture 04 Point Taqdees A. Siddiqi
Computer Science 210 Computer Organization
11 October Building a Web Site.
TEMPORARY POWER DISTRIBUTION CENTER
CS-401 Compute Architecture & Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture Assembly Language Programming
Morgan Kaufmann Publishers Computer Organization and Assembly Language
9/17/2018 Kiến Trúc Máy Tính.
Microprocessor and Assembly Language
Introduction to Assembly Language
CS-401 Computer Architecture & Assembly Language Programming
8086 Registers Module M14.2 Sections 9.2, 10.1.
CS-401 Computer Architecture & Assembly Language Programming
Ch2: Data Representation
Computer Science 210 Computer Organization
(Array and Addressing Modes)
Numbers and their bases
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
Clock hardware Chapter 5 CS 1550, cs.pitt.edu (originaly modified by Ethan L. Miller and Scott A. Brandt)
Chapter 2 Data Representation.
UNIT3 Colour.
Symbolic Instruction and Addressing
(Array and Addressing Modes)
Unit:08 Software Interrupts
University of Gujrat Department of Computer Science
What Color is it?.
University of Gujrat Department of Computer Science
CS-401 Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
CS-401 Computer Architecture and Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
Java-Assignment #4 (Due, April. 9, 2004)
CS-401 Computer Architecture & Assembly Language Programming
(Array and Addressing Modes)
CS-401 Computer Architecture & Assembly Language Programming
Presentation transcript:

CS-401 Computer Architecture & Assembly Language Programming Lecture-16 Display Memory

Lets Revise the Last Lecture

Character Mode

ASCII Table

String Declaration db0x61, 0x62,... db‘a’, ‘b’,... db‘abcdef’

Video Device Function in Computer

Character Formation

BGRIBGR blink ASCII CODE Attributes Back Ground Fore Ground

Character Formation BGRIBGR blink Attributes Back Ground Fore Ground R = Red G = Green B = Blue I = Intensity Bl = Blinking

Accecing Video Memory Mov ax, 0*b800 Mov ex, ax Mov word [es:0], 0*0741 ; print A at the top left in ;White on the Black bg Move word [es:160], 0*1230 ;print 0 at second line ;Left in green on blue bg