I have been looking a screenres?
ScreenRes width, height, depth , num_pages , flags , refresh_rate
What is refresh used for, and how does it affect the speed of your program?
Question about refresh rate in screenres?
-
- Posts: 42
- Joined: Mar 05, 2013 5:37
Re: Question about refresh rate in screenres?
In the current state of the graphics library for DOS now "refresh_rate" not affect anything and is assigned by default (50-70 Hz), depending on the used graphics mode.
In general, this option should affect the refresh rate of the monitor and the refresh rate of video memory by graphics library.
In general, this option should affect the refresh rate of the monitor and the refresh rate of video memory by graphics library.
Re: Question about refresh rate in screenres?
The refresh rate will affect the speed of your program if your program (or the graphics library) is syncing with the refresh (IOW waiting for vertical retrace). Ignoring some complicating details the higher the refresh rate the less time your program spends waiting.
Re: Question about refresh rate in screenres?
AFAIK the parameter has no effect in DOS (VESA 2.0 can't, VESA 3.0 maybe can ???).
http://www.freebasic.net/wiki/wikka.php ... gScreenres
http://www.freebasic.net/wiki/wikka.php ... gScreenres
Who is online
Users browsing this forum: No registered users and 1 guest