| 7226 | } |
| 7227 | |
| 7228 | static void ppc_disasm(uaecptr addr, uaecptr *nextpc, int cnt) |
| 7229 | { |
| 7230 | #ifdef WITH_PPC |
| 7231 | PPCD_CB disa; |
| 7232 | |
| 7233 | while(cnt-- > 0) { |
| 7234 | uae_u32 instr = get_long_debug(addr); |
| 7235 | disa.pc = addr; |
| 7236 | disa.instr = instr; |
| 7237 | PPCDisasm(&disa); |
| 7238 | TCHAR *mnemo = au(disa.mnemonic); |
| 7239 | TCHAR *ops = au(disa.operands); |
| 7240 | console_out_f(_T("%08X %08X %-12s%-30s\n"), addr, instr, mnemo, ops); |
| 7241 | xfree(ops); |
| 7242 | xfree(mnemo); |
| 7243 | addr += 4; |
| 7244 | } |
| 7245 | if (nextpc) |
| 7246 | *nextpc = addr; |
| 7247 | #endif |
| 7248 | } |
| 7249 | |
| 7250 | static void dma_disasm(int frames, int vp, int hp, int frames_end, int vp_end, int hp_end) |
| 7251 | { |
no test coverage detected