MONITOR GEOMETRY
MONITOR GEOMETRY
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
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.
Every good solution is obvious once you've found it.
Re: MONITOR GEOMETRY
NO YOU DON'T. I ALREADY HAVE THE NUMBER OF 64 BYTE BLOCKS TO SAVE SVGA STATE. WHAT I NEED TO KNOW IS: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.
WHAT ARE AT BUFFER RETURNED BY SAVE SVGA STATE 4F04?
Re: MONITOR GEOMETRY
Hi,
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
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).0088 wrote:NO YOU DON'T. I ALREADY HAVE THE NUMBER OF 64 BYTE BLOCKS TO SAVE SVGA STATE. WHAT I NEED TO KNOW IS: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.
WHAT ARE AT BUFFER RETURNED BY SAVE SVGA STATE 4F04?
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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.