Last active
February 25, 2017 11:27
-
-
Save NunoLava1998/d847ba9e23e48dcd4cebe6a10994069e 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
unsigned short int* buf = (unsigned short int *)0xB8000; | |
for (int y_format = 0; y_format < 25; y_format++) { | |
for (int x_format = 0; x_format < 80; x_format++) { | |
buf[y_format * 80 + x_format] = buf[(y_format + 1) * 80 + x_format]; | |
} | |
} | |
y = 24; | |
x = 0; | |
update_vptr(x, y); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment