views:

60

answers:

1

When dealing with Vesa (version 2) I can detect if its available, get all the available resolutions, but when it comes to setting the resolution... I am able to change to 1024x768 (32bpp) but then the screen is just blank... am testing it on VirtualBox...

After setting the mode, is there anything else am supposed to do?

+2  A: 

Did you actually set any pixels on? It's possible the memory is zeroed out so all you see is an all black screen.

shoosh
no all I did was just, change to the mode... it clears all my text and printf no more works
Fredrick
... printf works only in text mode. If you want something on the screen in vesa mode you need to draw some pixels manually. On a different note, why the hell are you mocking around with DOS?
shoosh
ok I get it... its not really Dos, was trying to create a bootloader/kernel...
Fredrick