Page 1 of 1

How to get display's resolution?

Posted: Mon Mar 15, 2010 7:49 am
by Matrix7
I want to know how to get display's resolution by call bios interrupt

Re: How to get display's resolution?

Posted: Tue Mar 16, 2010 10:18 pm
by Mike
Hello,

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.