This commit is contained in:
WindowsNT351 2025-07-09 16:21:42 +08:00
parent 7f435ff783
commit 5fe72cef2a
29 changed files with 28 additions and 24 deletions

View File

@ -1,5 +1,5 @@
/*CEVCHECK.EXE for CECollections P2.0 2.01*/ /*CEVCHECK.EXE for CECollections 2.02*/
/*Copyright 351Workshop 2022-2024*/ /*Copyright 351Workshop 2022-2025*/
/*Build on Tubro C++*/ /*Build on Tubro C++*/
/*Run on x86 DOS*/ /*Run on x86 DOS*/
@ -11,17 +11,17 @@ int main(int argc, char **argv)
{ {
if (argc == 1) if (argc == 1)
{ {
printf("\nWindows CE video support checking program\n\n"); printf("\nWindows CE video & CPU support checking program\n\n");
printf("Usage: cevcheck [CEVER]\n"); printf("Usage: cevcheck [CEVER]\n");
printf("CEVER sample: 211STD\n\n"); printf("CEVER sample: 211STD\n\n");
printf("Return: VESASupport*10+MobileSupport\n\n"); printf("Return: NormolCPUSpt*100 + LegacyDisp*10 + InverDisp\n\n");
printf("Last build:ver.201B101 Copyright 351Workshop 2022-2024\n"); printf("Last build:ver.202B102 Copyright 351Workshop 2022-2025\n");
return -1; return -1;
} }
if(!(argv[1][0] >= '0' && argv[1][0] <= '9')) if(!(argv[1][0] >= '0' && argv[1][0] <= '9'))
return 100; return 200;
char CEID[10] = {0}; char CEID[10] = {0};
strcpy(CEID, argv[1]); strcpy(CEID, argv[1]);
@ -32,6 +32,7 @@ int main(int argc, char **argv)
char CEEdion[10] = { 0 }; char CEEdion[10] = { 0 };
strncpy(CEEdion, CEID + 3, 3); strncpy(CEEdion, CEID + 3, 3);
int currentCPUSupport = 1;
int currentVESASupport = 1; int currentVESASupport = 1;
int currentHalfSupport = 0; int currentHalfSupport = 0;
@ -41,10 +42,16 @@ int main(int argc, char **argv)
else else
currentVESASupport = 0; currentVESASupport = 0;
if (iCEVer <= 210)
currentCPUSupport=0;
else
currentCPUSupport=1;
if ((CEEdion[0] == 'S' && CEEdion[1] == 'P' && CEEdion[2] == 0) || (CEEdion[0] == 'P' && CEEdion[1] == 'P' && CEEdion[2] == 'C' && CEEdion[3] == 0)) if ((CEEdion[0] == 'S' && CEEdion[1] == 'P' && CEEdion[2] == 0) || (CEEdion[0] == 'P' && CEEdion[1] == 'P' && CEEdion[2] == 'C' && CEEdion[3] == 0))
currentHalfSupport = 1; currentHalfSupport = 1;
else else
currentHalfSupport = 0; currentHalfSupport = 0;
return currentVESASupport * 10 + currentHalfSupport; printf("%d",currentCPUSupport * 100 + currentVESASupport * 10 + currentHalfSupport);
return currentCPUSupport * 100 + currentVESASupport * 10 + currentHalfSupport;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -96,14 +96,18 @@ BOOL about::OnInitDialog()
m_textver.SetWindowText(AsciiToUnicode(buffer)); m_textver.SetWindowText(AsciiToUnicode(buffer));
m_edit1.SetWindowText( L"Name Bilibili ID\r\n" m_edit1.SetWindowText( L"Developer\r\n"
"351 351Workshop\r\n" " 351 @351Workshop\r\n"
"Inter -INTER_INIT-\r\n" "Supporter and Sponsor\r\n"
"WinPad とある科学の手机副屏\r\n" " IBM @IBM_Official\r\n"
"GoldApple 不务正业的金苹果\r\n" " Dr.Quest @蓬岸 Dr.Quest\r\n"
"DZY DZY20070614\r\n" "Artworks\r\n"
"Zesa LinuxMEMZ\r\n" " WinPad @とある科学の手机副屏\r\n"
"XJBLMNP(?"); "Guidance and Testing\r\n"
" Inter @-INTER_INIT-\r\n"
" GoldApple @不务正业的金苹果\r\n"
" Zesa @LinuxMEMZ\r\n"
" DZY @DZY20070614\r\n");
//HWND hWndEdit1 = m_edit1.GetSafeHwnd(); //HWND hWndEdit1 = m_edit1.GetSafeHwnd();
//::SendMessage(hWndEdit1, EM_LINESCROLL, 0, 3); //::SendMessage(hWndEdit1, EM_LINESCROLL, 0, 3);

Binary file not shown.

Binary file not shown.

View File

@ -216,8 +216,6 @@
<None Include="res\menu2.rc2" /> <None Include="res\menu2.rc2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Image Include="E:\Desktop\background - 副本 (2).bmp" />
<Image Include="E:\Desktop\background2.bmp" />
<Image Include="res\about.bmp" /> <Image Include="res\about.bmp" />
<Image Include="res\background.bmp" /> <Image Include="res\background.bmp" />
<Image Include="res\flag.bmp" /> <Image Include="res\flag.bmp" />

View File

@ -71,9 +71,6 @@
<Image Include="res\menu2.ico"> <Image Include="res\menu2.ico">
<Filter>资源文件</Filter> <Filter>资源文件</Filter>
</Image> </Image>
<Image Include="E:\Desktop\background2.bmp">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\background.bmp"> <Image Include="res\background.bmp">
<Filter>资源文件</Filter> <Filter>资源文件</Filter>
</Image> </Image>
@ -83,9 +80,6 @@
<Image Include="res\flag.bmp"> <Image Include="res\flag.bmp">
<Filter>资源文件</Filter> <Filter>资源文件</Filter>
</Image> </Image>
<Image Include="E:\Desktop\background - 副本 (2).bmp">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\about.bmp"> <Image Include="res\about.bmp">
<Filter>资源文件</Filter> <Filter>资源文件</Filter>
</Image> </Image>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -18,6 +18,7 @@
#define IDC_STATIC1 1005 #define IDC_STATIC1 1005
#define IDC_STATICVER 1006 #define IDC_STATICVER 1006
#define IDC_EDIT1 1007 #define IDC_EDIT1 1007
#define IDC_TREE2 1008
// Next default values for new objects // Next default values for new objects
// //
@ -25,7 +26,7 @@
#ifndef APSTUDIO_READONLY_SYMBOLS #ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 136 #define _APS_NEXT_RESOURCE_VALUE 136
#define _APS_NEXT_COMMAND_VALUE 32771 #define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1008 #define _APS_NEXT_CONTROL_VALUE 1009
#define _APS_NEXT_SYMED_VALUE 101 #define _APS_NEXT_SYMED_VALUE 101
#endif #endif
#endif #endif