What Happens When You Click Your Mouse - Georgia Tech - Advanced Operating Systems

What Happens When You Click Your Mouse - Georgia Tech - Advanced Operating Systems


Watch on Udacity: https://www.udacity.com/course/viewer#!/c-ud189/l-636779583/m-639480909
Check out the full Advanced Operating Systems course for free at: https://www.udacity.com/course/ud189
Georgia Tech online Master's program: https://www.udacity.com/georgia-tech
Closed Caption:

Let's understand what happens when you click
the mouse on your computer. Let's say you're
running the Google Earth application and you select
the point that you want to visit on
the globe by clicking the mouse. When
you click the mouse, first the hardware controller
that is interfacing the mouse, which is a
hardware device. To the system using the conduit
of the bus is going to raise an interrupt
on the interupt line which is one of the
dedicated lines on the bus. This conduit, which I
call the bus, contains, as you know, data lines and
address lines and one of the things it also
contains is an interrupt line or multiple interrupt lines.
And the controller asserts this interrupt line to indicate
to the CPU that it wants attention. It's sort of like,
if I'm teaching a class and you all
were a live audience. If you have a question,
you might raise your hand and that's exactly
what happens when you click the mouse. The equivalent
of raising your hand in a classroom is
what the controller is doing, but asserting the interrupt
line on the bus. Asserting the interrupt line on
the bus results in an interrupt to the CPU,
now the processor at this point of time,
is running some program. Perhaps your Google Earth
application is being run on the CPU at
this point of time. An interrupt is a hardware
mechanism for alerting the processor that something external,
in this case the mouse click, requires the
attention of the processor. It's sort of like a
doorbell in a house. Someone is ringing the doorbell,
someone has got to pay attention to who is at the door. Remember that the CPU is
a dumb animal. All it can do is execute
instructions. Right now, it's executing some application. Now, an
interrupt comes in, some other program has to run
on it, in order to field that interrupt, answer
the doorbell. Who's that entity? That is the operating
system. The operating system, which is also a collection
of programs, schedules itself to run on the processor so that it can answer the
doorbell. So the operating system is the one that fields this interrupt, finds
out, who it is intended for, and passes it to the program for appropriate
action for this particular interrupt. This example
of a mouse click and what happens between
the hardware and the software is a good way to segue into the abstractions
provided by an operating system for managing the hardware resources.

Video Length: 02:47
Uploaded By: Udacity
View Count: 1,329

Related Software Products
Mouse Clicker
Mouse Clicker

Published By:
RobotSoft

Description:
Mouse Clicker is an easy-to-use tool that can click automatically on locations that you defined. It can free your hands and save your time. It's used to automate screen mouse clicks at specified intervals and any location on the screen. And it's free for update forever!BRBRKey features: BR Click whatever the mouse is. BR Click on a fixed point. BR Specifies the number of clicks. BR Update for free for ever.

Advanced Mouse Clicker
Advanced Mouse Clicker

Published By:
RobotSoft

Description:
Advanced Mouse Clicker is really smart and powerful tool that can simulate a lot of mouse actions. Including mouse clicks, mouse movements, mouse dragging, mouse scrolling and so on. And it has an "eye" that allows it to see the screen. With the eye, it can search a small picture on the screen to locate a point. It can automate many tasks and save your time and effort.BRBRKey features: BR Simulate a lot of mouse actions. BR Search a small picture on the screen to locate. BR ...


Related Videos
How to Change Your Mouse Cursor - Windows 10
How to Change Your Mouse Cursor - Windows 10

Boring & Old Windows Cursor? No problem, change in under five minutes. Watch this tutorial for a in-depth guide on all the required steps to change your mouse. Click Here To Become Swag ► http://tinyurl.com/TheAwesomeNeo Bonus: Learn without noises ► Full & Working Captions ✔Use English ✘English Auto-Generated Paper Copy of Guide ►http://theawesomeneo.weebly.com/youtube/changing-your-mouse-cursor-paper-guide Mouse Cursors: League of ...
Video Length: 06:28
Uploaded By: TheAwesomeNeo7
View Count: 71,904

JavaScript: Get Mouse Coordinates on Mouse Click
JavaScript: Get Mouse Coordinates on Mouse Click

http://learnwithcrypters.com/javascript-basics JavaScript: Get Mouse Coordinates on Mouse Click You can get the x and y coordinates of where you clicked on your screen using JavaScript. We use the event object to get clientX and clientY values. In this tutorial, we will move an image to the position where we click. http://learnwithcrypters.com/javascript-basics hr / bClosed Caption:/b Do you know how to get the position that is ...
Video Length: 08:14
Uploaded By: Crypters Infotech
View Count: 2,252

Copyright © 2025, Ivertech. All rights reserved.