Root/ubb-la/try.c

1#include <stdint.h>
2#include <stdlib.h>
3
4#include "gui.h"
5
6
7int main(int argc, char **argv)
8{
9    static uint8_t buf[4100];
10    int i;
11
12    for (i = 0; i != 8128; i++)
13        buf[i >> 1] |= (i & 0xf) << 4*(~i & 1);
14    gui_init();
15    gui(buf, 122, 8128, argv[1] ? atof(argv[1]) : 1e6);
16    return 0;
17}
18

Archive Download this file

Branches:
master



interactive