Screen Processing

  • Uploaded by: jhe04
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Screen Processing as PDF for free.

More details

  • Words: 218
  • Pages: 12
Screen Processing

The monitor





08/21/09



A typical video screen has 80 columns numbered 0 to 79 and 25 rows numbered from 0 to 24 The columns and rows provide a grid of addressable locations at any one of which the cursor can be set Example cursor locations:

2

Clearing the screen in assembly language 08/21/09



Interrupt 10h function 06h handles the process of clearing the screen and scrolling MOV AH, 06H MOV BH, 07H MOV CX, 0000H MOV DX, 184FH INT 10H

3

Setting the cursor position 08/21/09



Interrupt 10h is the BIOS operation for screen handling and function 02h tells the operation to set the cursor MOV AH, 02H MOV BH, 00H MOV DH, 0AH MOV DL, 08H INT 10H

4

Displaying the character ‘x’ at the center of the screen 08/21/09

5

Displaying a string at the center of the screen 08/21/09

6

Displaying ASCII character set 08/21/09

7

Color chart 08/21/09



For colored monitors, the background can display one out of eight colors and text can display one out of 16 colors

8

08/21/09

9

Text and background color 

Example how to set the text and background colors and how to make them blink

Displaying character ‘x’ with attribute 08/21/09

11

Displaying a string with attributes 08/21/09

12

Related Documents

Screen Processing
May 2020 2
Screen
June 2020 23
Screen
June 2020 20
Screen
June 2020 21
Screen
May 2020 17
Screen
May 2020 23

More Documents from ""