home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,579 of 2,978   
   Klaus Jorgensen to abuse@telia.com   
   Re: Timing   
   10 May 05 22:06:30   
   
   From: kj@no.spam   
      
   "Björn Felten"  wrote in message   
   news:nO6ge.23897$d5.171646@newsb.telia.net...   
   >> Actually, gettime() is quantized to 18.2 ticks per second.  I leave   
   >> it   
   >> as an exercise to the reader as to why this is, although it should   
   >> be   
   >> obvious :)   
   >   
   >    I wouldn't say it's that obvious, unless you were doing   
   > programming for the old PC, where the Xtal, that also happened to   
   > produce the timing for the UART, was chosen so it could produce an   
   > exact clock cycle for the old 300, 1200, 2400, 4800, 9600 and so on,   
   > speeds of yesterdays. 8-)   
   >   
      
   That could be done using other values for the 8250 divisor.   
      
   The oscillator runs at 14.31818 MHz which is divided by three for the   
   processor   
   clock, and (more important) by four for the frequency of the CGA color   
   burst signal.   
      
   /klaus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca