Skip to content

Commit

Permalink
Cyrix 6x86: Correctly initalize ARR3 on reset to avoid some SMM problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Mar 5, 2025
1 parent 5f3641e commit c40aa61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpu/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ reset_common(int hard)

ccr0 = ccr1 = ccr2 = ccr3 = ccr4 = ccr5 = ccr6 = ccr7 = 0;
ccr4 = 0x85;
cyrix.arr[3].base = 0x30000;
cyrix.arr[3].size = 65536;

if (hascache)
cr0 = 1 << 30;
Expand Down

0 comments on commit c40aa61

Please sign in to comment.