Bran's tutorial has a chapter on the keyboard.
http://www.osdever.net/bkerndev/index.php
I even think there's some strcmp in there if you need it.
Make a command line
I will make my own code when i have learn! I'm just testing things, i holding on keyboard now, just some small problems..
Edit:
I have some errors, any one who can find out whats wrong?
kb.o: In function `keyboard_handler':
kb.c:(.text+0xe): undefined reference to `inportb'
kb.c:(.text+0x2f): undefined reference to `putch'
kb.o: In function `keyboard_install':
kb.c:(.text+0x4b): undefined reference to `irq_install_handler'
make: *** [link] Error 1
Edit:
I have some errors, any one who can find out whats wrong?
kb.o: In function `keyboard_handler':
kb.c:(.text+0xe): undefined reference to `inportb'
kb.c:(.text+0x2f): undefined reference to `putch'
kb.o: In function `keyboard_install':
kb.c:(.text+0x4b): undefined reference to `irq_install_handler'
make: *** [link] Error 1
Sorry my english, i'm from norway..
I write my own os now, DanOS. Website coming soon!
I write my own os now, DanOS. Website coming soon!
you either don't have those functions or you are not linking the file with those functions. I'm thinking you know absolute **** about programming, if you don't get what that means then why the hell are you trying to write an OS?
Sorry if I was harsh, you shouldn't expect people to just tell you exactly what to do, try writing your own code based on an algorithm that someone describes
Sorry if I was harsh, you shouldn't expect people to just tell you exactly what to do, try writing your own code based on an algorithm that someone describes
Working On:Bootloader, RWFS Image Program
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc