[syslinux] Req: download timer
H. Peter Anvin
hpa at zytor.com
Wed Mar 17 11:41:48 PDT 2010
On 03/16/2010 09:45 AM, Gene Cumm wrote:
>
> Well, the lack of a precision timer in the Syslinux COM32 library may
> present issues. The only thing I see is the times() function, which
> returns the clock count (around 18.2 ticks per second; I think 55ms
> per cycle). hpa made reference to INT 1Ah in the declaration of this
> function however it still only looks at the same data. There might be
> a possibility of accessing the CMOS RTC via INT 70h (at I believe 1024
> Hz) but I believe that would require writing and installing an ISR.
>
> Aside from that, it's a simple matter of copying a file, discarding
> the data as you go. Such a COM32 module could be used by any variant.
>
Can you really make a claim of needing more than 55 ms accuracy for the
download time? There are a number of ways to get higher precision on
commodity hardware, but it's complicated.
-hpa
More information about the Syslinux
mailing list