uspi
uspi copied to clipboard
Cant seem to get this to work on my os
I have tried a few things and a few other drivers, this is my OS Can you create a fork and help , On line 102 of main.c , I would like to read the keyboard into a buffer that clears on every newline (Enter key)
At first your OS must provide some functions to USPi, so that it can work. These functions are declared in the header file uspios.h. I had a quick look and for example I'm not sure, if you have interrupt (IRQ) support, which is needed in any case. When all needed functions are provided, you can register a callback function, which receives the pressed keys using USPiKeyboardRegisterKeyPressedHandler().
Thank you, i will try and gets IRQs working, then we can try from there
OK. You need all services declared in uspios.h (e.g. memory allocation and timer too).