summaryrefslogtreecommitdiffstats
path: root/kernel/kernel.c
blob: 9a901b1be4412b3b79419c5546999dfa713d1396 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifdef __cplusplus
extern "C" {
#endif

#include "../arch/x86/io/GlobalObj.h"
#include "../arch/x86/inc/TypeConverter.h"

void main()
{
    VGADisplay d;
    IntConverter conv;

    unsigned int i = 124;

    d << conv.intToChar(i);
    d << "Hello, world!\tHello, world!";
    for(int i = 0; i < 10; i++)d << "\tHello!";
};

#ifdef __cplusplus
};
#endif