Compare commits

..

10 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka 1c7202aa0e fix: advance r15, even when the pipeline is reloaded from the scheduler
The PC would fall behind whenever an IRQ was called because the pipeline
was reloaded (+8 to PC), however that was never actually done by any code

Now, the PC is always incremented when the pipeline is reloaded
2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka b599a77d20 chore: dump pipeline state on cpu panic 2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka fb5d96abca fix: reimpl THUMB.5 instructions
pipeline branch now passes arm.gba and thumb.gba again

(TODO: Stop rewriting my commits away)
2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka 95865bfcae fix: impl workaround for stage2 miscompilation 2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka 9b6118fffb chore: instantly refill the pipeline on flush
I believe this to be necessary in order to get hardware interrupts
working.

thumb.gba test 108 fails but I'm committing anyways (despite the
regression) because this is kind of rebase/merge hell and I have
something that at least sort of works rn
2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka 51bcffefd7 fix: reimpl handleInterrupt code 2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka 783c41ce40 feat: implement basic pipeline
passes arm.gba, thumb.gb and armwrestler, fails in actual games
TODO: run FuzzARM debug specific titles
2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka 7ffb11e619 feat: resolve off-by-{word, halfword} errors when printing debug info 2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka 51296a8a8b feat: reimplement cpu logging 2022-09-05 22:52:40 -03:00
Rekai Nyangadzayi Musuka f3c05b6fe6 chore: update dependencies 2022-09-05 22:52:07 -03:00
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit 1c09e0dc31918dd716b1032ad3e1d1c080cbbff1 Subproject commit ee6cb6a17bd8748c3af45467c5dabbe1d56be832