I'd like to create a little operating system for fun who can works on my personal computer basically to understand computer mecanics.
Until now I just worked on a VGA Text mode "kernel" (not really, just some c functions for wrtiting on the screen).
It's really easy to work with in qemu or real hardware but graphics scared me.
It seem difficult to find some resources who can help.
I understand that I need to get the video framebuffer address to work with but I don't see anything who can help me on internet.
I used this multiboot2 header for now with nasm:
Code: Select all
section .multiboot_header
header_start:
dd 0xe85250d6
dd 0
dd header_end - header_start
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start))
align 8
dw 5
dw 1
dd 20
dd 1024
dd 768
dd 32
align 8
dw 0
dw 0
dd 8
header_end:
I thought I could find it but really nothing about seem existing on internet.
Anyway, thanks a lot for taking time reading.