Yeah, I'm stumped on this one:

I need to get user input from a keyboard, with some problems involved:

  1. I'm using an OS I created
  2. I do not have access to any standard includes
  3. I need to code the function myself
  4. I'm in protected mode

Any help would be hot.

Which those constraints all bets are off. You wrote the OS so you will have to write all the low-level stuff. Does it even support C language? A compiler? How do you run any programs in that os?

I do not yet. I had the idea of writing the function in assembly, and then linking it into the kernel.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.