source: golgotha/src/golg/cticks.hh

Last change on this file was 80, checked in by Sam Hocevar, 12 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 646 bytes
RevLine 
[80]1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9__inline w32 get_clock()
10{
11        w32 res;
12        __asm   {
13                push eax
14                push edx
15                __emit 0x0F
16                __emit 0x31
17                mov res,eax
18                pop edx
19                pop eax
20        }
21        return res;
22}
Note: See TracBrowser for help on using the repository browser.