MASM32 Downloads
Supported by Processor and installed Operating System:------------------------------------------------------ MMX, CMOV and FCOMI, SSE, SSE2, SSE3, SSSE3, SSE4.1, POPCNT, SSE4.2 featurenumber = 13
MMX, CMOV and FCOMI, SSE, SSE2, SSE3 featurenumber = 9
Thank you Steve and Andy for testing. Gunther
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]"Version"="Windows 95""VersionNumber"="4.00.1111""ProductName"="Microsoft Windows 95""CurrentVersion"=(Value not found)"CurrentBuildNumber"=(Value not found)"SubVersionNumber"=" B""CSDVersion"=(Value not found)"BuildLab"=(Value not found)"ProductId"="24264-XXX-XXXXXXX-XXXXX"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center]"Ident"=(Key not found)OSVERSIONINFOEX Structure: Version.Build: 4.0.67109975 Platform ID: Win32 on Windows 95 CSD Version: B
Supported by Processor and installed Operating System:------------------------------------------------------ MMX, CMOV and FCOMI, SSE, SSE2, SSE3, SSSE3 featurenumber = 10
identifying the os version is WAY easier than identifying the CPU :Phttp://www.masmforum.com/board/index.php?topic=11963.0i can upload the attachment if you like
Have you thought about seeing if Microsoft would buy a license for it ? :t
Unfortunately, the CR4 register can only be read in privileged mode. Application programs therefore have a serious problem determining whether they are allowed to use the XMM registers or not. According to official Intel documents, the only way for an application program to determine whether the operating system supports the use of XMM registers is to try to execute an XMM instruction and see if you get an invalid opcode exception. But not all operating systems, compilers and programming languages provide facilities for application programs to catch invalid opcode exceptions. A Windows application, for example, using Intel’s detection method would therefore have to be tested in all compatible operating systems, including various Windows emulators running under a number of other operating systems.The demonstrated detection method in the procedure doesn't have this drawback. That is the point.
i see - very interesting :thowever, i think if you tested XP, Vista, Windows 7, you'd have enough info to determine support level
Hi Andy,Quote from: Magnum on February 03, 2013, 12:09:07 PMHave you thought about seeing if Microsoft would buy a license for it ? :tno, not really. But we should help other code writers which are relatively new to assembly language. Therefore the comments and remarks.GuntherThe comment was meant as humor. I should have labeled the comment at the end.Andy