Compare commits

..

2 Commits

Author SHA1 Message Date
Guy Perfect a9a02e2d15 Merging pull request 2025-08-17 13:32:01 -05:00
Simon Gellis 5d4a422e61 Fix handler address for FIV exception 2025-08-15 00:07:04 -04:00
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ static int cpuException(VB *sim) {
sim->cpu.eipc = sim->cpu.pc;
sim->cpu.psw.ep = 1;
sim->cpu.nextPC = 0xFFFF0000 |
((cause & 0xFFE0) == 0xFF60 ? 0xFF60 : cause & 0xFFF0);
((cause & 0xFFF0) == 0xFF70 ? 0xFF60 : cause & 0xFFF0);
}
/* All exceptions */