From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DpBgg-0002Bf-O0 for mharc-grub-devel@gnu.org; Sun, 03 Jul 2005 17:07:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpBgI-0002AR-7h for grub-devel@gnu.org; Sun, 03 Jul 2005 17:07:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpBg6-00024Y-MN for Grub-devel@gnu.org; Sun, 03 Jul 2005 17:07:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpBg5-0001ys-SP for Grub-devel@gnu.org; Sun, 03 Jul 2005 17:07:01 -0400 Received: from [217.12.11.36] (helo=smtp005.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1DpBdt-0001ay-1a for Grub-devel@gnu.org; Sun, 03 Jul 2005 17:04:45 -0400 Received: (qmail 79235 invoked from network); 3 Jul 2005 20:58:55 -0000 Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.203.163.78 with plain) by smtp005.mail.ukl.yahoo.com with SMTP; 3 Jul 2005 20:58:54 -0000 Message-ID: <42C85357.20500@yahoo.fr> Date: Sun, 03 Jul 2005 23:06:31 +0200 From: Vincent Pelletier User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grub-devel@gnu.org X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Subject: FIXME: These should be dynamically obtained from a terminal. 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: Sun, 03 Jul 2005 21:07:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm trying to fix that thing. I'm only working on the i386 part, because I have no ppc. Here is how I plan to do it (almost done, but I have some questions) : - -add an asm function to get the current vga mode without changing it (or maybe a global var to keep the current vga mode) - -add a field in struct grub_term - -implement this function in different terminal handlers - -implement grub_getwh - -redefine GRUB_TERM_WIDTH & GRUB_TERM_HEIGHT macros to use grub_getwh Here are my questions : Should we foresee, in vga mode, that the user might someday choose his vga mode ? Should we redefine all the macros we use to draw the menu to be less intensive on grub_getwh ? In the attached patch, the vga function is disabled, because for now the asm function does not work (returns always 0). As I'm really not familiar with x86 asm, I think I had something wrong adapting from grub_vga_set_mode. nb: I only give the patch as draft, a preview of what I'm working on. Vincent Pelletier -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCyFNXFEQoKRQyjtURAtHIAKCDMtJhev1Z0mXvFm2Rg8p49rk4aQCgl2UR C3TbKukpU4T4dHFIjyTv6hI= =wg2h -----END PGP SIGNATURE----- ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com