From: Robert Millan <rmh@aybabtu.com>
To: grub-devel@gnu.org
Subject: Xbox vesa-like framebuffer
Date: Mon, 31 Dec 2007 16:23:54 +0100 [thread overview]
Message-ID: <20071231152354.GA22762@thorin> (raw)
It seems the Xbox (hacked) firmware, Cromwell, sets up a vesa-like framebuffer
with predefined 640x480x32 RGBX settings at addr *(0xfd600800) [1]
I just gave a quick look at vbe.c to see how hard would it be to adapt it to
use default settings rather than BIOS calls. Can someone provide a bit of
advice on what those settings would be? In particular, I wonder about:
`mode' (as returned by grub_vbe_get_video_mode_info())
`active_mode_info.memory_model' (and in case of GRUB_VBE_MEMORY_MODEL_PACKED_PIXEL,
do we have to setup vga palette?)
`framebuffer.bytes_per_scan_line'
`framebuffer.bytes_per_pixel' --> 4, right?
Anything else I could have missed ? Also, is there an easy way to get debugging
output printed somewhere (before we have to care about font stuff) in the form
of raw pixels ? This thing doesn't seem to have a serial port or any other
simple debugging interface.
[1] from http://www.xbox-linux.org/wiki/Porting_an_Operating_System_to_the_Xbox_HOWTO#Video_Driver
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
next reply other threads:[~2007-12-31 15:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-31 15:23 Robert Millan [this message]
2007-12-31 20:04 ` Xbox vesa-like framebuffer Vesa Jääskeläinen
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=20071231152354.GA22762@thorin \
--to=rmh@aybabtu.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox