Can someone help me!
-
- Posts: 10
- Joined: Fri Feb 08, 2013 1:52 am
Can someone help me!
Hello guys!! I am working to my os. And i want to to know the keyboard support for my OS and how to add some commands when i have a keyboard support. Please help me :/
I am the creator of Isaac OS based on debian and LICENSED.
-
- Posts: 10
- Joined: Fri Feb 08, 2013 1:52 am
Re: Can someone help me!
Here is my OS source code (attached).. But I need your help on keyboard support and how can I add some commands.
- Attachments
-
- IsaaxOS.tar.gz
- Source and floppy image for Isaax OS
- (116.5 KiB) Downloaded 43 times
Last edited by Brendan on Fri Jul 12, 2013 9:13 am, edited 1 time in total.
Reason: Getting rid of crappy file download site -- Brendan
Reason: Getting rid of crappy file download site -- Brendan
Re: Can someone help me!
Do you know how to write a hardware interrupt handler? If not, you had better learn about that first.
After that you can try reading scan codes from port 60h from inside your handler, and read up on the PS/2 keyboard on the Wiki.
You get commands the same way you would if you were writing an app in C. By calling something equivalent to getch() (which you will have to write yourself), and by storing the characters you receive in a buffer.
However, before you can process commands, you will need some kind of command interpretor. That could either be your operating system's shell program, some way down the road, or a kernel debugger, rather sooner.
After that you can try reading scan codes from port 60h from inside your handler, and read up on the PS/2 keyboard on the Wiki.
You get commands the same way you would if you were writing an app in C. By calling something equivalent to getch() (which you will have to write yourself), and by storing the characters you receive in a buffer.
However, before you can process commands, you will need some kind of command interpretor. That could either be your operating system's shell program, some way down the road, or a kernel debugger, rather sooner.