Need a fresh start
Posted: Thu Jul 24, 2003 11:00 pm
Hm.. I went through a tutorial at Bona Fide that was about bootsectors and some C programming. In that tutorial you made your own bootsector in assembly and later on you did some printing to the screen in C. I thought I had all that cleared out; how it worked and so on. The C code I do understand, since I have been programming in C for quite some time. But the assembly code.. ugh! The bootsector code I do understand to a sertain point, since every line were described in the tutorial.
Now I want to add input support. If I press a key on the keyboard I want it to show up on the screen! I looked around and found out that I need to have some interupts set up and that i need an IDT (what that now is) and stuff. Then I need to convert the keyboard scan codes into ASCII before I can print anything to the screen. But how? How to do all this? There is no tutorial that exactly goes through the process of programming a keyboard driver. I need some serious help over here..
Thanks major in advance!
ps.
I'm looking for tutorials or understandable code. All the code I've seen up to this point have been to messy (which means that it does so much more than I want to learn at the moment so it is hard to part the stuff I want from the stuff I don't want; which makes it all pretty inunderstandeble).
ds.
Now I want to add input support. If I press a key on the keyboard I want it to show up on the screen! I looked around and found out that I need to have some interupts set up and that i need an IDT (what that now is) and stuff. Then I need to convert the keyboard scan codes into ASCII before I can print anything to the screen. But how? How to do all this? There is no tutorial that exactly goes through the process of programming a keyboard driver. I need some serious help over here..
Thanks major in advance!
ps.
I'm looking for tutorials or understandable code. All the code I've seen up to this point have been to messy (which means that it does so much more than I want to learn at the moment so it is hard to part the stuff I want from the stuff I don't want; which makes it all pretty inunderstandeble).
ds.