All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: GUI Work
Date: Fri, 26 May 2006 18:21:56 +0300	[thread overview]
Message-ID: <44771D14.5050608@nic.fi> (raw)
In-Reply-To: <31A7CB00-4E1A-485D-922A-606650A8F410@rockymedia.ca>

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.
> 
> Also I have never written code this low-level (on a PC) before.  My most
> 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:
> 
> 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ääskeläinen



      reply	other threads:[~2006-05-26 15:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25  3:32 GUI Work John S.
2006-05-25  9:31 ` Vesa Jääskeläinen
2006-05-26  0:34   ` John S.
2006-05-26 15:21     ` Vesa Jääskeläinen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44771D14.5050608@nic.fi \
    --to=chaac@nic.fi \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.