From 8e5d0b0a40a737f7d6f05512b87bbb77847aa4a4 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 27 May 2016 07:55:17 -0700 Subject: [PATCH] VAX: Allow history log file to have mixed case filename --- VAX/vax_cpu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/VAX/vax_cpu.c b/VAX/vax_cpu.c index 82abeddb..c08ba64c 100644 --- a/VAX/vax_cpu.c +++ b/VAX/vax_cpu.c @@ -432,7 +432,7 @@ MTAB cpu_mod[] = { { MTAB_XTD|MTAB_VDV, 0, "IDLE", "IDLE={VMS|ULTRIX|ULTRIX-1.X|ULTRIXOLD|NETBSD|NETBSDOLD|OPENBSD|OPENBSDOLD|QUASIJARUS|32V|ELN}{:n}", &cpu_set_idle, &cpu_show_idle, NULL, "Display idle detection mode" }, { MTAB_XTD|MTAB_VDV, 0, NULL, "NOIDLE", &sim_clr_idle, NULL, NULL, "Disables idle detection" }, MEM_MODIFIERS, /* Model specific memory modifiers from vaxXXX_defs.h */ - { MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP, 0, "HISTORY", "HISTORY", + { MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP|MTAB_NC, 0, "HISTORY", "HISTORY", &cpu_set_hist, &cpu_show_hist, NULL, "Displays instruction history" }, { MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP, 0, "VIRTUAL", NULL, NULL, &cpu_show_virt, NULL, "show translation for address arg in KESU mode" }, @@ -1591,7 +1591,8 @@ for ( ;; ) { break; case CLRQ: - WRITE_Q (0, 0); /* store result */ + r = rh = 0; + WRITE_Q (r, rh); /* store result */ CC_ZZ1P; /* set cc's */ break;