How to get display's resolution?
Moderator:Moderators
I want to know how to get display's resolution by call bios interrupt
Re: How to get display's resolution?
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.
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.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com