Re: MS-DOS Porting trouble

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Sun 13 Aug 2000 - 18:51:37 IDT


On Fri, 11 Aug 2000, Lionel Pinkhard wrote:

> My game expects the time to be returned in the system timer's format, how
> would I be able to convert tv.tv_usec to this format? The way the game is
> programmed, makes it VERY hard to rewrite the game's timing routines,
> without rewriting the entire game, but the game uses a procedure which
> returns the system timer, so just converting the number in this
> procedure would be the easiest. :-)

I don't know what is the definition of system timer's format, but I
guess that the definition does give you the transformation from seconds
(and therefore microseconds) to system time.

-- 
Matan Ziv-Av.                         matan@svgalib.org


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST