Skip to content

Instantly share code, notes, and snippets.

@mach-kernel
Created February 19, 2018 02:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
int *gs_char = (int*)0x00C000;
while (1) {
if (*gs_char & (1 << 7)) {
handle_key_input();
}
// For argument's sake
*(int *)0x00C010;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment