Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 15th, 2010, 11:53 AM
sn2710 sn2710 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Posts: 5 sn2710 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 50 m 38 sec
Reputation Power: 0
Data directly to cpu from input devices

when we type in through keyboard .Does the data first go to physical memory and then cache and then cpu or is there a way wherein data can diretly go to cpu bypassing main memory and cache.Thanks in advance

Reply With Quote
  #2  
Old January 15th, 2010, 02:41 PM
NovaX NovaX is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: Bay Area, California
Posts: 841 NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level)NovaX User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 12 h 59 m 16 sec
Reputation Power: 1680
Send a message via ICQ to NovaX Send a message via Yahoo to NovaX Send a message via Google Talk to NovaX
This is handled by terminal interrupts. I vaguely remember the process in Minux and found a good description for you.
__________________
Core design principles when developing software systems.
See my open-source project as an example of professional code.
---
The opinions expressed do not represent those of my employer.

Reply With Quote
  #3  
Old January 15th, 2010, 02:44 PM
jwdonahue's Avatar
jwdonahue jwdonahue is offline
Bellevue WA, USA
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: May 2004
Location: Bellevue Washington, USA
Posts: 3,398 jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level)jwdonahue User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 48 m 17 sec
Reputation Power: 886
Depends on the system and CPU involved. Are you talking about a PC? In most cases there's at least two CPU's involved in getting the data from the keyboard to whatever program is the final destination. One little micro and/or ASIC in the keyboard that processes the switch array inputs and converts them to the appropriate signals on whatever kind of interface the keyboard uses to interface with the PC and then of course the main CPU in the PC itself.

From the perspective of an application hosted by an operating system, all inputs pass in via RAM buffers at some level.
__________________
My worst nightmare was a pointless infinite loop.
Work in progress; don't poke the curmudgeon!
http://www.odonahue.com/

Reply With Quote
  #4  
Old January 15th, 2010, 08:16 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 46 m 50 sec
Reputation Power: 5048
sn2710: Please DO NOT cross post. This is the 3rd of the same post. It is also being responded to over here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > Data directly to cpu from input devices

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap