4 #if 0 // set to 1 to enable debugging printf
7 #include "sim/simglb.h"
9 #define debugger_instruction_hook(addr) \
11 fprintf(stderr, "%04x ", addr); \
12 cpu_dis->disassemble( \
13 ((struct z180_device *)cpu_dev)->m_PC.d, \
14 *(struct z180_device *)cpu_dev \
16 fprintf(stderr, "\n"); \
19 #define debugger_instruction_hook(addr)