-
Notifications
You must be signed in to change notification settings - Fork 6
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
How would we define STDIN? #37
Comments
Hey, thanks for your interest in our project! What version of the kernel were you looking at? The master branch is more advanced and comes with a simple keyboard driver. You can find the keyboard driver in the master branch here: Keyboard Driver. However, NuummiteOS isn't really being maintained at the moment. I started a new project called Fluorite, it's got a more stable core, To answer your question properly: NuummiteOS doesn't have streams at the moment, so there's no |
I think I was looking at the rewrite branch. I'll check out master when I get home. I'll check out Fluorite as well. It's really exciting to see someone building kernels in Crystal! These are a great tool for learning about kernel operations without having to know too much low-level c and asm code :) |
tried the master branch. Looks like there's currently an error: The full stack trace:
|
@silvertale uh oh, that shouldn't happen. Since this is happening at compilation stage, it looks like a bug with the crystal compiler, rather than a bug with our source. I have no idea what could be causing this though.. |
I'm poking around the kernel code, and wanted to try reading from stdin. Obviously I'm new to kernel programming, so excuse my lack of knowledge in this area. I think the next really useful piece of code would be to add some kind of STDIN and STDOUT that we could use to read and write. How would we go about creating an STDIN? Is there a way to pull keystrokes yet? Perhaps some C code we could utilize?
The text was updated successfully, but these errors were encountered: