diff options
Diffstat (limited to 'src/kernel/video.c')
-rw-r--r-- | src/kernel/video.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel/video.c b/src/kernel/video.c new file mode 100644 index 0000000..0433ce2 --- /dev/null +++ b/src/kernel/video.c @@ -0,0 +1,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); +} |