[vga_font] とある
This commit is contained in:
parent
57d5196509
commit
b01c79a95c
@ -27,7 +27,7 @@ parse_args(char * arg) {
|
||||
/* QEMU Video Mode, we are free to set things for 1024x768 */
|
||||
graphics_install_bochs();
|
||||
bochs_draw_logo("/bs.bmp");
|
||||
char * welcome = "Welcome to ToAruOS!";
|
||||
char * welcome = "Welcome to \200\201\202OS!";
|
||||
for (uint16_t i = 0; i < strlen(welcome); ++i) {
|
||||
bochs_write_char(welcome[i], i * 8, 0, 0x00FFFFFF, 0x0);
|
||||
}
|
||||
|
@ -1250,4 +1250,44 @@ uint8_t number_font[][12] = {
|
||||
0b00000000,
|
||||
0b00000000 /* 12 */
|
||||
},
|
||||
{ 0b00000000,
|
||||
0b01000100,
|
||||
0b01101100,
|
||||
0b00111000, /* 4 */
|
||||
0b00100000,
|
||||
0b01100000,
|
||||
0b11000000,
|
||||
0b11000000, /* 8 */
|
||||
0b01100000,
|
||||
0b00111000,
|
||||
0b00000000,
|
||||
0b00000000 /* 12 */
|
||||
},
|
||||
{ 0b00000000,
|
||||
0b00110000,
|
||||
0b00110000,
|
||||
0b11111110, /* 4 */
|
||||
0b00110000,
|
||||
0b00110000,
|
||||
0b01111010,
|
||||
0b10110110, /* 8 */
|
||||
0b01111100,
|
||||
0b00110010,
|
||||
0b00000000,
|
||||
0b00000000 /* 12 */
|
||||
},
|
||||
{ 0b00000000,
|
||||
0b11111110,
|
||||
0b00001100,
|
||||
0b00011000, /* 4 */
|
||||
0b00110000,
|
||||
0b01100000,
|
||||
0b00110000,
|
||||
0b00011000, /* 8 */
|
||||
0b00101100,
|
||||
0b00111010,
|
||||
0b00000000,
|
||||
0b00000000 /* 12 */
|
||||
},
|
||||
|
||||
};
|
||||
|
@ -140,11 +140,6 @@ int main(struct multiboot *mboot_ptr, uint32_t mboot_mag, uintptr_t esp)
|
||||
*/
|
||||
cls();
|
||||
|
||||
char * welcome = "Welcome to ToAruOS!";
|
||||
for (uint16_t i = 0; i < strlen(welcome); ++i) {
|
||||
bochs_write_char(welcome[i], i * 8, 0, 0x00FFFFFF, 0x0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Aw man...
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user