Hello
How subj. make?
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)
>>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...
If it's for windows: ChangeDisplaySettings()/EnumDisplaySettings().
Otherwise take a look at the VBE/VESA stuff for MSDOS.
>>hitchhikr
Thanks, but i want low-level (hardware-level) access to memory...
What do you want to do exactly, what kind of memory do you want to have access to and under what os ?
...memory... - video-memory
...os... - Really, i write os...
Sorry for my two previous topics - i knew what i repeated on another topic...
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.
Thanks, but ...
http://www.delorie.com/djgpp/doc/ug/graphics/vesa.html - reference is invalid...
ArtemESC,
There is no need to double post ...
>> 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...
For Win32:
LONG ChangeDisplaySettings(LPDEVMODE lpDevMode, DWORD dwflags);
>>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...
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