From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4955 invoked by alias); 18 Mar 2003 11:54:25 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 4763 invoked from network); 18 Mar 2003 11:54:23 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 18 Mar 2003 11:54:23 -0000 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 526D480001E; Tue, 18 Mar 2003 06:54:23 -0500 (EST) Received: from tooth.toronto.redhat.com (IDENT:jRuW3dt0ed9eSFCROXnSX47LIutOppsj@localhost [127.0.0.1]) by tooth.toronto.redhat.com (8.12.8/8.12.5) with ESMTP id h2IBsNhC016606; Tue, 18 Mar 2003 06:54:23 -0500 Received: (from fche@localhost) by tooth.toronto.redhat.com (8.12.8/8.12.5/Submit) id h2IBsMx9016604; Tue, 18 Mar 2003 06:54:22 -0500 Date: Tue, 18 Mar 2003 11:54:00 -0000 From: "Frank Ch. Eigler" To: Stefano Gallina Cc: sid@sources.redhat.com Subject: Re: Does SID initialize all its components ? Message-ID: <20030318115422.GA14852@redhat.com> References: <20030318083212.12496.qmail@web41106.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <20030318083212.12496.qmail@web41106.mail.yahoo.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-q1/txt/msg00064.txt.bz2 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 841 Hi - > I wrote some assembly programs to comunicate with the > UART1 and UART2 serial ports of SID. > I was surprised that i didn't need to initialize > serial port before send the data to it. What kind of initialization did you expect? I believe most SID components aim to start up in a state similar to powerup of the physical devices. However, since some features of the hardware may not be emulated, and others may be hidden by properties of the host I/O, you may get away with using initial state on the simulator. This is true in general with simulators: it is possible to get a "false positive" in the sense that a program may run on the sim but not on hardware. > Is it right that SID doesn't need any initialization > of its components before using them? Not really. What you're seeing is probably a coincidence. - FChE --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+dwjuVZbdDOm/ZT0RAr4TAJsFM17HqDU7p+A+o+lUc3wVQTpjYwCfRNhr /gaOLPgzfRElJN58WPnrB1g= =2YNZ -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--