git.joshuawise.com
/
fpgaboy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add both tile sets to LCDC; zoomar is still sad, but...
[fpgaboy.git]
/
auxboot.c
1
#include <stdio.h>
2
3
void 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
12
void main()
13
{
14
char buf[259];
15
int sz;
16
buf[0] = 0x1B;
17
buf[1] = 'A';
18
buf[2] = buf[3] = buf[4] = 0;
19
dowrite(buf, 5);
20
buf[1] = 'P';
21
read(0, buf+2, 127);
22
dowrite(buf, 129);
23
}
This page took
0.018069 seconds
and
4
git commands to generate.