Can someone help me!

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
thegreatstudio
Posts: 10
Joined: Fri Feb 08, 2013 1:52 am

Can someone help me!

Post by thegreatstudio »

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.
thegreatstudio
Posts: 10
Joined: Fri Feb 08, 2013 1:52 am

Re: Can someone help me!

Post by thegreatstudio »

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
User avatar
Nessphoro
Member
Member
Posts: 308
Joined: Sat Apr 30, 2011 12:50 am

Re: Can someone help me!

Post by Nessphoro »

Casm
Member
Member
Posts: 221
Joined: Sun Oct 17, 2010 2:21 pm
Location: United Kingdom

Re: Can someone help me!

Post by Casm »

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.
Post Reply