How to get display's resolution?

OS Design, Theory, and Programming

Moderator: Moderators

How to get display's resolution?

Postby Matrix7 » Mon Mar 15, 2010 7:49 am

I want to know how to get display's resolution by call bios interrupt
Posts: 8
Joined: Sat Apr 25, 2009 6:11 pm

Re: How to get display's resolution?

Postby Mike » Tue Mar 16, 2010 10:18 pm


There is no standard VGA BIOS interrupt for obtaining the current video modes' resolution. However, you can get the current video mode and obtain its resolution based on the video mode number, or read the information directly via VGA registers.
Lead Programmer for BrokenThorn Entertainment, Co.
User avatar
Site Admin
Posts: 463
Joined: Sat Oct 20, 2007 7:58 pm

Return to Advanced OS Development

Who is online

Users browsing this forum: No registered users and 2 guests