9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] usb keyboard and mouse?
Date: Thu, 29 Jun 2006 09:23:16 +0100	[thread overview]
Message-ID: <ef3c53eb40c888a52c30752a6364faf3@terzarima.net> (raw)
In-Reply-To: <200606290531.k5T5VQ1W000476@ducky.net>

> The BIOS SMI handler examines the saved register state, figures out
> what the OS was trying to do, runs a software model of the PS/2
> keyboard controller's state, chats with the USB keyboard, formulates
> an appropriate response, emulates the I/O instruction the OS was
> trying to do, and resumes execution of the OS at the instruction
> following the I/O instruction.

yes, it's good fun and worked fine on my plan 9 file server.
i assumed it was all done with interrupts disabled, so that, as
anciently, the console should not indeed be used for chit-chat.



  reply	other threads:[~2006-06-29  8:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29  5:31 Mike Haertel
2006-06-29  8:23 ` Charles Forsyth [this message]
2006-06-29 11:55 ` Dan Cross
2006-06-29 15:02   ` Ronald G Minnich
2006-06-29 23:50   ` Charles Forsyth
  -- strict thread matches above, loose matches on Subject: below --
2006-06-26 18:50 ISHWAR RATTAN
2006-06-26 19:22 ` Francisco J Ballesteros
2006-06-27  0:19 ` geoff
2006-06-28 15:48   ` Artem Letko
2006-06-28 17:01     ` Francisco J Ballesteros
2006-06-28 23:02       ` C H Forsyth
2006-06-28 23:21         ` Ronald G Minnich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef3c53eb40c888a52c30752a6364faf3@terzarima.net \
    --to=forsyth@terzarima.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).