projects
/
com32
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
porting over pcboot codebase
[com32]
/
src
/
main.c
1
void putchar(int c); /* in startup.asm */
2
3
static void printstr(const char *s)
4
{
5
while(*s) {
6
putchar(*s++);
7
}
8
}
9
10
int main(void)
11
{
12
printstr("hello from C\n");
13
return 0;
14
}