Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 15 Aug 2002 07:22:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 15 Aug 2002 07:22:59 -0400 Received: from dsl-213-023-043-164.arcor-ip.net ([213.23.43.164]:18116 "EHLO starship") by vger.kernel.org with ESMTP id ; Thu, 15 Aug 2002 07:22:59 -0400 Content-Type: text/plain; charset=US-ASCII From: Daniel Phillips To: Alan Cox Subject: Re: [ANNOUNCE] New PC-Speaker driver Date: Thu, 15 Aug 2002 13:28:03 +0200 X-Mailer: KMail [version 1.3.2] Cc: vda@port.imtp.ilyichevsk.odessa.ua, Andrew Rodland , Stas Sergeev , linux-kernel@vger.kernel.org References: <3D5A8C2C.9010700@yahoo.com> <1029409051.29816.1.camel@irongate.swansea.linux.org.uk> In-Reply-To: <1029409051.29816.1.camel@irongate.swansea.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1047 Lines: 25 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/