]> Joshua Wise's Git repositories - fpgaboy.git/blame - auxboot.c
IP
[fpgaboy.git] / auxboot.c
CommitLineData
2bcaaabf
JW
1#include <stdio.h>
2
3void dowrite(char *s, int len)
4{
5 int i;
6 for (i=0; i<len; i++)
7 {
8 write(1, s+i, 1);
9 }
10}
11
12void main()
13{
14 char buf[259];
15 int sz;
efc8cc5d 16 buf[0] = '\e';
2bcaaabf 17 buf[1] = 'P';
efc8cc5d
JW
18 read(0, buf+2, 256);
19 dowrite(buf, 257);
2bcaaabf 20}
This page took 0.029303 seconds and 5 git commands to generate.