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,509 of 2,978   
   Markus Humm to Dr John Stockton   
   Re: timing pascal code(actuall wall cloc   
   11 Apr 05 18:29:56   
   
   From: markus.humm1@freenet.de   
      
   Dr John Stockton schrieb:   
   > JRS:  In article <1113080860.730074.102410@f14g2000cwb.googlegroups.com>   
   > , dated Sat, 9 Apr 2005 14:07:40, seen in news:comp.lang.pascal.borland,   
   > t_singh55@hotmail.co.uk  posted :   
      
   [snip]   
      
   >   
   > Remember that 16-bit TP/BP do not read the longint atomically   
   > (), though   
   > it should be trivial to do so in an ASM section.  One just uses a 32-bit   
   > read, and returns it in DX:AX, if a function is used   
   >   
      
   Yes, but you can do that in TP/BP by declarind a longint variable to   
   this absolute adress seg0040:$6c.   
      
   var timer:longint absolute [seg0040:$6c]; I think is that declaration.   
   Now it should be atomic, shouldn't it?   
      
   Greetings   
      
   Markus   
      
   --- 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