Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 1996 19:55:45 -0700 (PDT)
From:      Jonathan Mini <j_mini@efn.org>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        hackers@FreeBSD.org
Subject:   Re: Screen savers for syscons.... 
Message-ID:  <Pine.SUN.3.95.961021194857.8954A-100000@garcia.efn.org>
In-Reply-To: <15186.845931007@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Oct 1996, Jordan K. Hubbard wrote:

> >   I'm planning on modifying the screen savers that come with FreeBSD
> > 2.1.5-R to work with other display devices other than VGA. (like my mono
> > system) AFter that, I'd like to write a few screen savers that use the
> > 320x200x256 graphics mode of VGA to create a few decent screen savers.
> > (let's face it, other than the "green" and "blank" screen savers
> > everything else is pitiful.)
> 
> Then please, do it the way we've always discussed it - as a
> screen-saver-helper's library you can link your screen saver app with
> and save on all the init/teardown code as well as having a convenient
> graphics/text library for painting on the screen.  Then write your
> first few screen savers as consumers of this library, as an
> operational test.

Well. Considering that that is prettym uch the easies (from my humble
point of view) way to do it, I was planning on doing something of the
sort. 
  Since I was planning on writing more than one screen saver, it was
obvious to me from the start that I was going to either have to wirte a
library or cut and paste a lot of redundant code. 
  Fortunatly for you guys, I hate cutting and pasting, plus it annoys me
at the size of the "blank" screen saver which really does nothing more
than this :
	fill_screen(' ',FG_WHITE | BG_BLACK);
  I was planning on making a library that basically gave me three things :
	- a set of handy routines for writing to the text and graphics
modes of the syscons -- be it MDA,VGA, whatever. (I was thinking text,256
and 16 color modes)
	- hide all that setup and shutdown code -- Why am I looking at it
if it's pretty much the same for all screen savers??
	- give me a handy hook for a 100hz timer. =) So that I can animate
without doing any thinking.

> Think "after dark module" :-)

I've never played with After Dark's API. Think of it as keeping me
"unsoiled." ;) (Or if After Dark did it right, "ignorant.")

> 						Jordan

                                Jon Mini, j_mini@efn.org, mini@4j.lane.edu
                                                    GAMMA Development Team
--------------------------------------------------------------------------
"I think I can, I think I can, I think I can...."
little.blue.engine:Reality Protection Fault. (core dumped)
--------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.95.961021194857.8954A-100000>