From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Fje8S-0003KD-JX for mharc-grub-devel@gnu.org; Fri, 26 May 2006 11:21:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fje8Q-0003K0-Ph for grub-devel@gnu.org; Fri, 26 May 2006 11:21:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fje8P-0003Jk-FZ for grub-devel@gnu.org; Fri, 26 May 2006 11:21:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fje8P-0003Jh-6d for grub-devel@gnu.org; Fri, 26 May 2006 11:21:53 -0400 Received: from [157.24.2.30] (helo=smtp1.cc.lut.fi) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FjeDJ-0003vM-Q2 for grub-devel@gnu.org; Fri, 26 May 2006 11:26:58 -0400 Received: from localhost (smtp1 [127.0.0.1]) by smtp1.cc.lut.fi (Postfix) with ESMTP id AAF12702EF for ; Fri, 26 May 2006 18:21:49 +0300 (EEST) Received: from smtp1.cc.lut.fi ([127.0.0.1]) by localhost (smtp1.cc.lut.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12068-09 for ; Fri, 26 May 2006 18:21:49 +0300 (EEST) Received: from [192.168.1.100] (lk4-a-4-1.lnet.lut.fi [157.24.102.107]) by smtp1.cc.lut.fi (Postfix) with ESMTP id 6299B70277 for ; Fri, 26 May 2006 18:21:48 +0300 (EEST) Message-ID: <44771D14.5050608@nic.fi> Date: Fri, 26 May 2006 18:21:56 +0300 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: The development of GRUB 2 References: <002901c67fab$ddb416a0$da01a8c0@p4> <4475798D.4040407@nic.fi> <31A7CB00-4E1A-485D-922A-606650A8F410@rockymedia.ca> In-Reply-To: <31A7CB00-4E1A-485D-922A-606650A8F410@rockymedia.ca> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: by lut.fi Content-Transfer-Encoding: quoted-printable Subject: Re: GUI Work X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 15:21:55 -0000 John S. wrote: > I'm trying to get myself started in all of this, but I have a ton of > questions. You'll have to forgive me if they are obvious, but this is > my first time looking at the grub source. >=20 > Also I have never written code this low-level (on a PC) before. My mos= t > relevant experience would probably be writing some ms-dos games, which > is similar but I'm assuming theres a ton of differences. So please > forgive me if I don't know all of the concepts yet. You don't actually have to care too much about low-level details. What is required is to write "high-level" GUI using low-level systems provided= . > So here are the questions: >=20 > How much of the video API has been written? Bitmap support is missing from CVS, but otherwise most of the functionality should work. There might be some changes, but I have to think more on some issues raised on this list. > What exactly does the file vbe.c do? I'm assuming it implements a VESA > BIOS Extension interface that we can use when writing the API > functions. Please correct me if I'm wrong. Also how much work is > required on this set of code? vbe.c implements VESA Bios Extension 2.0+ driver for GRUB Video Subsystem. You are not supposed to use this driver directly. Use Video API instead. It abstracts used video driver, so we can use same GUI code on all supported platforms. > If the API has already been started which file is it in? if it has not= , > which file should be created for it? how about /video/i386/pc/api.c ? See video/video.c. There is also term/videoterm.c and commands/videotest.c that exercises Video API. Thanks, Vesa J=E4=E4skel=E4inen