blob: ab73bb0f4ede02904889d1dfde6b96b991745c88 (
plain)
1
2
3
4
5
6
7
8
9
|
#include <printf.h>
#include <video.h>
//to be implimented when paging is set up
void dump_video() {
struct mode_info *video = (struct mode_info *)0x600;
printf("Video info:\nx:\t%u\ny:\t%u\nbbp:\t%u\nloc:\t0x%p\n", video->width, video->height, video->bpp, video->framebuffer);
}
|