notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added zram clearing on reset for Psycho Pinball (does it happen on hw?)
[picodrive.git]
/
Pico
/
carthw
/
svp
/
compiler.c
diff --git
a/Pico/carthw/svp/compiler.c
b/Pico/carthw/svp/compiler.c
index
911da17
..
2db22b1
100644
(file)
--- a/
Pico/carthw/svp/compiler.c
+++ b/
Pico/carthw/svp/compiler.c
@@
-1,3
+1,7
@@
+// SSP1601 to ARM recompiler
+
+// (c) Copyright 2008, Grazvydas "notaz" Ignotas
+// Free for non-commercial use.
#include "../../PicoInt.h"
#include "compiler.h"
#include "../../PicoInt.h"
#include "compiler.h"
@@
-1394,7
+1398,7
@@
static int translate_op(unsigned int op, int *pc, int imm, int *end_cond, int *j
}
// ldi ri, simm
}
// ldi ri, simm
- case 0x0c
...
0x0f:
+ case 0x0c
: case 0x0d: case 0x0e: case
0x0f:
tmpv = (op>>8)&7;
known_regs.r[tmpv] = op;
known_regb |= 1 << (tmpv + 8);
tmpv = (op>>8)&7;
known_regs.r[tmpv] = op;
known_regb |= 1 << (tmpv + 8);
@@
-1759,6
+1763,7
@@
void *ssp_translate_block(int pc)
fwrite(tcache, 1, (tcache_ptr - tcache)*4, f);
fclose(f);
}
fwrite(tcache, 1, (tcache_ptr - tcache)*4, f);
fclose(f);
}
+ printf("dumped tcache.bin\n");
exit(0);
#endif
exit(0);
#endif