-
-
Save mach-kernel/fe78fd3f9cc1cac9551466b796f86079 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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