How can I set up VESA with unreal mode?

Programming, for all ages and all languages.
Post Reply
cjxgm
Posts: 5
Joined: Sat Apr 30, 2011 12:15 am
Location: Quzhou, Zhejiang, China
Contact:

How can I set up VESA with unreal mode?

Post by cjxgm »

I wanna enable high resolution graphics mode, without protected mode (I really dislike pmode, don't know why). In OSDev Wiki I found how I can set up unreal mode, but how can I set up VESA and use it in unreal mode?

I'm using nasm to compile my code, and I have already written a boot loader that can load 64k from floppy and execute it from 100h like DOS. I want some completed codes rather than snippets.

Forgive me for my BAD English, anyway.
Where there is a hacker, there is art. Fork me!
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: How can I set up VESA with unreal mode?

Post by Love4Boobies »

cjxgm wrote:(I really dislike pmode, don't know why)
Maybe because you haven't spent any time trying to understand it? :roll:
how can I set up VESA and use it in unreal mode?
Just as you do it in real mode. Unreal mode is only popular because it lets you use the BIOS interrupts.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply