This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I know this is not the primary topic of the mailing list, but here it goes. I have rtems 3.60 & newlib 1.70 setup as follows: target: i386-go32-rtems host: i586-unknown-linux It works.... I can compile the examples. In addition I have constructed a serial driver from various sources. My current difficulty is detecting if a key stroke is available.. I don't know if newlib has a "kbhit" equivalent. I can link libpc.a in, yet this doesn't seem to help,. kbhit nor bioskey(0x01) do the trick. If I use scanf, rtems doesn't deschedule the process voluntarily. Scanf seems to poll for keys, and only gets descheduled when the time-slice is up. Does RTEMS have it's own kb handler, or does it use djgpp's/dos' ? Thanks, Kurt ....._/.._/.._/.._/.._/_/..._/_/_/..........Kurt Edward Van Delden _/ _/ _/ _/ _/ _/ _/ kvandel@austinc.edu ..._/_/...._/.._/.._/_/....._/..............\\||//.....CS, Math & Chemistry _/ _/ _/ _/ _/ _/ _/ [o][o] ._/.._/.._/_/_/.._/.._/..._/.............o0o.\--/.o0o...Linux Rocks.......