Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I included to my protected mode OS kernel VESA 2.x check (before PM set). Since then my OS work bad (e.g. when I press enter, computer freezes, sometimes it freezes when I press any key or sometimes is generated interrupt exception). Where can be problem? Is something changed (when I only set scr. res., all is ok)?
- I have VESA 1.2 ( ) - but in VESA 2.x check is Vesa 2.0 function (can be problem this?)
- Will VESA bank switch function work on graphic cards with VESA 2.x+ (linear framebuffer)???
check that the VRAM don't overwrite youre kernel
I encountred the the same problem when my kernel was loaded in the first MB.
Try to load your kernel after the first mega byte.
if you use paging try to mark all the vram and BIOS rom as used pages.