aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
blob: cc634dc0415e048de2c1b03866698ff7e74646c9 (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;
}