Fonction 4 ProcInfo (boxnFo) Beta 0.4

0.4: 
	The dll is now 28k instead of 40k
	More Function to be added :D

0.3: Added a few function:
	GetCpuSpeed
	GetCpuUsage
	GetRam
	CacheL1Info
        
	The dll is now 40k instead of 200k

	More Function to be added

0.2: MORE FUNCTION TO BE ADDED
0.1: 1st beta version



FUNCTION:

-> $dll(ProcInfo.dll,GetRam,PARMS)
	return physical memory status

PARMS				Comment

memory				Memory in Kbytes
memoryavail			Avaible memory in Kbytes
p100use				Percentage of memory in use 
p100avail			Percentage of avaible memory



-> $dll(ProcInfo.dll,GetCpuVendor,.)
	return the manufacturer of your processor (AMD,INTEL etc..)



-> $dll(ProcInfo.dll,GetCpu,.)
	return your processor



-> $dll(ProcInfo.dll,GetCpuSpeed,PARMS)
	return your processor speed

PARMS				Comment

mhz				Speed in Mhz
hz				Speed in Hz



-> $dll(ProcInfo.dll,GetCpuUsage,.)
	return cpu usage in %



-> $dll(ProcInfo.dll,CacheL1Info,PARMS)
	This function return info on the L1 cache

PARMS				Comment

DCACHESIZE			L1 Data Cache Size (kbytes)
DCACHEASSOC			L1 Data Cache Associativity
DCACHELINES			L1 Data Cache Lines
DCACHELSIZE			L1 Data Cache Line Size (bytes)
ICACHESIZE			L1 Instruction Cache Size (kbytes)
ICACHEASSOC			L1 Instruction Cache Associativity
ICACHELINES			L1 Instruction Cache Lines
ICACHELSIZE			L1 Instruction Cache Line Size (bytes)




Now all these functions will return if an instruction is supported ($true or $false)

Command				Comment

$dll(ProcInfo.dll,is3dNow,.)	3DNow! support
$dll(ProcInfo.dll,is3dNowExt,.)	Extended 3DNow! support
$dll(ProcInfo.dll,isMMX,.)	MMX support
$dll(ProcInfo.dll,isMMXExt,.)	MMX Extensions
$dll(ProcInfo.dll,isCPUID,.)	Supports CPUID instruction
$dll(ProcInfo.dll,isFPU,.)	FPU present
$dll(ProcInfo.dll,isVME,.)	Virtual Mode Extensions
$dll(ProcInfo.dll,isDEBUG,.)	Debug extensions
$dll(ProcInfo.dll,isPSE,.)	Page Size Extensions
$dll(ProcInfo.dll,isTSC,.)	Time Stamp Counter
$dll(ProcInfo.dll,isMSR,.)	Model Specific Registers
$dll(ProcInfo.dll,isPAE,.)	Page Address Extensions
$dll(ProcInfo.dll,isMCE,.)	Machine Check Extensions
$dll(ProcInfo.dll,isCMPXCHG8,.)	CMPXCHG8 instruction
$dll(ProcInfo.dll,isAPIC,.)	APIC
$dll(ProcInfo.dll,isSYSENTER,.)	SYSENTER/SYSEXIT instruction
$dll(ProcInfo.dll,isMTRR,.)	Memory Type Range Registers
$dll(ProcInfo.dll,isGPE,.)	Global Paging Extensions
$dll(ProcInfo.dll,isMCA,.)	Machine Check Architecture
$dll(ProcInfo.dll,isCMOV,.)	CMOV instruction
$dll(ProcInfo.dll,isPAT,.)	Page Attribue Table
$dll(ProcInfo.dll,isPSE36,.)	PSE36 (Page Size Extensions)
$dll(ProcInfo.dll,isFXSAVE,.)	FXSAVE/FXRSTOR instruction
$dll(ProcInfo.dll,isSSE,.)	SSE
$dll(ProcInfo.dll,isSSEFP,.)	SSE FP support




Credits -> Icez (he correct my english mistake)

you can get more dll from me (in french and cheap dll) at:
http://www.multimania.com/blackoffice/dll.html

Copyright 2001 [T]-BoNes
tbones@punkass.com