aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/test.c b/test.c
new file mode 100644
index 0000000..cc634dc
--- /dev/null
+++ b/test.c
@@ -0,0 +1,25 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "graphics.h"
+
+int main(int argc, char *argv[])
+{
+ int i, j;
+
+ screen_init();
+ color(0, 1);
+ cls();
+
+ for ( i = 0 ; i < 16 ; i++ ) {
+ for ( j = 0 ; j < 8 ; j++ ) {
+ locate(j+1,i+1);
+ color(i,j);
+ print("\xfe");
+ }
+ }
+
+ while ( getchar() != '\n' );
+
+ return 0;
+}