diff options
Diffstat (limited to 'sim/m68hc11/dv-m68hc11.c')
-rw-r--r-- | sim/m68hc11/dv-m68hc11.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sim/m68hc11/dv-m68hc11.c b/sim/m68hc11/dv-m68hc11.c index 5fc25a9..25449cd 100644 --- a/sim/m68hc11/dv-m68hc11.c +++ b/sim/m68hc11/dv-m68hc11.c @@ -591,7 +591,21 @@ m68hc11_info (struct hw *me) val = cpu->ios[M6811_HPRIO]; print_io_byte (sd, "HPRIO ", hprio_desc, val, base + M6811_HPRIO); - sim_io_printf (sd, "\n"); + switch (cpu->cpu_mode) + { + case M6811_MDA | M6811_SMOD: + sim_io_printf (sd, "[test]\n"); + break; + case M6811_SMOD: + sim_io_printf (sd, "[bootstrap]\n"); + break; + case M6811_MDA: + sim_io_printf (sd, "[extended]\n"); + break; + default: + sim_io_printf (sd, "[single]\n"); + break; + } val = cpu->ios[M6811_CONFIG]; print_io_byte (sd, "CONFIG", config_desc, val, base + M6811_CONFIG); |