Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ex9WM-0008VJ-Bd for qemu-devel@nongnu.org; Thu, 12 Jan 2006 15:58:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ex9WL-0008Uz-LV for qemu-devel@nongnu.org; Thu, 12 Jan 2006 15:58:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ex9WL-0008Un-CG for qemu-devel@nongnu.org; Thu, 12 Jan 2006 15:58:09 -0500 Received: from [212.227.126.171] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ex9ZC-0007WD-Mx for qemu-devel@nongnu.org; Thu, 12 Jan 2006 16:01:07 -0500 Received: from alpha9.centauri.home ([10.21.2.7]) by alpha0.centauri.home with esmtp (Exim 4.54) id 1Ex9UE-00077o-TF for qemu-devel@nongnu.org; Thu, 12 Jan 2006 21:55:58 +0100 From: Juergen Pfennig Date: Thu, 12 Jan 2006 21:55:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200601122155.57030.info@j-pfennig.de> Subject: [Qemu-devel] What does qemu really emulate? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I am still trying to make my card reader work. I even found a long cable and a RS232 diagnostics box. In my current serial.c/vl.c version I correctly handle DSR and DTR. I can demonstrate this nicely with Linux+gtkterm=20 and Windows XP and Hyperterm. Before I add more features please help me with the follwing problem: the about page says: QEMU emulates a full system (for example a PC) In a PC system the OUT2 bit of the MSR enables the forewarding of=20 interrupts to the PIC. So I currently changed the serial.c implementation from if (s->iir !=3D UART_IIR_NO_INT) { s->set_irq(s->irq_opaque, s->irq, 1); } else { s->set_irq(s->irq_opaque, s->irq, 0); } to if (s->iir !=3D UART_IIR_NO_INT && (s->mcr & 8)) { s->set_irq(s->irq_opaque, s->irq, 1); } else { s->set_irq(s->irq_opaque, s->irq, 0); } Windows 2003 is paranoid enough to set also OUT1 (although my hardware bible says that this one is not connected). Is my code OK? Who knows better? Yours J=C3=BCrgen