summaryrefslogtreecommitdiff
path: root/src/kernel/video.c
blob: 0433ce2ffaf61e98e44e638ef447c85b9675ba31 (plain)
1
2
3
4
5
6
7
8
9
10
#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);
}