function to read keyboard from withen my kernel not working
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
it does not make sense
i am positive this is how you read from the keyboard
It is. But first you have to check the keyboard buffer to see if there are any characters available. It seems the routine is waiting for you to hit a key, and won't return until you do. Naturally enough this locks up the entire machine.
You may want to delay the promised release date for your replacement for Linux.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094
Original Poster
Rep:
i never said it was a replacement to linux
and i want it to wait for a key
the thing is it never returns even if you press a key
i had i working for a second then it stopped
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.