I´m trying to create a int 2e - service 01 -> get key from keyboard
but for a single task it works, now is my question.
what to do if I have 2 tasks waiting for a key from keyboard?
how can I do it ?
anyone could give some help, please?
now I got sysenter/sysexit working, if anyone wants anything from my source just ask. I got software taskswitching, v86, bitmap mm
trying to create int service getkey
Here is my take on it. When do ever think that allowing 2 separate tasks to wait for keyboard input at the same time is a good idea? Unless you have multiple virtual consoles. Then you should only send the key press to the task in the active console and make the other tasks wait until their console is active to receive the key press. So I guess the easiest way to do it would be
to have a separate key buffer for each virtual console and to always add the key press to the active consoles buffer. I hope some of that made some sense.
to have a separate key buffer for each virtual console and to always add the key press to the active consoles buffer. I hope some of that made some sense.
sure, it makes sense.
sure, I have to dev a virtual consoles at my kernel
tnx so much
tnx so much