- Timestamp:
- Jun 23, 2000, 9:02:38 PM (25 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.CPP
r3694 r3746 1 /* $Id: KERNEL32.CPP,v 1.4 6 2000-06-12 14:59:38 phallerExp $ */1 /* $Id: KERNEL32.CPP,v 1.47 2000-06-23 19:02:36 sandervl Exp $ */ 2 2 3 3 /* … … 1237 1237 1238 1238 //****************************************************************************** 1239 //******************************************************************************1240 void WIN32API WrongComctl32()1241 {1242 O32_MessageBox(NULL,1243 "KERNEL32.36 not implemented",1244 "Win32 for OS/2 Error",1245 MB_OK);1246 ExitProcess(987);1247 }1248 //******************************************************************************1249 1239 1250 1240 /*********************************************************************** -
trunk/src/kernel32/KERNEL32.DEF
r3625 r3746 1 ; $Id: KERNEL32.DEF,v 1.8 1 2000-05-28 16:45:11sandervl Exp $1 ; $Id: KERNEL32.DEF,v 1.82 2000-06-23 19:02:36 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 142 142 _ConfirmWin16Lock = __ConfirmWin16Lock@0 @96 143 143 144 ;; WrongComctl32@0 @36145 144 AddAtomA = _AddAtomA@4 @50 146 145 AddAtomW = _AddAtomW@4 @102 -
trunk/src/kernel32/cpu.cpp
r3461 r3746 1 /* $Id: cpu.cpp,v 1. 8 2000-04-29 18:26:57 sandervl Exp $ */1 /* $Id: cpu.cpp,v 1.9 2000-06-23 19:02:37 sandervl Exp $ */ 2 2 /* 3 3 * Odin win32 CPU apis … … 119 119 switch ((signature >> 8)&0xf) { 120 120 case 3: cachedsi.dwProcessorType = PROCESSOR_INTEL_386; 121 cachedsi.wProcessorLevel= 3;122 121 break; 123 122 case 4: cachedsi.dwProcessorType = PROCESSOR_INTEL_486; 124 cachedsi.wProcessorLevel= 4;125 123 break; 126 124 case 5: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; 127 cachedsi.wProcessorLevel= 5;128 125 break; 129 126 case 6: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; 130 cachedsi.wProcessorLevel= 5;131 127 break; 132 128 default: 133 129 break; 134 130 } 131 cachedsi.wProcessorRevision = signature & 0xff; 132 cachedsi.wProcessorLevel = (signature >> 8)&0xf; 133 135 134 /* set the CPU type of the current processor */ 136 135 sprintf(buf,"CPU %ld",cachedsi.dwProcessorType); … … 141 140 RegSetValueExA(xhkey,"VendorIdentifier",0,REG_SZ,(LPBYTE)buf,strlen(buf)); 142 141 } 143 cachedsi.wProcessorRevision = signature & 0xf;144 142 145 143 //TODO: FPU fdiv bug -
trunk/src/kernel32/lang.cpp
r3730 r3746 1 /* $Id: lang.cpp,v 1.2 2 2000-06-18 12:55:17 phallerExp $ */1 /* $Id: lang.cpp,v 1.23 2000-06-23 19:02:37 sandervl Exp $ */ 2 2 /* 3 3 * Win32 language API functions for OS/2 … … 121 121 case CC_FINLAND: 122 122 defaultLanguage = MAKELANGID(LANG_FINNISH, SUBLANG_DEFAULT); 123 break; 124 case CC_CZECH_REPUBLIC: 125 defaultLanguage = MAKELANGID(LANG_CZECH, SUBLANG_DEFAULT); 126 break; 127 case CC_SLOVAK_REPUBLIC: 128 defaultLanguage = MAKELANGID(LANG_SLOVAK, SUBLANG_DEFAULT); 123 129 break; 124 130 default: -
trunk/src/kernel32/oslibmisc.h
r3501 r3746 1 /* $Id: oslibmisc.h,v 1. 4 2000-05-09 18:56:09sandervl Exp $ */1 /* $Id: oslibmisc.h,v 1.5 2000-06-23 19:02:38 sandervl Exp $ */ 2 2 /* 3 3 * Misc util. procedures … … 58 58 #define CC_SWEDEN 46 59 59 #define CC_NORWAY 47 60 #define CC_POLAND 48 60 61 #define CC_WEST_GERMANY 49 61 62 #define CC_MEXICO 52 … … 72 73 #define CC_ICELAND 354 73 74 #define CC_FINLAND 358 75 #define CC_CZECH_REPUBLIC 421 76 #define CC_SLOVAK_REPUBLIC 422 74 77 75 78 ULONG OSLibQueryCountry();
Note:
See TracChangeset
for help on using the changeset viewer.