diff --git a/oswan/main.cpp b/oswan/main.cpp index 3933dd7..0b40831 100644 --- a/oswan/main.cpp +++ b/oswan/main.cpp @@ -25,7 +25,6 @@ #include "source/io.h" #include "source/ws.h" #include "source/emulate.h" -#include "source/ticker.h" #include "source/audio.h" #undef DWORD diff --git a/oswan/source/ticker b/oswan/source/ticker deleted file mode 100644 index afb3e7f..0000000 Binary files a/oswan/source/ticker and /dev/null differ diff --git a/oswan/source/ticker.asm b/oswan/source/ticker.asm deleted file mode 100644 index 7b88cc0..0000000 --- a/oswan/source/ticker.asm +++ /dev/null @@ -1,42 +0,0 @@ -bits 32 -section .data -bits 32 - -times ($$-$)&7 db 0 -section .text -bits 32 - -global rdtscCapableCpu_ -global _rdtscCapableCpu -global _ticker -global ticker_ - -_ticker: -ticker_: - push edx - rdtsc - shr eax,8 - shl edx,24 - and edx,0xff000000 - or eax,edx - pop edx - ret - -rdtscCapableCpu_: -_rdtscCapableCpu: - push ebx - push ecx - push edx - mov eax,1 - xor ebx,ebx - xor ecx,ecx - xor edx,edx - cpuid - test edx,0x10 - setne al - and eax,1 - pop edx - pop ecx - pop ebx - ret -end diff --git a/oswan/source/ticker.h b/oswan/source/ticker.h deleted file mode 100644 index c4ccf4d..0000000 --- a/oswan/source/ticker.h +++ /dev/null @@ -1,5 +0,0 @@ -extern "C" -{ - long ticker(); -}; -