nanogui: Writing a screen driver


Previous by date: 7 Feb 2002 01:54:51 -0000 Writing a screen driver, Fabrice Gautier
Next by date: 7 Feb 2002 01:54:51 -0000 what's the use of physpixels in clientfb.c?, ylyuan.davform.com
Previous in thread: 7 Feb 2002 01:54:51 -0000 Writing a screen driver, Fabrice Gautier
Next in thread:

Subject: Re: [nanogui] Writing a screen driver
From: "Greg Haerr" ####@####.####
Date: 7 Feb 2002 01:54:51 -0000
Message-Id: <0b4a01c1af78$8ed2cac0$3aba46a6@xmission.com>

: Is there any docuement that explains how to write a screen driver for
: microwindows. I found some basic information in
: http://www.microwindows.org/microwindows_architecture.html but i'm not sure
: its very recent. 

The architecture document was written a while ago but is still
correct.  Depending on the method of interfacing with your
hardware, (linear framebuffer vs hardware registers vs graphics
library calls) I would start with a working drivers/scr_xxx.c file.
scr_fb.c is linear framebuffer, scr_svga.c uses the Svgalib
graphics calls, and scr_bios.c uses hardware registers...
The scr_x11.c shows how we interface Microwindows and X11.

You can start with just building read pixel, write pixel, 
draw horz line, draw vert line.  After getting those working,
write the blitter, and you're nearly there.

Regards,

Greg




Previous by date: 7 Feb 2002 01:54:51 -0000 Writing a screen driver, Fabrice Gautier
Next by date: 7 Feb 2002 01:54:51 -0000 what's the use of physpixels in clientfb.c?, ylyuan.davform.com
Previous in thread: 7 Feb 2002 01:54:51 -0000 Writing a screen driver, Fabrice Gautier
Next in thread:


Powered by ezmlm-browse 0.20.