[ECOS] Re: LWIP & Microwindows

Karl Robinson karl@kprob.demon.co.uk
Mon Mar 8 18:26:00 GMT 2004

I have now got the Tetris application running! I noticed two problems

1) The lwip_select() function does not react to mouse or kbd data becoming
available to the server - I had to hack it and poll the mouse driver (put a
an artificial time out in the select as per the #elif defined(__ECOS) &&
 version of GsSelect)

2) nxFlushReq() seems to fail (blocks forever) when SZREQBUF is 2048,
reducing it to 512 'un-bunged' things and the tetris function DrawWell()

I haven't had the chance to look at 1 & 2 in more detail - probably caused
by other bugs elsewhere or my own incomplete port ;)

BTW: Can anyone tell me how best to expose an interface to an LCD
controller? I'm using a 256 colour LCD and I want to make set/get palette
available in a clean way. Most of the code in scr_ecos.c that deals with
this is commented out. I also want to control LCD contrast, back light
bightness and back light on/ogg. I thought of using an ordinary device and
then calling get/set config. Is this a good idea?



Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list