This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

19
image/HARDWARE.CPP Normal file
View File

@@ -0,0 +1,19 @@
#include <image/hardware.hpp>
Hardware::operator String(void)const
{
if(CPUUnknown==cpuType())return "CPU_UNKNOWN";
else if(CPU80386==cpuType())return "CPU_80386";
else if(CPU80486==cpuType())return "CPU_80486";
else if(CPU80586==cpuType())return "CPU_80586";
else if(CPUMIPSR3000==cpuType())return "CPU_MIPS_R3000";
else if(CPUMIPSMARKII==cpuType())return "CPU_MIPS_MARKII";
else if(CPUMIPSMARKIII==cpuType())return "CPU_MIPS_MARKIII";
else if(CPUMIPSR4000==cpuType())return "CPU_MIPS_R4000";
else if(CPUDECALPHAAXP==cpuType())return "CPU_DEC_ALPHA_AXP";
else if(CPUPOWERPC==cpuType())return "CPU_POWERPC";
else if(CPUMOTOROLA68000==cpuType())return "CPU_MOTOROLA_68000";
else if(CPUPARISC==cpuType())return "CPU_PA_RISC";
else if(CPUMIPS10000==cpuType())return "CPU_MIPS-10000";
else return "*********";
}