Add: BMP working renderer (24b) + minor bug fixes
This commit is contained in:
@@ -118,11 +118,6 @@ void kmain(multiboot2_info *mb_info)
|
||||
printf("[debug] malloc test ptr1=0x%x, ptr2=0x%x\n", ptr1, ptr2);
|
||||
free(ptr1); free(ptr2);
|
||||
|
||||
|
||||
//display_bmp(framebuffer, pitch, bpp, (uint8_t*)initrd_addr);
|
||||
|
||||
//putpixel(framebuffer, pitch, bpp, i, j, yellow);
|
||||
|
||||
timer_install();
|
||||
keyboard_install();
|
||||
printf("[kernel] spawning shell...\n");
|
||||
|
||||
@@ -138,6 +138,7 @@ void shell_install()
|
||||
register_command("pi", program_pi);
|
||||
register_command("ls", program_ls);
|
||||
register_command("cat", program_cat);
|
||||
register_command("bmp", program_bmp);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user