repo.or.cz
/
tigris.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add linker and vga driver, working hello, world
[tigris.git]
/
stage1
/
kernel.h
blob
0bfc3fd7d71033f87c49565e4ac0db1f1b7adab7
1
#ifndef KERNEL_H_
2
#define KERNEL_H_
3
4
#define WIDTH 80
5
#define HEIGHT 25
6
7
#define BLACK 0
8
#define BLUE 1
9
#define GREEN 2
10
#define CYAN 3
11
#define RED 4
12
#define PURPLE 5
13
#define BROWN 6
14
#define GRAY 7
15
#define DGRAY 8
16
#define LBLUE 9
17
#define LGREEN 10
18
#define LCYAN 11
19
#define LRED 12
20
#define LPURPLE 13
21
#define YELLOW 14
22
#define WHITE 15
23
24
typedef
unsigned char
uc
;
25
typedef
unsigned short
u16
;
26
27
#endif
// KERNEL_H_