9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] install onto P5Q-Pro SATA drives
Date: Thu, 18 Mar 2010 10:02:56 -0400	[thread overview]
Message-ID: <36ebbd8b8910e4e02496098cc55b24a4@ladd.quanstro.net> (raw)
In-Reply-To: <54c7627765e27a2ec3dbde1525838bad@hera.eonet.ne.jp>

> > (2) vesa vga driver doen't work for say 1280x1024x16 or x 32 vgasize ( this machine's
> > vga card is ATI Radeon HD 4350(1002/954f).  the upper 1/4 part etc...
>
> This is still problem.

there may be some magic overflow crt register bits that
could be set incorrectly.  i wonder about vga->crt[0x13].
my reading of the spec several years ago was that it needed

to be
	vga->crt[0x13] = (vga->virtx*mode->z)/64;
not
	vga->crt[0x13] = ((vga->virtx*mode->z)/8);

this produces output like the table here
http://wiki.osdev.org/VGA_Hardware.  but i never finished
testing this.

also, crt[0x18] should be set to 0x3ff, not that it matters.
the extra bit is just ignored.
(see http://www.osdever.net/FreeVGA/vga/crtcreg.htm)

- erik



      reply	other threads:[~2010-03-18 14:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-10 13:18 kokamoto
2010-03-17 11:22 ` kokamoto
2010-03-17 12:31   ` erik quanstrom
2010-03-17 15:06     ` kokamoto
2010-03-17 15:43       ` erik quanstrom
2010-03-20  7:17     ` EBo
2010-03-18 12:59   ` kokamoto
2010-03-18 14:02     ` erik quanstrom [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=36ebbd8b8910e4e02496098cc55b24a4@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).