simh-testsetgenerator/HP3000
Mark Pizzolato e93b55b488 HP3000: Preset the unit wait field. (from Dave Bryan)
PROBLEM:  Attempting to LOAD after a RESTORE of an MPE session aborts
   the simulator with an "integer division by zero" exception.

   OBSERVATION:  Stopping the simulator during an idle MPE session,
   saving the state to a file, exiting, restarting, restoring, and
   attempting to perform a cold load aborts with a "divide by 0" error.

   CAUSE:  The "clk_update_counter" routine in hp3000_clk.c is called as
   part of the instruction postlude to update the clock's counter
   register.  A calculation divides the elapsed time since the last tick
   by the clock unit's "wait" value.  The developer's manual stated that
   this field is saved and restored automatically, but this is not true.
   When the simulator is restarted, the "wait" field is initially zero.
   If "clk_update_counter" is called before the clock's event service
   routine resets the value, the calculation will divide by zero, which
   causes the abort.

   RESOLUTION:  Modify "clk_reg" (hp3000_clk.c) to preset the unit wait
   field with the MPE clock resolution value.
2016-07-10 06:49:22 -07:00
..
hp3000_atc.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_clk.c HP3000: Preset the unit wait field. (from Dave Bryan) 2016-07-10 06:49:22 -07:00
hp3000_cpu.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_cpu.h HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_cpu_base.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_cpu_fp.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_cpu_fp.h HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_cpu_ims.h HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_defs.h HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_diag.txt HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_ds.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_io.h HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_iop.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_lp.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_mpx.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_ms.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_release.txt HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_scmb.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_sel.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp3000_sys.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp_disclib.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp_disclib.h HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp_tapelib.c HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00
hp_tapelib.h HP3000, HP2100: Updated simulators from Dave Bryan 2016-07-05 22:09:21 -07:00