Received: from list by monty-python.gnu.org with archive (Exim 4.34) id 1BP5jn-00029s-De for mharc-grub-devel@gnu.org; Sat, 15 May 2004 16:26:27 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BP5jl-00029J-6Z for grub-devel@gnu.org; Sat, 15 May 2004 16:26:25 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BP5jC-0001zy-LC for grub-devel@gnu.org; Sat, 15 May 2004 16:26:22 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BP5jC-0001ze-6w for grub-devel@gnu.org; Sat, 15 May 2004 16:25:50 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 6C27483C2 for ; Sat, 15 May 2004 22:17:42 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 25762-10 for ; Sat, 15 May 2004 22:17:40 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id BF70E831B for ; Sat, 15 May 2004 22:17:40 +0200 (CEST) Received: from marco.marco-g.com (a82-92-27-129.adsl.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 4D4BBC045 for ; Sat, 15 May 2004 21:17:40 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <200405160119.11048.shivramk@sancharnet.in> From: Marco Gerards Date: Sat, 15 May 2004 22:19:56 +0200 In-Reply-To: <200405160119.11048.shivramk@sancharnet.in> (Shivram Khandeparker's message of "Sun, 16 May 2004 01:19:10 +0530") Message-ID: <87y8ntzbmb.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new@vscan-cn.han.nl Subject: Re: Issues in implementing VESA support X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 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: Sat, 15 May 2004 20:26:25 -0000 Shivram Khandeparker writes: > hi > > Here are some issues i encountered in implementing a VESA console > for grub2 > > 1. What happened to get_vbe_controller_info and get_vbe_mode_info? > They dont seem to be there in grub2. Which means il have to rewrite them. > Which should be just a copy paste from grub legacy.. right? > If i do write them then where do i put theses functions. In my own files > or in say startup.s (like vga does) ? If there are no copyright issues, you can just copy them. I am not sure if the person that wrote that code assigned his copyrights to the FSF. If you know that, just copy it. Otherwise Okuji can tell us. > 2. In my pacth i was using custom a font which was compiled into grub. > Since the new grub has a font manager i would like to use that instead. > Could somebody please provide me more info on using this font manager, > like the kind of font file it uses, does it use bitmap fonts . And how do > i access the font data once the font file is loaded. It looks to me that this is a bitmap font. Please have a look at `write_font' in grub2/term/i386/pc/vga.c. Hopefully this code is clear to you. I hope the plan switching code does not confuse you, I am not sure if you need that for VESA (or some VESA modes). > 3. If i have more than one file then should i put them in a separate > driectory? If yes where (under term ) ? It should go into grub2/term/i386/pc. It depends on how many files you need to descide if a new directory should be created. I think you can better do what seems the best to you. Changing this later should not be a problem, right? -- Marco