Re: [Xpert]writing an XFree86 module device driver, need help!

2002-04-08 Thread Kevin Geiss
I got my strange device i described below back in february working in 8 bit color mode with visual FB_VISUAL_PSEUDOCOLOR. I hacked up shpacked.c in xc/programs/Xserver/miext/shadow so the shadow frame buffer follows the rules. now I have changed my frame buffer kernel module over to 24-bit color.

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-18 Thread Kevin Geiss
hey, i got it working. but i need to fine tune the delays a bit. is there an XFree86 facility for doing a busy wait for 1 microsecond? I put in a loop myself, but i was afraid the optimizer was dropping it. the display is a little flaky, like it may be writing too fast. I'm trying a longer loop

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Michel Dänzer
On Die, 2002-02-12 at 20:42, Mark Vojkovich wrote: > On 12 Feb 2002, Michel Dänzer wrote: > > > On Tue, 2002-02-12 at 18:38, Andy Isaacson wrote: > > > > > Look at the various drivers in xc/programs/Xserver/hw/xfree86/drivers/* > > > to see how ShadowFB is used. The MGA is sorta the original s

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Michel Dänzer
On Die, 2002-02-12 at 23:12, Kevin Geiss wrote: > > It looks like what I would want to do is change the call to > shadowAdd in xc/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c > to not pass in shadowUpdatePacked, but instead pass it the address > of my own function which i will base off of sh

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Kevin Geiss
Ok, thanks everybody for the suggestions!! I already had XFree86 4.2.0 downloaded, configured (defaults except for install locations) and compiled, just not installed. So I started looking in the source code. It looks like what I would want to do is change the call to shadowAdd in xc/programs/X

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Mark Vojkovich
On 12 Feb 2002, Michel Dänzer wrote: > On Tue, 2002-02-12 at 18:38, Andy Isaacson wrote: > > > Look at the various drivers in xc/programs/Xserver/hw/xfree86/drivers/* > > to see how ShadowFB is used. The MGA is sorta the original standard... > > It's no longer state of the art as it uses the o

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Mark Vojkovich
On Tue, 12 Feb 2002, Andy Isaacson wrote: > On Tue, Feb 12, 2002 at 10:17:55AM -0700, Kevin Geiss wrote: > > It's an LCD microdisplay, about 2 inches tall and 3 inches wide. it has > > a resolution of 800x600 and 8-bit color. it's meant to be held up to your > > eye for viewing. the optics are qu

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Michel Dänzer
On Tue, 2002-02-12 at 18:38, Andy Isaacson wrote: > Look at the various drivers in xc/programs/Xserver/hw/xfree86/drivers/* > to see how ShadowFB is used. The MGA is sorta the original standard... It's no longer state of the art as it uses the old shadowfb module, which updates the real framebu

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Michel Dänzer
On Tue, 2002-02-12 at 18:17, Kevin Geiss wrote: > So, what i need to do is figure out how to intercept accesses to the > frame buffer memory to enforce the memory write speed limit and the > 32-pixel-at-a-time rule. You can optionally provide a special update function for the shadow framebuffer

Re: [Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Andy Isaacson
On Tue, Feb 12, 2002 at 10:17:55AM -0700, Kevin Geiss wrote: > It's an LCD microdisplay, about 2 inches tall and 3 inches wide. it has > a resolution of 800x600 and 8-bit color. it's meant to be held up to your > eye for viewing. the optics are quite nice, you don't have to squint or > anything to

[Xpert]writing an XFree86 module device driver, need help!

2002-02-12 Thread Kevin Geiss
I'm trying to get a strange little device working, and i've run into a problem. It's an LCD microdisplay, about 2 inches tall and 3 inches wide. it has a resolution of 800x600 and 8-bit color. it's meant to be held up to your eye for viewing. the optics are quite nice, you don't have to squint or