priority is now 7 at start (in PSW)
This commit is contained in:
parent
17fc0701ed
commit
5e25be76b1
1 changed files with 2 additions and 1 deletions
3
cpu.cpp
3
cpu.cpp
|
@ -25,7 +25,8 @@ void cpu::reset()
|
||||||
memset(regs0_5, 0x00, sizeof regs0_5);
|
memset(regs0_5, 0x00, sizeof regs0_5);
|
||||||
memset(sp, 0x00, sizeof sp);
|
memset(sp, 0x00, sizeof sp);
|
||||||
pc = 0;
|
pc = 0;
|
||||||
psw = fpsr = 0;
|
psw = 7 << 5;
|
||||||
|
fpsr = 0;
|
||||||
runMode = resetFlag = haltFlag = false;
|
runMode = resetFlag = haltFlag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue