summaryrefslogtreecommitdiff
path: root/kernel.c
blob: 860e9801d9667ad8ed1437655e161efe5fa9456f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <rt.h>

volatile short *fb = (short*)0xB8000;

int boot() {
	char c = 'A';
	for (int i = 0; i < 26; i++)
		fb[i] = (c + i) | 0xD << 8;

	return 0;
}