I've cleared the kickoff, now what?
Posted: Tue Jul 22, 2003 11:00 pm
Okey, here's the deal:
I've gone through a couple of tutorials and have been able to make my own bootloader which jumps into protected mode and loads a C-written kernel. The kernel can only do 4 things: print to screen, clear the screen, input and output to memory. Print and clear uses the in-/output functions so maybe we could say there is only 2 real functions. Anyway, now I want to be able to read keys from the keyboard when the user presses them. How to do this? Do I set up a loop that gets a sertain value from a sertain memory position using a sertain index number? Can someone please show me some code on how to do this? Major thanks in advance!
Regards,
Anton Kiland, Sweden.
ps.
Is it only I who gets a rush out of this? =)
I've gone through a couple of tutorials and have been able to make my own bootloader which jumps into protected mode and loads a C-written kernel. The kernel can only do 4 things: print to screen, clear the screen, input and output to memory. Print and clear uses the in-/output functions so maybe we could say there is only 2 real functions. Anyway, now I want to be able to read keys from the keyboard when the user presses them. How to do this? Do I set up a loop that gets a sertain value from a sertain memory position using a sertain index number? Can someone please show me some code on how to do this? Major thanks in advance!
Regards,
Anton Kiland, Sweden.
ps.
Is it only I who gets a rush out of this? =)