simh-testsetgenerator/PDP11
Mark Pizzolato 71e745b0c8 PDP11: Fixed bug in history virtual addressing (Bob Supnik)
The problem has to do with the difference in how the PSW is stored when
the simulator is running (it's all in pieces) or stopped (it's collected in PSW).
cpu_ex is a console routine and expects the PSW to be stored in PSW, but
when history is collected, it's not. In particular, cm (current mode) is in local
variable cm.

cpu_ex with /v calls relocC, which derives the current mode from the
switches:

- if /ksup, use kernel/supervisor/user/previous mode (from PSW); otherwise,
   use current mode from PSW
- if /d, use data space; otherwise, use instruction space

relocC is doing current mode i-space, which is what's wanted... except that
it's deriving current mode from PSW, rather than cm, which is where it's stored
while the simulator is running. It's fairly likely that PSW is long obsolete by the
time the history is invoked.
2016-03-06 06:27:15 -08:00
..
lunar11 DISPLAY: Latest version of display code from Phil Budne and Doug Gwyn including initial pdp1_dpy and pdp11_vt 2013-10-16 01:02:12 -07:00
pdp11_cis.c Compiler suggested cleanups. 2014-10-27 17:14:28 -07:00
pdp11_cpu.c PDP11: Fixed bug in history virtual addressing (Bob Supnik) 2016-03-06 06:27:15 -08:00
pdp11_cpumod.c PDP11: Addition of option to disable BEVENT for 11/03 and 11/23 CPUs (Bob Supnik's latest state). 2015-12-30 12:01:58 -08:00
pdp11_cpumod.h PDP11: Addition of option to disable BEVENT for 11/03 and 11/23 CPUs (Bob Supnik's latest state). 2015-12-30 12:01:58 -08:00
pdp11_cr.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_cr_dat.h PDP-10 update: CD20 2013-07-05 00:16:11 -04:00
pdp11_dc.c PDP11, VAX: MUX input rate limiting works correctly with input arriving on multiple lines concurrently. 2015-11-28 12:49:54 -08:00
pdp11_ddcmp.h PDP10, PDP11, VAX: Fixed Sync Data corruption Troll to actually discard transmit packets which it thinks it wants to. 2014-05-31 13:24:49 -07:00
pdp11_defs.h PDP11, PDP1, TX-0: Added SDL based graphics support using sim_video. 2016-01-29 10:16:30 -08:00
pdp11_dl.c PDP11: Fix DL11 & TU58 autoconfigure limitation checks 2016-01-25 07:03:30 -08:00
pdp11_dmc.c PDP10, PDP11, VAX: Fix buffer overrun in dmc_attach 2016-01-05 15:37:06 -08:00
pdp11_dup.c SCP: Add printf style format argument validation for all functions which take printf arguments. 2015-10-09 04:12:25 -07:00
pdp11_dup.h PDP10,PDP11,VAX: Addition of inter operable DUP11, DMC11 and KDP11 devices 2013-11-25 07:00:17 -08:00
pdp11_dz.c PDP11, VAX: Move DZ input character silo into device to properly rate limit received data 2015-12-19 11:42:26 -08:00
pdp11_fp.c PDP11: FP fix from Bob Supnik: MMR1 does not track register changes (Johnny Billquist) Fix #44 2015-03-26 14:32:34 -07:00
pdp11_hk.c PDP11, VAX: Add device debug help information descriptions 2015-12-06 18:01:20 -08:00
pdp11_io.c All VAX: Always return the correct Qbus/Unibus interrupt vector bits for all devices. Fix #239 2015-10-08 04:43:21 -07:00
pdp11_io_lib.c PDP11, PDP1, TX-0: Added SDL based graphics support using sim_video. 2016-01-29 10:16:30 -08:00
pdp11_io_lib.h PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_ke.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_kg.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_kmc.c TIMER, SCP: Change the sim_activate_after APIs to pass the delay value as uint32. 2015-12-10 06:33:59 -08:00
pdp11_lp.c All: Convert from C runtime library perror() to sim_perror so that all messages will arrive in the same place(s). 2015-04-03 19:56:37 -07:00
pdp11_mscp.h Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32 2013-03-12 11:07:58 -07:00
pdp11_pclk.c PDP11: Add descriptions to DL and PCLK devices 2015-12-29 10:00:44 -08:00
pdp11_pt.c All: Convert from C runtime library perror() to sim_perror so that all messages will arrive in the same place(s). 2015-04-03 19:56:37 -07:00
pdp11_rc.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_rf.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_rh.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_rk.c All: Convert from C runtime library perror() to sim_perror so that all messages will arrive in the same place(s). 2015-04-03 19:56:37 -07:00
pdp11_rl.c All: Convert from C runtime library perror() to sim_perror so that all messages will arrive in the same place(s). 2015-04-03 19:56:37 -07:00
pdp11_rp.c DISK: Properly base disk unit flags at UNIT_V_UF and provide useful DKUF_V_UF flag space. 2016-01-19 09:47:42 -08:00
pdp11_rq.c DISK: Properly base disk unit flags at UNIT_V_UF and provide useful DKUF_V_UF flag space. 2016-01-19 09:47:42 -08:00
pdp11_rs.c ALPHA, ALTAIR, AltairZ80, I7094, NOVA, PDP1, PDP10, PDP11, PDP18B, PDP8, SAGE, sigma, swtp6800, TX-0, VAX: Change tabs to spaces which had crept in over time 2015-03-30 10:24:24 -07:00
pdp11_rx.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_ry.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_stddev.c PDP11: Addition of option to disable BEVENT for 11/03 and 11/23 CPUs (Bob Supnik's latest state). 2015-12-30 12:01:58 -08:00
pdp11_sys.c PDP11, VAX: Provide a useful error message when the unimplemented DUMP command is attempted. 2016-01-25 16:21:54 -08:00
pdp11_ta.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_tc.c All: Convert from C runtime library perror() to sim_perror so that all messages will arrive in the same place(s). 2015-04-03 19:56:37 -07:00
pdp11_td.c PDP11: Fix DL11 & TU58 autoconfigure limitation checks 2016-01-25 07:03:30 -08:00
pdp11_td.h PDP11: Add TU58 bootstrap support. 2016-01-07 01:24:43 -08:00
pdp11_tm.c PDP10, PDP11, VAX: const cleanup 2015-02-13 06:18:24 -08:00
pdp11_tq.c Compiler suggested cleanup 2015-11-25 05:21:55 -08:00
pdp11_ts.c PDP11, VAX: Add sim_tape library trace debug option to the TS device. 2016-01-04 14:44:35 -08:00
pdp11_tu.c VAX, PDP11: In the TU tape simulator, correct the wording of the help language. Fixes #228 2015-09-23 06:35:54 -07:00
pdp11_uqssp.h Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32 2013-03-12 11:07:58 -07:00
pdp11_vh.c PDP11, VAX: Add device debug help information descriptions 2015-12-06 18:01:20 -08:00
pdp11_vt.c PDP11, PDP1, TX-0: Added SDL based graphics support using sim_video. 2016-01-29 10:16:30 -08:00
pdp11_vt_lunar_rom.h PDP11: Add BOOT ability to the VT device to run the Lunar Lander program 2016-01-10 17:35:18 -08:00
pdp11_xq.c PDP11, VAX: Fix XQ device identification probe logic. 2016-02-06 06:58:57 -08:00
pdp11_xq.h PDP11, VAX: Add logic to receive buffer descriptor processing to avoid list overrun. 2016-01-20 11:13:28 -08:00
pdp11_xq_bootrom.h PDP11, VAX: Fix compiler warnings about quotes in #if 0 #endif block 2016-01-20 10:51:01 -08:00
pdp11_xu.c PDP11, VAX: Fix DEUNA/DELUA receive descriptor message size indicator. 2016-02-25 08:58:02 -08:00
pdp11_xu.h PDP11, VAX: Add detailed receive descriptor list usage debug information. 2016-02-24 09:02:17 -08:00
txt2cbn.c ALPHA, ALTAIR, AltairZ80, I7094, NOVA, PDP1, PDP10, PDP11, PDP18B, PDP8, SAGE, sigma, swtp6800, TX-0, VAX: Change tabs to spaces which had crept in over time 2015-03-30 10:24:24 -07:00