src/emu/cpu/rsp/rspdrc.c
| r7686 | r7687 | |
| 41 | 41 | |
| 42 | 42 | #define SINGLE_INSTRUCTION_MODE (0) |
| 43 | 43 | |
| 44 | | #define DRC_LSV (1) |
| 45 | | #define DRC_LLV (1) |
| 46 | | #define DRC_LDV (1) |
| 47 | | #define DRC_LQV (1) |
| 48 | | #define DRC_LPV (1) |
| 44 | #define DRC_LSV (0) |
| 45 | #define DRC_LLV (0) |
| 46 | #define DRC_LDV (0) |
| 47 | #define DRC_LQV (0) |
| 48 | #define DRC_LPV (0) |
| 49 | 49 | #define DRC_LUV (0) |
| 50 | 50 | |
| 51 | | #define DRC_SSV (1) |
| 52 | | #define DRC_SLV (1) |
| 53 | | #define DRC_SDV (1) |
| 51 | #define DRC_SSV (0) |
| 52 | #define DRC_SLV (0) |
| 53 | #define DRC_SDV (0) |
| 54 | 54 | #define DRC_SQV (0) |
| 55 | 55 | #define DRC_SPV (0) // Todo |
| 56 | 56 | |
| r7686 | r7687 | |
| 1265 | 1265 | |
| 1266 | 1266 | static int generate_lwc2(rsp_state *rsp, drcuml_block *block, compiler_state *compiler, const opcode_desc *desc) |
| 1267 | 1267 | { |
| 1268 | | int loopdest; |
| 1268 | //int loopdest; |
| 1269 | 1269 | UINT32 op = desc->opptr.l[0]; |
| 1270 | | int dest = (op >> 16) & 0x1f; |
| 1270 | //int dest = (op >> 16) & 0x1f; |
| 1271 | 1271 | //int base = (op >> 21) & 0x1f; |
| 1272 | | int index = (op >> 7) & 0xf; |
| 1272 | //int index = (op >> 7) & 0xf; |
| 1273 | 1273 | int offset = (op & 0x7f); |
| 1274 | 1274 | //int skip; |
| 1275 | 1275 | if (offset & 0x40) |
| r7686 | r7687 | |
| 1979 | 1979 | { |
| 1980 | 1980 | // int loopdest; |
| 1981 | 1981 | UINT32 op = desc->opptr.l[0]; |
| 1982 | | int dest = (op >> 16) & 0x1f; |
| 1982 | //int dest = (op >> 16) & 0x1f; |
| 1983 | 1983 | //int base = (op >> 21) & 0x1f; |
| 1984 | | int index = (op >> 7) & 0xf; |
| 1984 | //int index = (op >> 7) & 0xf; |
| 1985 | 1985 | int offset = (op & 0x7f); |
| 1986 | 1986 | //int skip; |
| 1987 | 1987 | if (offset & 0x40) |