[kaffe] kaffe + nano-X + MIPS

Gianluca Moro giangiammy at yahoo.com
Tue Oct 4 03:41:33 PDT 2005

Hi all,

As you (probably) remmember I'm porting kaffe on a
MIPS platform with Nano-X.

I was stunned as the java windows frame was shown,
but the contents were missing.
The problem, as pinted out Dalibor, was caused by
the parameter passing on MIPS platform.
I compiled the libffi library and compiled kaffe 
with --with-libffi and the problem was solved.

I draw lines, rectangles, but not arcs!!!
The problem was with the differents meaning in
the GrArcAngle and java drawArc function:
the conclusion was that, in file


I replaced all occurences of GrArcAngle with
GMY_GrArcAngle, and added the following define:

#define GMY_GrArcAngle(id,gc,x,y,rx,ry,a1,a2,t)

Nano-X x,y is the center of the arc, while java x,y
is the upper left point of the rectangle including the elipse
containing the arc (desumed running vaious examples on PC)

hope this helps,

Now I ocntinue with the tests


Gianluca Moro             Visit  http://ilpinguino.altervista.org/
giangiammy at yahoo.com      MyBlog http://blog.libero.it/giangiammy/

Yahoo! Mail - PC Magazine Editors' Choice 2005 

More information about the kaffe mailing list