Port-amiga archive

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

Re: GrfModes for Picasso/Xcl



Hi Olivier,

> Is there any fix for this?

Yes.  A workaround is to disable the Hardware cursor in the kernel.
Edit grf_cl.c and look for the cl_ioctl function.

Changes this lines:

            case GRFIOCGSPRITEPOS:
                return (cl_getmousepos(gp, (struct grf_position *) data));
   
            case GRFIOCSSPRITEPOS:
                return (cl_setmousepos(gp, (struct grf_position *) data));

            case GRFIOCSSPRITEINF:
                return (cl_setspriteinfo(gp, (struct grf_spriteinfo *) data));

            case GRFIOCGSPRITEINF:
                return (cl_getspriteinfo(gp, (struct grf_spriteinfo *) data));

            case GRFIOCGSPRITEMAX:
                return (cl_getspritemax(gp, (struct grf_position *) data));

to:

        case GRFIOCGSPRITEPOS:
        case GRFIOCSSPRITEPOS:
        case GRFIOCSSPRITEINF:
        case GRFIOCGSPRITEINF:
        case GRFIOCGSPRITEMAX:
            return (EINVAL);


I know this works because I've done it, and now Xcl has an unbroken
pointer (thanks to Bernd for the info).


Phil.

-- 
   _-_|\   Phil Kernick                      E-Mail: 
philk%dhn.csiro.au@localhost
  /     \  IT Manager                        Phone:  (08) 8303 8812
  \_.-*_/  CSIRO Div. Human Nutrition        Fax:    (08) 8303 8896
       v   PO Box 10041  Gouger Street       Mobile:   04 1981 0849
           Adelaide, SA 5000, Australia   "Me transmitte sursum, Caledoni!"



Home | Main Index | Thread Index | Old Index