CPU Info

BlitzMax Forums/BlitzMax Programming/CPU Info

Stuart Morgan(Posted 2005) [#1]
Here is a CPU information dll I made. If its not accurate let me know.

dll and example -> http://www.stuartmorgan.5gigs.com/Files/CPU_Info.zip




BlitzSupport(Posted 2005) [#2]
Sounds good, but weirdly enough it can't find the DLL here, when it's right there in the directory with the source! What compiler was the DLL created with? Any chance you could post an executable so I can see if that works?


CPU_RetreiveInfo


I before E, except after C, etc... "retrieve" :P


Stuart Morgan(Posted 2005) [#3]
hmmm was made with Visual C++ 2005

try this (C exe) -> http://www.stuartmorgan.5gigs.com/Files/CPUInfo.exe

I before E, except after C, etc... "retrieve" :P

Thx, Ill remember that. ;)


Dreamora(Posted 2005) [#4]
Built without .NET dependency?


Stuart Morgan(Posted 2005) [#5]
Ok, sorry it does require .NET, I'll see if i can adapt it to work without it.


BlitzSupport(Posted 2005) [#6]
Hmm, I do have .net installed, but no idea if such a DLL should work if called 'normally' (I'd have thought so). No joy with the executable here, but (apparently) for other reasons:


"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."




Dreamora(Posted 2005) [#7]
perhaps .NET installation error? (or not the .NET 2.0 beta as he uses beta software ... would be quite "anormal" to have MS beta installed ;))


Tiger(Posted 2005) [#8]
Same problem for me, I have .net installed.


PetBom(Posted 2005) [#9]
If it's built with C++ 2005 (Whidbey) it needs the .NET 2.0 framework to run.

The .NET Framework 2.0 redistributable can be found here (public BETA, release in November):

.NET Framework Version 2.0 Redistributable Package Beta 2 (x86)

.NET Framework 2.0 runs fine together with 1.0/1.1. (At least on XP). I've been running them in parallell since March. No problems.


Dreamora(Posted 2005) [#10]
Yeah or the creator has to change the used .NET back to 1.1 if no newer vesion is needed. As he only uses C++, there shouldn't be much of a problem


Stuart Morgan(Posted 2005) [#11]
It should now work without .NET but I cant gaurantee that it will.

Check updated link at top.


BlitzSupport(Posted 2005) [#12]
That worked... not sure how much is true!


CPU String: AuthenticAMD
CPU Brand: AMD Athlon(tm)
Stepping ID: 1
Model: 8
Family: 6

Processor type: 0
Extended model: 0
Extended family: 0
Brand index: 0

Cache line size: 64Kb
L2 Associativity: 8
Cache size: 256Kb

The folllowing features are supported:

x87 FPU On Chip - Yes
Virtual-8086 Mode Enhancement - Yes
Debugging Extensions - Yes
Page Size Extensions - Yes
Time Stamp Counter - Yes
RDMSR and WRMSR Support - Yes
Physical Address Extensions - Yes
Machine Check Exception - Yes
CMPXCHG8B Instruction - Yes
APIC On Chip - Yes
Unknown1 - No
SYSENTER and SYSEXIT - Yes
Memory Type Range Registers - Yes
PTE Global Bit - Yes
Machine Check Architecture - Yes
Conditional Move/Compare Instruction - Yes
Page Attribute Table - Yes
Page Size Extension - Yes
Processor Serial Number - No
CFLUSH Extension - No
Unknown2 - No
Debug Store - No
Thermal Monitor and Clock Ctrl - No
MMX Technology - Yes
FXSAVE/FXRSTOR - Yes
SSE Extensions - Yes
SSE2 Extensions - No
Self Snoop - No
Hyper-threading Technology - No
Thermal Monitor - No
Unknown4 - No
Pend. Brk. EN. - No