Languages Assembler x86 Programming Sourcecode Libraries  

TMi0SDGL(tm) - CPU/FPU Feature Detection Library

download download  
important code information
author:
Vladimir
minimum requirements:
TMi0SDGL(tm) - CPU/FPU Feature Detection Library description

Recognizes 28+ CPUs and about 18 FPUs, checks for V86, determines CPU clock speed and determines 386dx chip stepping. ASM/PAS/C[++] sources included! Windows, OS/2 & DESQview-aware: works fine in DOS box, even returning correct MHz under Windows and DESQview! Differs i486,Cx486 and some Am486 models. DPMI-compatible. Make batches and file provided. Absolutely free of charge!!!


This code haven't been extensively tested on all CPUs it theoretically should recognize. I performed extensive tests only on systems available to me which include:

1. AMD Am386DX-40/Intel 80387DX
running MS-DOS 5.0, QEMM 7.04 + DESQview 2.63, Windows 3.11
2. Intel i486DX2-66
running MS-DOS 6.2, QEMM 7.04, Personal NW, Stacker 4.0,
Windows 3.10 Russian
3. GenuineIntel i486SX-40/None
running MS-DOS 6.2, QEMM 7.01, Windows 3.10
4. Intel 80286-10/Sun SPARCStation 1+ emulating 80286
5. Intel 80386SX-25/Intel 80387SX
running MS-DOS 6.2/MemMaker, Windows 3.10 Russian
6. AMD Am386DX-40/Cyrix Cx87SLC
running Novell DOS 7, Personal NW, Windows 3.10
7. Intel i486DX-50
running MS-DOS 6.2, Windows for Workgroups 3.11
8. Intel Pentium-S/60
running Windows 95 build 950r2
9. Cyrix Cx486DX-40
running Windows 95 build 950r2
10. GenuineIntel i486DX-33
running MS-DOS 6.0/MemMaker, Windows 3.10
11. AMD Am386DX-40/IIT 3C87
running MS-DOS 5.0, QEMM 7.52, Windows 3.10
12. Cyrix Cx486DX2-50
running MS-DOS 6.2, Windows for Workgroups 3.10
13. P5-66 (step 7, no FPU bug)
running MS-DOS 6.22, QEMM 7.52, Windows 3.10
14. AMD Am486DX4-100
running MS-DOS 6.22, QEMM 7.52, Windows 3.10 Russian
or Windows 95 Final Beta Release (build 337)
15. GenuineIntel i486DX2-50
running MS-DOS 6.22 Russian/MemMaker, Windows 3.10 Russian

On all listed systems the code appeared to work fine giving correct results under all listed environments except [1,6] when running Soft-ICE 2.62 - incorrectly stated that CPU is 386SX. I cannot guarantee that the code will run o.k. on systems with other configurations/operating environments, though I hope it will. Please don't bomb me with letters like "wow! this thingie crashes my PC with such and such CPU/FPU under such and such env." - you got full sources, and you should know how to use a debugger if you know how to program, so try to find out the origin of the problem on YOUR system (and maybe a workaround) before reporting it.


File List:
CPU.ASM1Kb
CPU.C1Kb
CPU.PAS1Kb
CPUSPEED.ASM6Kb
CPUTYPE.C6Kb
CPUTYPE.DOC19Kb
CPUTYPE.H2Kb
CPUTYPE.PAS10Kb
CPU_HL.ASM11Kb
CPU_TYPE.ASH31Kb
CXMODEL.ASM2Kb
DOSINOUT.ASH1Kb
FILE_ID.DIZ1Kb
HEADER.ASH1Kb
HISTORY.DOC14Kb
LSTRING.ASH1Kb
MAKEA.BAT334b
MAKEC.BAT3Kb
MAKEFILE3Kb
MAKEP.BAT1Kb
MLIB.BAT2Kb
MODEL486.ASM3Kb
P5INFO.ASM3Kb
P5INFO.C4Kb
P5INFO.PAS4Kb
README.1ST8Kb
SMM.ASM2Kb
SPEED.ASH4Kb
TEST486.PAS1Kb
UNIDEF.INC11Kb
VMZ.ASC313b
YESNO.COM72b

Similar code
Useful Assembler Routines (Popularity: ) : A collection Of 37 assembly source codes for use with BASIC. Includes memory management, interupt controllers, window scrollers, text conversion, program loaders, printer conversion and more.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 80
version
size in Kb 61
popularity   1480/7913374
user rating 7/10
ad


New Code
Popular Code