Remove more useless things

This commit is contained in:
Godzil 2020-01-15 18:48:29 +00:00
parent 8af626c143
commit b7eb12dedc
4 changed files with 0 additions and 48 deletions

View File

@ -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

Binary file not shown.

View File

@ -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

View File

@ -1,5 +0,0 @@
extern "C"
{
long ticker();
};