Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Migrating ports from XFree86 to Xorg (Was: Changing default X11_TYPE from native to modular for some platforms)



On Tue, 27 Sep 2011 14:31:04 -0400
Michael <macallan1888%gmail.com@localhost> wrote:

> > > Huh? Ite draws characters by calling functions provided by grf,
> > > wsdisplay can do the same.
> > 
> > Typical wsdisplay driver implementation provides functions like
> > putchar, cursor, etc. In grf+ite combination, these functions are
> > provided by ite. So, if we suddenly don't use ite, then we don't have
> > access to these functions ;). 
> 
> Sorry, I must be missing something since this makes no sense whatsoever.
> putchar() is a low level operation that's done by the driver or something
> else that scribbles into video memory ( like rasops for example ). Why on
> earth would anyone put that into the terminal emulator?

Radoslaw is right that the terminal support functions like putchar(),
cursor(), etc. are currently implemented in a the hardware-dependant
part of ite, e.g. ite_cl.c for CirrusLogic.

But Michael is also right that the code already exists. No matter if it
is in ite_xx.c or in grf_xx.c, we can copy most of it to implement the
wsdisplay support functions. And we just do that in grf_xx.c this time.

Can we come back to the real problems? :)

Question: Does XOrg's wsfb expect the mapped frame buffer to have the
same resolution as the wsdisplay console had before?

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index