Skip to content

Commit

Permalink
CPUID with EAX=0 returns Roughly80486.
Browse files Browse the repository at this point in the history
  • Loading branch information
captainys committed Dec 21, 2024
1 parent f69b9fb commit 7cd0b28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cpu/i486runinstruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -8586,9 +8586,9 @@ unsigned int i486DXFidelityLayer<FIDELITY>::RunOneInstruction(Memory &mem,InOut
{
case 0:
state.NULL_and_reg32[REG_EAX]=0;
state.NULL_and_reg32[REG_EBX]=0x4C465359; // 'YSFL'
state.NULL_and_reg32[REG_EDX]=0x54484749; // 'IGHT'
state.NULL_and_reg32[REG_ECX]=0x4D4F432E; // '.COM'
state.NULL_and_reg32[REG_EBX]=0x67756F52; // "Roug"
state.NULL_and_reg32[REG_EDX]=0x38796C68; // "hly8"
state.NULL_and_reg32[REG_ECX]=0x36383430; // "0486"
break;
}
clocksPassed=1;
Expand Down

0 comments on commit 7cd0b28

Please sign in to comment.