Skip to content

Instantly share code, notes, and snippets.

@aarroyoc
Created September 16, 2014 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarroyoc/634afddcb3e977ea202d to your computer and use it in GitHub Desktop.
Save aarroyoc/634afddcb3e977ea202d to your computer and use it in GitHub Desktop.
ND_Keyboard_Handler.cpp
extern "C"
void ND_Keyboard_Handler(struct regs* r)
{
unsigned char scancode = ND::Keyboard::GetChar();
if(scancode!=255)
{
ND::Screen::PutChar(scancode);
stringBuffer[stringPos]=scancode;
stringPos++;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment