#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2010
    Posts
    5
    Rep 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
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2005
    Location
    Bay Area, California
    Posts
    841
    Rep Power
    1682
    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.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    May 2004
    Posts
    3,417
    Rep Power
    887
    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.
    I no longer wish to be associated with this site.
  6. #4
  7. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,105
    Rep Power
    5049
    sn2710: Please DO NOT cross post. This is the 3rd of the same post. It is also being responded to over here.

IMN logo majestic logo threadwatch logo seochat tools logo