9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9front@googlegroups.com
Subject: Re: vga
Date: Wed, 11 Jul 2012 19:59:26 +0200	[thread overview]
Message-ID: <8995d16287a898fedf93707fe2eb4455@rei2.9hal> (raw)
In-Reply-To: <dc9e8f9d59c0ebc8706404054a93587d@sp.inri.net>

-m vesa is just a hack to force the vesa driver. -m is
really the monitor to use from vgadb. normally, aux/vga
will try to determine the type of graphics card from
snooping the vga bios (looked up in vgadb) and then run
device specific driver code to set the desired video mode.

vgadb basicly matches some strings in the vga bios and lets
you coose and you parametrize the driver.

realemu is only used for vesa. native graphics driver doesnt
need to run vga bios code. native driver just programs the
various hardware registers to set the desired video mode and
then activates the kernel part of the video driver for stuff
like hardware bliting (acceleration), hardware cursors ect...
(if the driver supports that)

so using video without vesa means you need a graphics card
that plan9 has native drivers for (and some plumbing in
vgadb so it gets activated for your specific card... or 
you need to port / write a driver for it. vesa is kind of a
universal driver that doesnt know at all how to program the
hardware, but just runs some code stored in the vga bios under
the supervision of realemu passing thru memory and register
reads/writes to the real hardware.

--
cinap

  reply	other threads:[~2012-07-11 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 14:52 vga sl
2012-07-11 17:59 ` cinap_lenrek [this message]
2012-07-11 18:29   ` vga sl
2012-07-11 18:06 ` vga cinap_lenrek
2012-07-11 18:30   ` vga sl
2012-07-11 23:38     ` vga cinap_lenrek

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=8995d16287a898fedf93707fe2eb4455@rei2.9hal \
    --to=cinap_lenrek@gmx.de \
    --cc=9front@googlegroups.com \
    /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;
as well as URLs for NNTP newsgroup(s).