Question about refresh rate in screenres?

DOS specific questions.
lassar
Posts: 300
Joined: Jan 17, 2006 1:35
Contact:

Question about refresh rate in screenres?

Postby lassar » Jun 16, 2013 16:32

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?
monochromator
Posts: 42
Joined: Mar 05, 2013 5:37

Re: Question about refresh rate in screenres?

Postby monochromator » Jun 16, 2013 17:37

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.
MichaelW
Posts: 3500
Joined: May 16, 2006 22:34
Location: USA

Re: Question about refresh rate in screenres?

Postby MichaelW » Jun 16, 2013 18:25

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.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

Re: Question about refresh rate in screenres?

Postby DOS386 » Jun 17, 2013 8:23

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

Return to “DOS”

Who is online

Users browsing this forum: No registered users and 4 guests