- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathkernel.h
More file actions
Latest commit
25 lines (19 loc) · 608 Bytes
/
Copy pathkernel.h
File metadata and controls
25 lines (19 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _KERNEL_H_
#define_KERNEL_H_
#include"main.h"
#defineVIDEO_WIDTH80
#defineVIDEO_HEIGHT25
classKernel
{
private:
unsignedshort* video_buffer;
unsignedint current_pos;
unsignedint current_line;
public:
Kernel();
unsignedshortVideoEntry(constunsignedchar character, constunsignedchar color);
voidClearVideoBuffer(constunsignedchar color);
voidPrintString(constchar* str, constunsignedchar color);
voidPrintCharacter(constchar character, constunsignedchar color);
};
#endif