projects
/
eightysix
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
foobar
[eightysix]
/
kern
/
src
/
main.c
1
#include "intr.h"
2
#include "vid.h"
3
4
void kmain(void)
5
{
6
/*
7
int i, j;
8
unsigned short __far *vmem = (void __far*)0xb8000000ul;
9
unsigned short c;
10
*/
11
12
vid_init();
13
vid_text(0, 0, "hello!", VID_ATTR(LTRED, BLACK));
14
init_intr();
15
16
/*
17
for(i=0; i<25; i++) {
18
c = ((i & 0xf) << 8) | '@';
19
for(j=0; j<80; j++) {
20
*vmem++ = c;
21
}
22
}
23
*/
24
}