My friends have some queries which they would like to be helped with :-

Query I - About using fonts in a graphics mode ( currently I am using
               800x600x256) under svgalib 1.4.1

vgagl offers a single font of size 8x8, which is very small.
(This font is being used under svgalib using gl_setfont() )
How do I scale this font to a bigger size from within and/or from
outside my program?
Also where do I get different fonts from?

Query II - To get a timing resolution of 10 ms or less under DOS (Turbo
                C++ 3.0)

    I would like to call a function every 10 ms. (preferably lesser)
    WITHOUT making it a TSR or an ISR. The basic requirement is :

    void foo()
    {
        static delayElapsed;
        if delayElapsed is > 10 ms return;
        .......
        .......
    }

    Currently, I am using the timeb structure which offers a millitm
    member but its resolution is 1 CLK_TCK (ie. ~ 54 ms under DOS)
    BUT 1 ms under LINUX.

    Also, the timeval struct under LINUX offers a microsecond field.

    How do I use a common function to measure a time interval as small
    as 10 ms or less under both DOS and LINUX ?




To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to