WKern
Loading...
Searching...
No Matches
img.c
Go to the documentation of this file.
1
/*
2
WKern - A Bare Metal OS / Kernel I am maKing (For Fun)
3
Copyright (C) 2025 Wdboyes13
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <https://www.gnu.org/licenses/>.
17
*/
18
19
#include <
io/kio.h
>
20
#include <
utils/util.h
>
22
void
draw_smile
() {
23
Kputchar
(0xDB);
24
Kprintf
(
" "
);
25
Kputchar
(0xDB);
26
Kputchar
(
'\n'
);
27
Kputchar
(
'\n'
);
28
Kputchar
(0xDB);
29
Kprintf
(
" "
);
30
Kputchar
(0xDB);
31
Kputchar
(
'\n'
);
32
Kputchar
(
' '
);
33
Kputchar
(0xDB);
34
Kputchar
(0xDB);
35
Kputchar
(0xDB);
36
Kputchar
(0xDB);
37
Kputchar
(0xDB);
38
Kputchar
(0xDB);
39
Kputchar
(0xDB);
40
Kputchar
(0xDB);
41
Kputchar
(
' '
);
42
Kputchar
(
'\n'
);
43
}
draw_smile
void draw_smile()
Prints an ASCII Happy Face.
Definition
img.c:22
kio.h
Kprintf
void Kprintf(const char *fmt,...)
Formatted output to the screen.
Definition
printer.c:152
Kputchar
void Kputchar(char c)
Outputs a single character to the screen at the current cursor position.
Definition
printer.c:46
util.h
src
utils
img.c
Generated on
for WKern by
1.14.0