blob: 4e9a5802457891e9c12e4d73c9f3edd7164efdc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
__asm__(".code16gcc\n");
#include "../output/vga_character.h"
char foo[] = "hello how are you";
void _start() {
vga_graphics_clear();
vga_graphics_write_with_attr('a', 1);
vga_graphics_write_with_attr('/', 2);
vga_graphics_write_with_attr('b', 3);
vga_graphics_write_str(foo);
vga_graphics_write(':');
vga_graphics_write(' ');
vga_graphics_byte_hex(0x40);
while(1) { }
}
|