Page 1 of 1

VESA back to text mode

Posted: Sat Dec 16, 2006 5:11 am
by AndrewAPrice
I seem to be posting a lot of questions lately.

Say I'm in protected mode and I've got 800x600x24bpp VESA enabled, how would I return to text mood?

Everything is about switching from text -> VESA, but I want to know how to switch back for things like kernel panic messages.

Posted: Sat Dec 16, 2006 7:37 am
by Combuster
The same way you got there. If you set the video mode from real mode (like GRUB) the easiest way is to leave protected mode and call int 0x10 once again. For panics and such you can freeze the computer after that.