I need help on the following
Im new to OS kernel development for x86, I have however coded many small kernels for the AVR microcontrollers.
Anyways I need to know how to read user input from keyboard without using BIOS and how to write my own scanf() function.
So far I got a printf() function ready.
example code is greatly appreciated
I also need a way to load my kernel into the hard drive so you don't need the floppy to run it... the boot loader im using is GRUB.
If someone can provide example code on all this and give me a link that includes memory handling, determining ram, hard drive space etc it would be good too.
Im new at kernel dev for x86.
(excuse my english)
thanks in advance
getting user input from keyboard, help!
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: getting user input from keyboard, help!
http://www.osdev.org/osfaq2/index.php/G ... rd%20InputR2_ wrote:Anyways I need to know how to read user input from keyboard without using BIOS
Read the C standard, and check out how some other C libraries accomplished this task.and how to write my own scanf() function.
Install grub on your harddisk and read the manualsI also need a way to load my kernel into the hard drive so you don't need the floppy to run it... the boot loader im using is GRUB.
have - you - searched?If someone can provide example code on all this and give me a link that includes memory handling, determining ram, hard drive space etc it would be good too.