clear_buffer was pointless for now since the buffer doesn't yet proper cursor tracking
This commit is contained in:
parent
5d290fe32f
commit
ef3374fd8d
@ -18,19 +18,18 @@ void writech_fb(unsigned cell, char c, char fg, char bg) {
|
||||
Frame_Buffer[cell+1] = (fg & 0x0f << 4) | (bg & 0x0f);
|
||||
}
|
||||
|
||||
void clear_buffer() {
|
||||
char* fp = Frame_Buffer;
|
||||
while(fp!=Frame_Buffer_End) {
|
||||
*fp = 0x00;
|
||||
}
|
||||
}
|
||||
|
||||
/* this probably doesn't belong here */
|
||||
void print_fb(char* str) {
|
||||
for(unsigned i =0;i<strlen(str);i++) {
|
||||
writech_fb(FRAME_CELL(i), str[i], Green, White);
|
||||
}
|
||||
}
|
||||
|
||||
/* moving the cursor to our given position */
|
||||
void cursor_adjust() {
|
||||
// TODO: c ipmle
|
||||
}
|
||||
/* generic test func for this module */
|
||||
void test_fb() {
|
||||
print_fb("adsf");
|
||||
}
|
||||
|
@ -30,8 +30,6 @@
|
||||
|
||||
void writech_fb(unsigned cell, char c , char fg, char bg);
|
||||
|
||||
void clear_buffer();
|
||||
|
||||
void print_fb(char* str);
|
||||
|
||||
/* Testing function because yote squad in here yeye */
|
||||
|
Loading…
Reference in New Issue
Block a user