[syslinux] Req: download timer

Gene Cumm gene.cumm at gmail.com
Wed Mar 17 17:12:50 PDT 2010


On Wed, Mar 17, 2010 at 6:09 PM, Andrew Stuart <andrew at shopcusa.com> wrote:
> On 3/17/2010 11:41 AM, H. Peter Anvin wrote:
>>
>> 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
>
> Seems to me, that would be more then sufficient to gauge performance, at
> least in what I am looking for.
>

I was unsure how accurate you were looking for.

-- 
-Gene

"No one ever says, 'I can't read that ASCII E-mail you sent me.'"




More information about the Syslinux mailing list