timers implemented for new z80 mode
[picodrive.git] / Pico / carthw / svp / compiler.c
index 7c06bad..2db22b1 100644 (file)
@@ -1398,7 +1398,7 @@ static int translate_op(unsigned int op, int *pc, int imm, int *end_cond, int *j
                }
 
                // 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);
@@ -1763,6 +1763,7 @@ void *ssp_translate_block(int pc)
                fwrite(tcache, 1, (tcache_ptr - tcache)*4, f);
                fclose(f);
        }
+       printf("dumped tcache.bin\n");
        exit(0);
 #endif