9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Eric Dorman eld@jewel.ucsd.edu
Subject: [9fans] Plan9 commercial licenses
Date: Tue, 30 Sep 1997 11:44:06 -0700	[thread overview]
Message-ID: <19970930184406.LsCoJe-hmLvl078hGYF7qt5zz4bGdxmMQlVqviwhOgg@z> (raw)

 
> Date: Tue, 30 Sep 1997 14:20:47 EDT
> From: Scott Schwartz <schwartz@finch.cse.psu.edu>
> 
> eld@jewel.ucsd.edu (Eric Dorman) writes:
>  | sort of arrangement before.
> | Actually I have some of the 16b/32b color fixed: a compiling blit that
> | works for 16b/32b, hooks in devvga, etc.  Have to examine the other
> | parts of libgnot, cope with the colormap stuff, and steal my Matrox MGA
> | back :) .. probably integrate the softscreen and hardscreen somehow..
> 
> Speaking of that, has anyone thought about building chipset specific
> versions of /dev/bitblt?  (i.e. bind /dev/ark2000 /dev/bitblt)
> In a lot of cases you might be able to avoid software bitblt entirely, 
> and use the wizzy hardware instead.

Yes; that's my next thing on the long list of Things I'll Probably
Be Too Tired to Do :)   Another way of doing it (rather than redo
all of bitblt for every hw) would be to have brains in devvga that
knew about chipset features, then make gbitblt() into (*gbitblt)()
(and others for gbline(?), etc) so bitblt will drop into the hw-specific
code instead.

Of course, might be slicker to have bitblt code in a userprocess,
but would there a performance hit?  Might not matter that much.

I got wedged trying to scribble into the Matrox MGA from a user process
because I couldn't figure out how to wire a user page to a physical
address that was higher than KZERO (0x8000000).. the PCI bios tends to
wire my MGA framebuffer to 0xe800000 and segattach won't allow physaddrs 
that high.  I *could* change the MGAs framebuffer addr but I'd prefer
to let PCI bios set it up where it thinks is ok (as if pci bioses always
worked right, heh).

eric







             reply	other threads:[~1997-09-30 18:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-30 18:44 Eric [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-10-01  7:45 elliott
1997-09-30 21:45 Eric
1997-09-30 21:19 jmk
1997-09-30 21:07 Eric
1997-09-30 20:02 Eric
1997-09-30 19:56 jmk
1997-09-30 19:11 Scott
1997-09-30 19:09 David
1997-09-30 18:20 Scott
1997-09-30 16:41 Eric
1997-09-30 16:23 Frank
1997-09-30 15:14 G.David

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=19970930184406.LsCoJe-hmLvl078hGYF7qt5zz4bGdxmMQlVqviwhOgg@z \
    --to=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).