From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Pnbju-0000mG-KP for mharc-grub-devel@gnu.org; Thu, 10 Feb 2011 13:59:38 -0500 Received: from [140.186.70.92] (port=45309 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnbjl-0000j4-ML for grub-devel@gnu.org; Thu, 10 Feb 2011 13:59:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnbiA-0000EO-Ia for grub-devel@gnu.org; Thu, 10 Feb 2011 13:57:51 -0500 Received: from lo.gmane.org ([80.91.229.12]:53489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnbiA-0000D7-8G for grub-devel@gnu.org; Thu, 10 Feb 2011 13:57:50 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pnbi7-0007kh-Ob for grub-devel@gnu.org; Thu, 10 Feb 2011 19:57:47 +0100 Received: from 188.134.70.131 ([188.134.70.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Feb 2011 19:57:47 +0100 Received: from elephantenlein by 188.134.70.131 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Feb 2011 19:57:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: Kirill Kuprijanov Date: Thu, 10 Feb 2011 21:57:36 +0300 Message-ID: References: <000901cb9be3$89b36cf0$9902a8c0@tystent3> <4D07FC37.1080601@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 188.134.70.131 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101227 Icedove/3.0.11 In-Reply-To: <4D07FC37.1080601@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 Subject: Re: LPT X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 18:59:35 -0000 Hello, so I'm nearly finished with couple of modules: 1. isa_lpt - to do the direct business with usual LPT ports 2. lpt - to interface any number of usual and unusual (say, PCI add-on cards) ports 3. t6963 - very special module to show pictures on my LCD (with internal toshiba 6963-compatible controller). This is where I gave up doing things 'the universal' way and had lots of distinct things (like pixel size and controller interface of the LCD). Now I have two more question: 1. how to make delays of 200ns in code? Oh, yes, I've noticed there is a function to make microsecond waits, but still, is there a way to make nanosecond wait? 2. what to do next? I have a local branch of bazaar repo and commit to it. What to do next with it? On 15.12.2010 02:22, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 12/15/2010 12:06 AM, Jordan wrote: >> Kirill, >> >> Creating a new module is the easy part. As a newbie myself, recently I >> found this blog helpful: http://blog.fpmurphy.com/2010/06/grub2-modules.html >> . >> >> As far as writing C or assembly code to talk to the LPT port, there are >> plenty of articles out there (like this one: >> http://logix4u.net/Legacy_Ports/Parallel_Port/A_tutorial_on_Parallel_port_In >> terfacing.html ) that show what I/O addresses are generally used for what. >> >> > If you use any external code (there shouldn't be any need), please first > tell which code it is, so we can check for license compatibility >> Jordan Strub >> >> -----Original Message----- >> From: grub-devel-bounces+jordan=tystent.net@gnu.org >> [mailto:grub-devel-bounces+jordan=tystent.net@gnu.org] On Behalf Of Kirill >> Kuprijanov >> Sent: Tuesday, December 14, 2010 12:55 PM >> To: grub-devel@gnu.org >> Subject: LPT >> >> Hello, >> >> I have a motherboard with LCD indicator attached to it's LPT port. I would >> like to make grub show >> some early splash screen on it. All the things regarding protocol and pin >> assignments are ok, as I >> already have a programm to show stuff on LCD from OS (Debian). So the >> question is "how to make a >> grub module that is capable of setting levels on LPT pins?" and a second one >> is "how to make use of >> it during bootup procedure? >> >> Thanks in advance, >> Kirill >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel