News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Low-level definition of graph. video-regime...

Started by ArtemESC, April 08, 2006, 06:04:54 PM

Previous topic - Next topic

Tedd

What do you mean by "graphics video regime" ?

You want to access low-level graphics hardware?
I think more words are needed :wink
(It's okay if your english is not so good, but try to explain :U)
No snowflake in an avalanche feels responsible.

ArtemESC

>>Tedd
My English is really bad, but i try to explain...
  How set or get video-regime?
        Video-regime is screen parametrs,
                             for example: 640   480
                                               1024 768
I know what exist the BIOS function, but it allow detect and set "video" parametrs before 640: 480 only...

hitchhikr

If it's for windows: ChangeDisplaySettings()/EnumDisplaySettings().

Otherwise take a look at the VBE/VESA stuff for MSDOS.

ArtemESC

>>hitchhikr 
Thanks, but i want low-level (hardware-level) access to memory...

hitchhikr

What do you want to do exactly, what kind of memory do you want to have access to and under what os ?

ArtemESC

...memory... - video-memory
...os... - Really, i write os...

ArtemESC

Sorry for my two previous topics - i knew what i repeated on another topic...
         

hitchhikr

http://www.delorie.com/djgpp/doc/ug/graphics/vesa.html

You may want to access the linear frame buffer via vesa, most recent gfxcards support at least the 2.0 specs i think.


BogdanOntanu

ArtemESC,

There is no need to double post ...
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

ArtemESC

>> ArtemESC,
>>
>> There is no need to double post ...
    Why did i double post?
    Did you meant the (transfered)  topic in 16-bit programming?So, I asked other question...

Tedd

For Win32:
LONG ChangeDisplaySettings(LPDEVMODE  lpDevMode, DWORD dwflags);
No snowflake in an avalanche feels responsible.

ArtemESC

>>Tedd
     In clearly assembler... I must use hardware resource of a computer.
                       I "work" in ring 0. Please, give me a simple example or net-references...

Tedd

Then there is no easy way - each graphics device is (very!!) different.
If you only use VGA then it may be simple, but SVGA is not. VESA can help sometimes.

http://www.osdever.net/cottontail/#Video -- links to some information
No snowflake in an avalanche feels responsible.