Interrupts - event driven devices, Computer Graphics

Interrupts - Event driven devices

Interrupts: An option to polling is the interrupt feature. The device sends an interrupt signal to the processor while an event happens. The processor breaks from its usual execution and executes several special interrupt-handling routine or task.

After complete the task, the control returns to the important program. To handle conditions while more than one event happens, various priorities are allocated to tasks hence higher priorities tasks may interrupt tasks of lower priority.

Some events may arise before the program is prepared for them. While more than one event occurs, the relate information is entered in the event queue. A polling loop can be utilized to check the status of the event queue. The event queue can after that pass input data from the polling task to the main program in the accurate order. The main program takes events off the head of the queue and raises the suitable process. The devices require not be checked frequently for occurrence of events. Such devices can interrupt although the processor being unaware of this.

Two types of light pen interrupts may arise. If the user points that pen at an item upon the screen to choose it, as in figure (a) of Light Pen Application, a selection interrupt arises. If the user is positioning along with the pen, as in figure (b) of Light Pen Application, a pattern termed as tracking pattern in displayed along the pen's tracking interrupts and movement arise when the pen observes the tracking pattern.

Modified versions of the light pen may also be utilized to draw lines, read barcodes or perform transformation operations on things on a tablet or on the screens.

 

Posted Date: 4/2/2013 6:46:08 AM | Location : United States







Related Discussions:- Interrupts - event driven devices, Assignment Help, Ask Question on Interrupts - event driven devices, Get Answer, Expert's Help, Interrupts - event driven devices Discussions

Write discussion on Interrupts - event driven devices
Your posts are moderated
Related Questions
?What is Computer Resolution?

Introduction of Viewing  Transformations Projection is fundamentally a transformation or mapping of 3D objects upon 2D screen. Projection is mostly categorised in Para

Q.   What do you mean by image precision and object precision? Describe z- buffer algorithm for visible surface detection. OR What do you mean by image precision and obj

A convex polygonal region having n- vertices {P 0 , P 1 , P 2 ..., P n - 1 , P n , P 0 } or lattice points to be identified by the user includes the convex window area. To be exact

Problem: (a) What is meant by ‘Time - Stretching ‘in relation to a sound data file? (b) Calculate the size of a 5 minutes mono sound file of CD quality and with a 16 -bit

High Level Techniques (Motion Generalized) These are techniques utilized to explain the general motion behavior of any type of graphic object. Such techniques are algorithms o

Uncompressed / Common Audio Format There is one main uncompressed audio format: PCM. It is generally stored like a .wav on Windows. WAV is file format which is flexible and des

Printing Press discovered in 16th century: Books provided more role models & multiple perspectives. Exposure to books demanded that learners employ critical thinking to r

Step1:  Read a text file which we want to hide. Step2:  Transform it into an array of its binary value. Step3: Transform this array into its equivalent one dimensional array

1.   Distinguish among Scan line polygon fill and Seed fill or Flood fill algorithm? Scan Line Polygon Flood Fill Algorithms ?1. This