Compare commits

..

9 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka ad3c0257df 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 01:44:38 -03:00
Rekai Nyangadzayi Musuka 092981794b chore: dump pipeline state on cpu panic 2022-09-05 01:44:38 -03:00
Rekai Nyangadzayi Musuka 11d170caa6 fix: reimpl THUMB.5 instructions
pipeline branch now passes arm.gba and thumb.gba again

(TODO: Stop rewriting my commits away)
2022-09-05 01:44:38 -03:00
Rekai Nyangadzayi Musuka 61cb8f223a fix: impl workaround for stage2 miscompilation 2022-09-05 01:44:38 -03:00
Rekai Nyangadzayi Musuka aa7fb7bb90 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 01:44:38 -03:00
Rekai Nyangadzayi Musuka c728cae1d0 fix: reimpl handleInterrupt code 2022-09-05 01:44:38 -03:00
Rekai Nyangadzayi Musuka f225afe931 feat: implement basic pipeline
passes arm.gba, thumb.gb and armwrestler, fails in actual games
TODO: run FuzzARM debug specific titles
2022-09-05 01:44:38 -03:00
Rekai Nyangadzayi Musuka 35598f0b05 feat: resolve off-by-{word, halfword} errors when printing debug info 2022-09-05 01:44:19 -03:00
Rekai Nyangadzayi Musuka 58b97eadcf feat: reimplement cpu logging 2022-09-05 01:43:01 -03:00
1 changed files with 1 additions and 1 deletions

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