summaryrefslogtreecommitdiffstats
path: root/test.c
blob: f46816bd920a00a31628df562c0381af8a27455d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}