feature: vbe is enabled, drivers for vbe tbd

This commit is contained in:
2024-12-03 13:29:36 +01:00
parent 30d22b3334
commit 2a281522cf
7 changed files with 107 additions and 43 deletions

View File

@ -20,6 +20,8 @@
* SOFTWARE.
*/
// https://imgflip.com/i/9cflls
#pragma once
/* How many bytes from the start of the file we search for the header. */
@ -260,3 +262,7 @@ struct multiboot_apm_info {
};
#endif /* ! ASM_FILE */
#include <stdint.h>
void init_multiboot(multiboot_info_t *mbd, uint32_t magic);

12
headers/vbe.h Normal file
View File

@ -0,0 +1,12 @@
#pragma once
#include <stdint.h>
struct vbe_interface {
uint32_t *buff;
uint16_t height;
uint16_t width;
uint8_t bpp;
};
extern struct vbe_interface display;