mirror of https://github.com/bochs-emu/Bochs
- apply patch [ #455014 ] CR0 bug in 80486, described as:
> In the register CR0, when the bit PM is enabled, the bit 4 is 0 > when should be 1. Another fix from an anonymous donor.
This commit is contained in:
parent
6d129d771c
commit
4073d65f4d
|
@ -1081,7 +1081,7 @@ BX_CPU_C::SetCR0(Bit32u val_32)
|
|||
#if BX_CPU_LEVEL == 3
|
||||
BX_CPU_THIS_PTR cr0.val32 = val_32 | 0x7ffffff0;
|
||||
#elif BX_CPU_LEVEL == 4
|
||||
BX_CPU_THIS_PTR cr0.val32 = val_32 & 0xe005002f;
|
||||
BX_CPU_THIS_PTR cr0.val32 = (val_32 | 0x00000010) & 0xe005003f;
|
||||
#elif BX_CPU_LEVEL == 5
|
||||
BX_CPU_THIS_PTR cr0.val32 = val_32 | 0x00000010;
|
||||
#elif BX_CPU_LEVEL == 6
|
||||
|
|
Loading…
Reference in New Issue