This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LWIP & Microwindows


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) &&
defined(CYGPKG_HAL_I386_PCMB)
 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()
works.

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?

Thanks

Karl


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]