Skip to contentSkip to conversation

Google SoC, Fancy Menus or USB keyboard

DISCUSSION Colin D Bennett 3 participants 6 messages Apr 3, 2008

lore
Share & tools
lore
#0 lore raw

I am interested in possibly contributing to the GRUB project in the Google Summer of Code, and I was interested in further discussing the Fancy Menus idea.

I have not used GRUB 2 yet (I am using Gentoo Linux primarily, with GRUB 0.9x), though I have downloaded and browsed the source code. I assume that fancy menus will still use the keyboard exclusively as the input device, for the time being. (Is there talk of mouse support?)

Does GRUB code run in real mode? I was thinking that double-buffering the graphics might be important for fancy graphics effects, and wondered whether is it difficult to allocate and deal with a megabyte or so block of memory? When I last programmed real mode programs in DOS, I know the limitations based on segment sizes, etc., but it's been a while.

Thanks!
Best Regards,
Colin

#1 lore raw
Quoted 5 lines · Colin D Bennett

Does GRUB code run in real mode? I was thinking that double-buffering the graphics might be important for fancy graphics effects, and wondered whether is it difficult to allocate and deal with a megabyte or so block of memory? When I last programmed real mode programs in DOS, I know the limitations based on segment sizes, etc., but it's been a while.

GRUB runs in protected mode, but it can switch to the real mode temporarily to call BIOS. In any case, I believe that the menu implementation should be portable rather than x86 PC specific.

Signature · 2 lines
Regards,
Pavel Roskin
#2 lore raw
Quoted 10 lines · Pavel Roskin
Quoted 2 lines · Colin D Bennett

Does GRUB code run in real mode? I was thinking that double-buffering the graphics might be important for fancy graphics effects, and wondered whether is it difficult to allocate and deal with a megabyte or so block of memory? When I last programmed real mode programs in DOS, I know the limitations based on segment sizes, etc., but it's been a while.

GRUB runs in protected mode, but it can switch to the real mode temporarily to call BIOS. In any case, I believe that the menu implementation should be portable rather than x86 PC specific.

Thanks for the info. Of course I also agree that the menu should be portable; my mention of real mode was, I guess, a question of whether we have a 32-bit linear address space, rather than specifics about the processor mode.

#3 lore raw
Quoted 4 lines · Colin D Bennett

Thanks for the info. Of course I also agree that the menu should be portable; my mention of real mode was, I guess, a question of whether we have a 32-bit linear address space, rather than specifics about the processor mode.

I was debugging the code to switch to the protected mode lately, so I can assure you that the address space is linear :)

Signature · 2 lines
Regards,
Pavel Roskin
#4 lore raw
Quoted 5 lines · Pavel Roskin

On Wed, 2008-04-02 at 18:54 -0700, Colin D Bennett wrote:

I was debugging the code to switch to the protected mode lately, so I can assure you that the address space is linear :)

Is there anyone in particular on the GRUB project that I should be in contact with about the fancy menus task before submitting my SoC application?

Thanks,
Colin

#5 lore raw
Quoted 6 lines · Colin D Bennett
Quoted 4 lines · Pavel Roskin

On Wed, 2008-04-02 at 18:54 -0700, Colin D Bennett wrote:
I was debugging the code to switch to the protected mode lately, so I
can assure you that the address space is linear :)

Is there anyone in particular on the GRUB project that I should be in contact with about the fancy menus task before submitting my SoC application?

You can ask your questions on this list, or submit your application and we will add comments there.