simh-testsetgenerator/PDP11
Timothe Litt 91c7d26095 SHOW IOSPACE, again
Show IOSPACE doesn't always get the number of devices right due to device creativity.

o The distinction between UNIT and DEVICE has blurred
o MUX devices merge several physical devices into one device/unit
o Dynamic device sizing has made things more volatile.

This edit solves the problem for SHOW IOSPACE by adding an (optional) word to the DIBs.
The word contains the amount of IO space consumed by each instance of the physical device that's being emulated.
E.G., if it's a DZ11, the device is the DZ11 module, or 8 lines, even though the MUX device may support 32.

This enables SHOW IOSPACE to determine the number of physical devices being emulated, which is what folks need when configuring software.  The word may have other uses - in a generic dynamic device sizing routine - which is why the amount of IOSPACE per device was chosen rather than the 'number of physical devices.'

The edit should not make any existing device regress.  If the new word (ulnt) is zero (not initialized), SHOW IOSPACE will default to the number of units in the device, or if there's no device (CPUs), 1 as before.  If it is present, the number of devices is the calculated as total allocation/allocation-per-device.

The edit updates all the devices that seem to require this treatment, and all the processors that define the UNIBUS/QBUS DIBs.
2013-07-11 15:39:15 -04:00
..
pdp11_cis.c Migrating scp and library global variables to be declared as extern in the appropriate library include file and remove repetitive declarations in referencing modules. 2013-01-10 13:29:15 -08:00
pdp11_cpu.c This fixes the problem that MMR1 is recording changes to R7 (PC), which it should not. (issue #44) 2013-06-02 06:52:32 -07:00
pdp11_cpumod.c Fix bug in PDP11 SET CPU <model> which inadvertently disabled some devices improperly. - Bob Supnik 2013-06-07 18:20:59 -07:00
pdp11_cpumod.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_cr.c Fix CR builds 2013-07-08 07:22:29 -04:00
pdp11_cr_dat.h PDP-10 update: CD20 2013-07-05 00:16:11 -04:00
pdp11_dc.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_ddcmp.h Added needed DUP interfaces to allow use by KMC11/KDP. 2013-06-02 13:19:23 -07:00
pdp11_defs.h SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_dl.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_dmc.c Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
pdp11_dmc.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_dup.c Added missing STRSYN from DDCMP dup setup 2013-06-02 16:08:06 -07:00
pdp11_dup.h Added needed DUP interfaces to allow use by KMC11/KDP. 2013-06-02 13:19:23 -07:00
pdp11_dz.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_fp.c Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
pdp11_hk.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_io.c PDP-11/VAX Update: NPR to/from IO Space 2013-07-05 00:48:10 -04:00
pdp11_io_lib.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_io_lib.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_ke.c Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
pdp11_kg.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_lp.c Adding more device help 2013-02-05 04:41:48 -08: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 Reworked Auto Configure for all Qbus/Unibus devices to have their device address settings table driven from the auto configure code rather than statically defined in many per cpu model include files. 2012-12-20 13:58:11 -08:00
pdp11_pt.c Another typo 2013-02-06 17:48:43 -08:00
pdp11_rc.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_rf.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_rh.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_rk.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_rl.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_rp.c Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
pdp11_rq.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_rx.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_ry.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_stddev.c Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
pdp11_sys.c Addition of DUP11 simulation to all Unibus simulators (PDP11, PDP10, and all Unibus VAXen) 2013-05-27 16:24:18 -07:00
pdp11_ta.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_tc.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_tm.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_tq.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_ts.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_tu.c Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -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 SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_xq.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_xq.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_xq_bootrom.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_xu.c SHOW IOSPACE, again 2013-07-11 15:39:15 -04:00
pdp11_xu.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
txt2cbn.c Notes For V3.6-0 2011-04-15 08:35:15 -07:00