ops, the second return isn't there ::)
erm...
the function is [tt]unsigned int getkey()[/tt]
i just want to know where i find the [tt]portin()[/tt] and the [tt]in()[/tt]...
shouldn't they be a std c function???
KEYBOARD DRIVER/C QUESTION
Re:KEYBOARD DRIVER/C QUESTION
No, because they have no meaning outside of the ring 0 or real-mode x86 environment.
Read my i386.h.
Read my i386.h.
Re:KEYBOARD DRIVER/C QUESTION
can you use labels in inline assembly? like...
asm("startloop:");
asm("jmp startloop");
?
asm("startloop:");
asm("jmp startloop");
?
Re:KEYBOARD DRIVER/C QUESTION
OK THANK YOU
Now I got a working keyboard and printed my screen full of little characters *gg*
BUT
this is in a loop
i'd like a good doc and maybe a sample code for IRQs and how to tell the machine that the IRQX is the function for irq #X...
and again some questions:
i'd like some docs about browsing fd and hd and how i load and execute files, with a detailed description...
i see a lot of MOVs and so on in my bootstrapper and don't know which number where does what... looks weird, all the adresses...
where can i find a list of the adresses for e.g.: video card, usb,..... (without that it's not very easy to develope an OS...)
Now I got a working keyboard and printed my screen full of little characters *gg*
BUT
this is in a loop
i'd like a good doc and maybe a sample code for IRQs and how to tell the machine that the IRQX is the function for irq #X...
and again some questions:
i'd like some docs about browsing fd and hd and how i load and execute files, with a detailed description...
i see a lot of MOVs and so on in my bootstrapper and don't know which number where does what... looks weird, all the adresses...
where can i find a list of the adresses for e.g.: video card, usb,..... (without that it's not very easy to develope an OS...)