On Fri, Feb 08, 2008 at 10:54:35AM +0000, Simon Townsend wrote:
> Hi,
> Is a way of changing the DOS timer (the one that is about 1/18th seconds) 
> either within DOS or from a C program?
> I'm trying to use Freedos to run a PCI serial board so I can do some DMX 
> controls and need some timed pauses. 
> 
> Not sure what its called exactly - DOS talk is not yet very familiar to me :-)

If I remember correctly the counter-timer chip (CTC) has more than one 
clock generator (about 20 years ago, for some crappy memory, I had written
a refresh accelerator). Since other functionality relies on proper timing
as well, it's a bit tricky to speed up/modify the system clock (you'd
have to pass only every n-th tick through to keep the clock synced with
the wall clock).

I'd have to dig for the old source codes, and yellowed pages of hw docs...

Steffen

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to