From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRFy2-0002bW-7G for qemu-devel@nongnu.org; Sat, 02 Jan 2010 21:13:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRFxx-0002XZ-Cx for qemu-devel@nongnu.org; Sat, 02 Jan 2010 21:13:17 -0500 Received: from [199.232.76.173] (port=56002 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRFxx-0002XE-5X for qemu-devel@nongnu.org; Sat, 02 Jan 2010 21:13:13 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:34118) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRFxw-0004Nm-FU for qemu-devel@nongnu.org; Sat, 02 Jan 2010 21:13:13 -0500 Received: from smtp2-g21.free.fr (localhost [127.0.0.1]) by smtp2-g21.free.fr (Postfix) with ESMTP id 2FC834B004D for ; Sun, 3 Jan 2010 03:13:08 +0100 (CET) Received: from laptop (vaf26-2-82-244-111-82.fbx.proxad.net [82.244.111.82]) by smtp2-g21.free.fr (Postfix) with ESMTP id 00E384B004F for ; Sun, 3 Jan 2010 03:13:05 +0100 (CET) In-Reply-To: <4B3F96DD.8070503@zytor.com> Subject: Re: [Qemu-devel] [PATCH] debugcon: support for debugging consoles =?utf-8?q?(?=e.g. Bochs port 0xe9) From: "=?utf-8?q?Fran=C3=A7ois?= Revol" Date: Sun, 03 Jan 2010 03:13:15 +0100 CET Message-Id: <8266099960-BeMail@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > Makes sense. Either way, it works with my patch looking something > like: > > -chardev stdio,id=3Dseabios \ > -device isa-debugcon,iobase=3D0x402,chardev=3Dseabios > > ... should do the job. Btw, I once added another method of debug output to ZETA, that was using the low-level protocol used by laplink (nibble mode). I needed this for a laptop that didn't have a serial port but still had a // one. This allowed bidirectionnal debugging (including sending kernel debugger commands) with a null-printer cable. I also wrote code to support it in Haiku, though I'm not sure I've added the receiving driver yet. See: http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/kernel/debugger/laplinkll I don't know if the parallel port emulation in QEMU supports dumping bytes at nibble mode yet, it might be interesting to add this anyway. Though it should also be possible to just use 8bit mode and dump data straight to it as with the 0x402 port. Fran=C3=A7ois.