1 /* Project 16 Source Code~
2 * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover
4 * This file is part of Project 16.
6 * Project 16 is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * Project 16 is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>, or
18 * write to the Free Software Foundation, Inc., 51 Franklin Street,
19 * Fifth Floor, Boston, MA 02110-1301 USA.
24 #include "src/lib/wcpu/16_wcpu.h"
26 void main(int argc, char **argv)
28 /*const char *cpus, *fpus;
29 unsigned char cput, fput;
31 cput = WCPU_detectcpu();
32 fput = WCPU_detectfpu();
35 case 0: cpus = "8086/8088 or 186/88"; break;
36 case 1: cpus = "286"; break;
37 case 2: cpus = "386 or newer"; break;
38 default: cpus = "internal error"; break;
43 case 0: fpus = "none"; break;
44 case 1: fpus = "8087"; break;
45 default: fpus = "internal error"; break;
47 printf("detected CPU type: %s\n", cpus);
48 printf("detected FPU type: %s\n", fpus);*/
50 //if (cpu_flags & CPU_FLAG_FPU) printf(" - With FPU\n");