Okey, now that I have my printing thingy ready, I would need some help with the text input... well to be honest I have *no* idea how it should be done :-\
If you could point me some tuts that would be nice ,
but any other info will also be very useful.
Text input
Re:Text input
in al,0x60
or if you'd like to use the win key
in ax,0x60
(ms probably made it 2 bytes 'cause they did want other os-es to use that key)
al or ax then contains the scancode.
for example :1 = esc
but that differs on every keyboard...
make some kind of keyboard modules
(you can find a list of scancodes at osd (search at google: osd keyboard)
or if you'd like to use the win key
in ax,0x60
(ms probably made it 2 bytes 'cause they did want other os-es to use that key)
al or ax then contains the scancode.
for example :1 = esc
but that differs on every keyboard...
make some kind of keyboard modules
(you can find a list of scancodes at osd (search at google: osd keyboard)
Re:Text input
Umm... actually, unless you want to use BIOS ints, you need to use the kbd's IRQ(IRQ 1). It's not really easy to do, mostly because keyboard scancodes vary in legth drastically. A doc on keyboard scancodes, and getting the scancodes is here:
http://osdev.neopages.net/docs/kbd.php
K.J.
http://osdev.neopages.net/docs/kbd.php
K.J.