David Guillen Fandos
3a6ca8d941
Better cycle accounting, taking remainders partially into account
2021-12-21 19:59:33 +01:00
David Guillen Fandos
7b181cb6ff
Fix PC calculation for open bus loads
...
It was pretty much broken in all platforms, just "ok" enough for it to
work on some games though.
2021-12-20 19:31:33 +01:00
David Guillen Fandos
cce51c948d
Minor code refactor, no-op
2021-12-15 21:01:05 +01:00
David Guillen Fandos
88454e922f
[MIPS] Correctly implement adcs/sbcs/rscs
...
Also fix C flag calculation for immediates.
Fixes a couple of games.
2021-12-15 19:02:02 +01:00
David Guillen Fandos
2419b77b28
Add reg tracing capability (for devs)
2021-12-11 11:27:59 +01:00
David Guillen Fandos
31451d16ff
[mips] Fix CPSR store bug during IRQ
...
Similarly to 61ef776
, this fixes the bug for MIPS.
2021-12-10 19:28:06 +01:00
David Guillen Fandos
1667597a43
Fix MIPS s16 unaligned load (although it does not fix any game)
2021-12-09 20:04:56 +01:00
David Guillen Fandos
fda42c959f
More mips dead code cleanup
2021-11-14 13:19:02 +01:00
David Guillen Fandos
c2c57a6cf0
[MIPS] Minor cleanup
2021-11-07 19:24:02 +01:00
David Guillen Fandos
e8eb753a73
[mips] Minor cleanup and remove a couple of nested functions
2021-11-06 22:31:42 +01:00
David Guillen Fandos
92180d5d7e
Minor unused stuff cleanup
2021-11-06 21:49:08 +01:00
David Guillen Fandos
3a7fedb8fb
Simplify MMAP machinery for Win/Lin/Mac/Android
...
This gets rid of the bloated memmap_win32.c in favour of a much simpler
wrapper. This will be needed in the future since the wrapper does not
support MAP_FIXED maps (necessary for some platforms)
2021-11-05 18:23:05 +01:00
David Guillen Fandos
dee9a6ed36
[MIPS] Fix swap implementation
...
No game seems to use this :P
2021-11-04 20:09:05 +01:00
David Guillen Fandos
15cc02e03c
[MIPS] Move and restructure mips backend
2021-10-30 22:59:33 +02:00