Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard input is received really quickly #1

Open
schas002 opened this issue Mar 23, 2016 · 6 comments
Open

Keyboard input is received really quickly #1

schas002 opened this issue Mar 23, 2016 · 6 comments

Comments

@schas002
Copy link
Contributor

Note: this issue was already announced in chat. But we might as well fire it back up here.

After the output test, the next thing is the input test. But the keyboard input is received really quickly. By that I mean really really quickly. By that I mean badly quickly. Uh, whatever.

This was experienced on the avocados.iso as of commit 1b36a37 in Oracle VM VirtualBox 5.0.0.

@schas002
Copy link
Contributor Author

Right now it has no delay. That pretty much reveals the cause of the problem. Back to the drawing 🐗, I guess.

@schas002
Copy link
Contributor Author

Also, first issue! \o/

@schas002
Copy link
Contributor Author

Hmm, a possible solution can be to put in the while loop a sleep function.

@schas002
Copy link
Contributor Author

We don't have a sleep function. I'll discuss in chat.

@somebody1234
Copy link
Contributor

No, we need to implement interrupts. I'll work on this when I've finished building a self-hosted GCC.

@vihanb vihanb added the shell label Mar 26, 2016
@vihanb vihanb added this to the Shell milestone Mar 26, 2016
@schas002
Copy link
Contributor Author

I found another possible solution: instead of implementing interrupts from scratch, we can send a typematic byte packet to the keyboard. send_keyboard(0xf3) I guess.

@somebody1234 somebody1234 removed their assignment Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants