From: Florian L. <f.l...@ti...> - 2001-06-08 14:02:41
|
Thanks a lot for your fast answer!!! Would you mind sending me your code, cos at the moment my screen is pretty much screwed up, but not rotated. I just tried to rotate the *s on putcs. last to first and mirrored every byte. Result--> mixed up screen color and chars. As far as I figured, the *s holds a bunch of bytes for the video_mem. Regards Florian Geert Uytterhoeven wrote: > > On Fri, 8 Jun 2001, Florian Lechner wrote: > > ANYBODY OUT there to help me? > > > > So my Question: > > > > I'm trying to rotate the fb by 180°. > > In the console, or in X? > > > Reason: > > I have an embedded board ElanSC400, C&T 65550, etc. > > > > I'm reading the driver/video code for a couple of days now, and pinned > > down myself to three points where I have to do changes to rotate the > > display. > > > > fbcon.c --> fbcon_putc > > fbcon.c --> fbcon_putcs > > fbmem.c --> fb_write > > > > Is that correct? > > For the console, I'd just write my own fbcon-*.c replacement (e.g. > fbcon-cfb8-r180.c, cloned from fbcon-cfb8.c) where you take the rotation in > mind in the following functions: > > - bmove > - clear > - putc > - putcs > - revc > - clear_margins > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > > _______________________________________________ > Linux-fbdev-devel mailing list > Lin...@li... > http://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel |