Last active
December 4, 2019 03:38
-
-
Save fu-sen/e039c15e4cad69778cb7cdd2cbd9ae11 to your computer and use it in GitHub Desktop.
text sample | z88dk
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
#include <stdio.h> | |
void main() { | |
for (int y=1; y<=6; y++) { | |
for (int x=1; x<=24; x++) { | |
printf("%c[%u;%uH ", 27, y, x); | |
} | |
} | |
printf("%c[%u;%uH",27,2,2); // locate | |
printf("test"); | |
printf("%c[%u;%uH",27,3,3); // locate | |
printf("test"); | |
printf("%c[%u;%uH",27,4,4); // locate | |
printf("test"); | |
while (!getk()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment