lkml.org 
[lkml]   [2002]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [ANNOUNCE] New PC-Speaker driver
Date
On Thursday 15 August 2002 12:57, Alan Cox wrote:
> There are easier equivalent ways to accurately measure the IRQ
> behaviour. Flip the state of a parallel port pin when you mask
> interrupts. You can even slap an oscilloscope on it that way

Right, I'll just go get my oscilloscope now...

In fact I relied on the technique you mentioned a great deal when
I was doing realtime work with PCs. With a multi-trace digital
scope the effect is something like a poor-man's logic analyser
with a resolution of 10 us or so.

Another technique I can recommend highly is panicking by halting
in a tight loop with the speaker set to emit some tone. It may
be annoying for the guy at the next bench but in some code, such
as transitioning to/from virtual86 mode, there aren't a lot of
alternatives.

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.461 / U:11.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site