Page 1 of 1
MONITOR GEOMETRY
Posted: Sun Jun 03, 2012 4:16 am
by 0088
I WANT TO GET THE HORIZONTAL AND VERTICAL ACTIVE DISPLAY AND THE BITS PER PIXEL USING THE INT 10 FUNCTION 4F04 I TRIED TO USE THE FUNCTION 4F04 TO GET SVGA STATE BUT I DON'T KNOW WHAT ARE RETUNED IN THE BUFFERS AT ES:BX THE ONLY THAT I KNOW IS THAT FOR EACH DISPLAY ADAPTER THE 4F04 RETURNS DIFFERENT BUFFERS. WHAT VALUES ARE RETURNED IN THE BUFFERS RETURNED BY THIS FUNCTION?
Re: MONITOR GEOMETRY
Posted: Sun Jun 03, 2012 4:41 am
by Solar
It's the number of continuous 64 byte blocks needed for saving / restoring video state, says
Ralf Brown. Not related to monitor geometry at all.
Re: MONITOR GEOMETRY
Posted: Sun Jun 03, 2012 5:34 am
by 0088
Solar wrote:It's the number of continuous 64 byte blocks needed for saving / restoring video state, says
Ralf Brown. Not related to monitor geometry at all.
NO YOU DON'T. I ALREADY HAVE THE NUMBER OF 64 BYTE BLOCKS TO SAVE SVGA STATE. WHAT I NEED TO KNOW IS:
WHAT ARE AT BUFFER RETURNED BY SAVE SVGA STATE 4F04?
Re: MONITOR GEOMETRY
Posted: Sun Jun 03, 2012 5:56 am
by Brendan
Hi,
0088 wrote:Solar wrote:It's the number of continuous 64 byte blocks needed for saving / restoring video state, says
Ralf Brown. Not related to monitor geometry at all.
NO YOU DON'T. I ALREADY HAVE THE NUMBER OF 64 BYTE BLOCKS TO SAVE SVGA STATE. WHAT I NEED TO KNOW IS:
WHAT ARE AT BUFFER RETURNED BY SAVE SVGA STATE 4F04?
There's no way to tell what any specific video card might store in those 64 KiB blocks (it's likely to be different for different video cards).
The active display size and colour depth is determined by the video mode your code set last. If you didn't set a video mode, then set a video mode.
Cheers,
Brendan