All of lore.kernel.org
 help / color / mirror / Atom feed
* FIXME: These should be dynamically obtained from a terminal.
@ 2005-07-03 21:06 Vincent Pelletier
  2005-07-03 21:16 ` [Bulk] " Vincent Pelletier
  2005-07-04 23:05 ` Yoshinori K. Okuji
  0 siblings, 2 replies; 14+ messages in thread
From: Vincent Pelletier @ 2005-07-03 21:06 UTC (permalink / raw)
  To: Grub-devel

-----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




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-08-09  3:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-03 21:06 FIXME: These should be dynamically obtained from a terminal Vincent Pelletier
2005-07-03 21:16 ` [Bulk] " Vincent Pelletier
2005-07-04 23:05 ` Yoshinori K. Okuji
2005-07-04 23:19   ` Vincent Pelletier
2005-07-05 10:15   ` Marco Gerards
2005-07-05 15:56     ` Yoshinori K. Okuji
2005-07-05 16:26       ` Marco Gerards
2005-07-12 20:05         ` [PATCH] " Vincent Pelletier
2005-07-13  8:40           ` [PATCHv2] " Vincent Pelletier
2005-07-13 16:41             ` Marco Gerards
2005-07-13 21:29               ` Vincent Pelletier
2005-08-04 12:29                 ` Marco Gerards
2005-08-04 18:13                   ` Marco Gerards
2005-08-09  3:26                     ` Hollis Blanchard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.