C (54/414)

From:Bart King
Date:04 Jun 2000 at 17:26:59
Subject:Re: Analogue joysticks - help from gfx-card owners wanted

"Alastair M. Robinson" <robinsonb5@talk21.com> wrote:

> cclk=GfxBase->current_tot_cclks;

You can find this value in any monitor driver.

See include:graphics/monitor.h ...

struct MonitorSpec
{
...
UWORD total_colorclocks;
...
};

Someone posted a result with millions of Hz. This is an overflow (it's
only a UWORD, max value of 65535), so don't use that value - the field is
probably not set in the monitor driver as it is hardly used.

For your information, the value on my Picasso 96 800x600 16-bit display is
30788 Hz.



Bart King of Bartman Software -- damned if I do, damned if I don't
http://www.bartmansoftware.co.uk : Software Developer for Amiga and PC
http://snapshots.bartmansoftware.co.uk : FUBAR snapshots coming soon
http://arcnet.vapor.com : "bart" on ArcNET IRC (ICQ: 18178781)

------------------------------------------------------------------------
Take your development to new heights. Work with clients like Dell and
pcOrder. Submit your resume to jobs@liaison.com. Visit us at
http://click.egroups.com/1/4358/1/_/451227/_/960155679/
------------------------------------------------------------------------