* scheduler revamp, simpler design

* fix dumb bug of the year: ARM LDR opcodes would accidentally read twice, which fucked with things like the IPC FIFO.
This commit is contained in:
StapleButter
2017-01-31 03:54:51 +01:00
parent 348bbd8cb8
commit 594286ee5d
10 changed files with 274 additions and 108 deletions

3
ARM.h
View File

@ -46,7 +46,7 @@ public:
Halted = halt;
}
s32 Execute(s32 cycles);
s32 Execute();
bool CheckCondition(u32 code)
{
@ -211,6 +211,7 @@ public:
s32 Waitstates[4][16];
s32 Cycles;
s32 CyclesToRun;
u32 Halted;
u32 R[16]; // heh