Forum: ARM programming with GCC/GNU tools ARM9, Graphicx, X libraries

von Michael R. (michael_rodrigues)

Rate this post
0 useful
not useful

I intend to design/create my own stand-alone GUI. I am using the ARM9
(AT91SAM9RL64), and the yagarto toolchain. The X libraries are a part of
this toolchain and provides various funtions to create objects, etc.

I have tried these functions (XDrawlines, XFillPolygon, etc) in
Linux(REDHAT) and got some ideas as to how these functions are to be

However, i am a bit lost when i have to use these functions in the ARM9.
Could someone give me a head start as to how to implement these
functions in the ARM9.

I will be using SDRAM in my application for buffering the LCD. Oh, btw,
i'm using a 320 (RGB) x 240 resoultion LCD in 16 bit mode.

Please correct me if i'm wrongin saying the algorithm for the LCD
display will be as follows:

1. Map the RAM for LCD process.
2. assign a 'window' pointer for display (assuming i've set the basic
values of clipping, boundaries etc.)
3. create a pointer to an object (rect, line, etc.) that is linked to
the above window,and perform the function on this pointer (using XDraw,
4. NOW, output this to the RAM for refreshing.



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.