taking keyboard input for my own OS
Posted: Mon Jan 30, 2012 8:18 am
For my tiny OS i want to take keyboard input.
I have some doubts.
1.I tried to take keyboard input. If i press a key once the whole screen fills with the typed character as i have allowed to display the input fro keyboard. I want to take input fro ps2 keyboard. What shall i do?
2. I am receiving break and make codes from port 0x60 is there any better way of doing it?
3. this is not related to the title of this thread. But in my programs if i create a string longer than 17 characters, my OS kernel doesn't work at all. I am compiling my kernel to elf format. I mean in the grub when i type boot it just doesn't go any further.
I have some doubts.
1.I tried to take keyboard input. If i press a key once the whole screen fills with the typed character as i have allowed to display the input fro keyboard. I want to take input fro ps2 keyboard. What shall i do?
2. I am receiving break and make codes from port 0x60 is there any better way of doing it?
3. this is not related to the title of this thread. But in my programs if i create a string longer than 17 characters, my OS kernel doesn't work at all. I am compiling my kernel to elf format. I mean in the grub when i type boot it just doesn't go any further.