1
0
mirror of https://github.com/simh/simh.git synced 2026-02-08 17:22:11 +00:00

Notes For V2.10-0

WARNING: V2.10 has reorganized and renamed some of the definition
files for the PDP-10, PDP-11, and VAX.  Be sure to delete all
previous source files before you unpack the Zip archive, or
unpack it into a new directory structure.

WARNING: V2.10 has a new, more comprehensive save file format.
Restoring save files from previous releases will cause 'invalid
register' errors and loss of CPU option flags, device enable/
disable flags, unit online/offline flags, and unit writelock
flags.

WARNING: If you are using Visual Studio .NET through the IDE,
be sure to turn off the /Wp64 flag in the project settings, or
dozens of spurious errors will be generated.

WARNING: Compiling Ethernet support under Windows requires
extra steps; see the Ethernet readme file.  Ethernet support is
currently available only for Windows, Linux, NetBSD, and OpenBSD.

1. New Features

1.1 SCP and Libraries

- The VT emulation package has been replaced by the capability
  to remote the console to a Telnet session.  Telnet clients
  typically have more complete and robust VT100 emulation.
- Simulated devices may now have statically allocated buffers,
  in addition to dynamically allocated buffers or disk-based
  data stores.
- The DO command now takes substitutable arguments (max 9).
  In command files, %n represents substitutable argument n.
- The initial command line is now interpreted as the command
  name and substitutable arguments for a DO command.  This is
  backward compatible to prior versions.
- The initial command line parses switches.  -Q is interpreted
  as quiet mode; informational messages are suppressed.
- The HELP command now takes an optional argument.  HELP <cmd>
  types help on the specified command.
- Hooks have been added for implementing GUI-based consoles,
  as well as simulator-specific command extensions.  A few
  internal data structures and definitions have changed.
- Two new routines (tmxr_open_master, tmxr_close_master) have
  been added to sim_tmxr.c.  The calling sequence for
  sim_accept_conn has been changed in sim_sock.c.
- The calling sequence for the VM boot routine has been modified
  to add an additional parameter.
- SAVE now saves, and GET now restores, controller and unit flags.
- Library sim_ether.c has been added for Ethernet support.

1.2 VAX

- Non-volatile RAM (NVR) can behave either like a memory or like
  a disk-based peripheral.  If unattached, it behaves like memory
  and is saved and restored by SAVE and RESTORE, respectively.
  If attached, its contents are loaded from disk by ATTACH and
  written back to disk at DETACH and EXIT.
- SHOW <device> VECTOR displays the device's interrupt vector.
  A few devices allow the vector to be changed with SET
  <device> VECTOR=nnn.
- SHOW CPU IOSPACE displays the I/O space address map.
- The TK50 (TMSCP tape) has been added.
- The DEQNA/DELQA (Qbus Ethernet controllers) have been added.
- Autoconfiguration support has been added.
- The paper tape reader has been removed from vax_stddev.c and
  now references a common implementation file, dec_pt.h.
- Examine and deposit switches now work on all devices, not just
  the CPU.
- Device address conflicts are not detected until simulation starts.

1.3 PDP-11

- SHOW <device> VECTOR displays the device's interrupt vector.
  Most devices allow the vector to be changed with SET
  <device> VECTOR=nnn.
- SHOW CPU IOSPACE displays the I/O space address map.
- The TK50 (TMSCP tape), RK611/RK06/RK07 (cartridge disk),
  RX211 (double density floppy), and KW11P programmable clock
  have been added.
- The DEQNA/DELQA (Qbus Ethernet controllers) have been added.
- Autoconfiguration support has been added.
- The paper tape reader has been removed from pdp11_stddev.c and
  now references a common implementation file, dec_pt.h.
- Device bootstraps now use the actual CSR specified by the
  SET ADDRESS command, rather than just the default CSR.  Note
  that PDP-11 operating systems may NOT support booting with
  non-standard addresses.
- Specifying more than 256KB of memory, or changing the bus
  configuration, causes all peripherals that are not compatible
  with the current bus configuration to be disabled.
- Device address conflicts are not detected until simulation starts.

1.4 PDP-10

- SHOW <device> VECTOR displays the device's interrupt vector.
  A few devices allow the vector to be changed with SET
  <device> VECTOR=nnn.
- SHOW CPU IOSPACE displays the I/O space address map.
- The RX211 (double density floppy) has been added; it is off
  by default.
- The paper tape now references a common implementation file,
  dec_pt.h.
- Device address conflicts are not detected until simulation starts.

1.5 PDP-1

- DECtape (then known as MicroTape) support has been added.
- The line printer and DECtape can be disabled and enabled.

1.6 PDP-8

- The RX28 (double density floppy) has been added as an option to
  the existing RX8E controller.
- SHOW <device> DEVNO displays the device's device number.  Most
  devices allow the device number to be changed with SET <device>
  DEVNO=nnn.
- Device number conflicts are not detected until simulation starts.

1.7 IBM 1620

- The IBM 1620 simulator has been released.

1.8 AltairZ80

- A hard drive has been added for increased storage.
- Several bugs have been fixed.

1.9 HP 2100

- The 12845A has been added and made the default line printer (LPT).
  The 12653A has been renamed LPS and is off by default.  It also
  supports the diagnostic functions needed to run the DCPC and DMS
  diagnostics.
- The 12557A/13210A disk defaults to the 13210A (7900/7901).
- The 12559A magtape is off by default.
- New CPU options (EAU/NOEAU) enable/disable the extended arithmetic
  instructions for the 2116.  These instructions are standard on
  the 2100 and 21MX.
- New CPU options (MPR/NOMPR) enable/disable memory protect for the
  2100 and 21MX.
- New CPU options (DMS/NODMS) enable/disable the dynamic mapping
  instructions for the 21MX.
- The 12539 timebase generator autocalibrates.

1.10 Simulated Magtapes

- Simulated magtapes recognize end of file and the marker
  0xFFFFFFFF as end of medium.  Only the TMSCP tape simulator
  can generate an end of medium marker.
- The error handling in simulated magtapes was overhauled to be
  consistent through all simulators.

1.11 Simulated DECtapes

- Added support for RT11 image file format (256 x 16b) to DECtapes.

2. Release Notes

2.1 Bugs Fixed

- TS11/TSV05 was not simulating the XS0_MOT bit, causing failures
  under VMS.  In addition, two of the CTL options were coded
  interchanged.
- IBM 1401 tape was not setting a word mark under group mark for
  load mode reads.  This caused the diagnostics to crash.
- SCP bugs in ssh_break and set_logon were fixed (found by Dave
  Hittner).
- Numerous bugs in the HP 2100 extended arithmetic, floating point,
  21MX, DMS, and IOP instructions were fixed.  Bugs were also fixed
  in the memory protect and DMS functions.  The moving head disks
  (DP, DQ) were revised to simulate the hardware more accurately.
  Missing functions in DQ (address skip, read address) were added.

2.2 HP 2100 Debugging

- The HP 2100 CPU nows runs all of the CPU diagnostics.
- The peripherals run most of the peripheral diagnostics.  There
  is still a problem in overlapped seek operation on the disks.
  See the file hp2100_diag.txt for details.

3. In Progress

These simulators are not finished and are available in a separate
Zip archive distribution.

- Interdata 16b/32b: coded, partially tested.  See the file
  id_diag.txt for details.
- SDS 940: coded, partially tested.
This commit is contained in:
Bob Supnik
2002-11-17 15:54:00 -08:00
committed by Mark Pizzolato
parent df6475181c
commit 2c2dd5ea33
218 changed files with 44103 additions and 17112 deletions

222
sim_rev.h
View File

@@ -25,42 +25,170 @@
*/
#define SIM_MAJOR 2
#define SIM_MINOR 9
#define SIM_PATCH 11
#define SIM_MINOR 10
#define SIM_PATCH 0
/* V2.9 revision history
/* V2.10 revision history
patch date module(s) and fix(es)
0 15-Nov-02 SCP and libraries
scp.c:
-- added Telnet console support
-- removed VT emulation support
-- added support for statically buffered devices
-- added HELP <command>
-- fixed bugs in set_logon, ssh_break (found by David Hittner)
-- added VMS file optimization (from Robert Alan Byer)
-- added quiet mode, DO with parameters, GUI interface,
extensible commands (from Brian Knittel)
-- added DEVICE context and flags
-- added central device enable/disable support
-- modified SAVE/GET to save and restore flags
-- modified boot routine calling sequence
scp_tty.c:
-- removed VT emulation support
-- added sim_os_sleep, renamed sim_poll_kbd, sim_putchar
sim_tmxr.c:
-- modified for Telnet console support
-- fixed bug in binary (8b) support
sim_sock.c: modified for Telnet console support
sim_ether.c: new library for Ethernet (from David Hittner)
all magtapes:
-- added support for end of medium
-- cleaned up BOT handling
all DECtapes: added support for RT11 image file format
most terminals and multiplexors:
-- added support for 7b vs 8b character processing
PDP-1
pdp1_cpu.c, pdp1_sys.c, pdp1_dt.c: added PDP-1 DECtape support
PDP-8
pdp8_cpu.c, all peripherals:
-- added variable device number support
-- added new device enabled/disable support
pdp8_rx.c: added RX28/RX02 support
PDP-11
pdp11_defs.h, pdp11_io.c, pdp11_sys.c, all peripherals:
-- added variable vector support
-- added new device enable/disable support
-- added autoconfiguration support
all bootstraps: modified to support variable addresses
dec_mscp.h, pdp11_tq.c: added TK50 support
pdp11_rq.c:
-- added multicontroller support
-- fixed bug in HBE error log packet
-- fixed bug in ATP processing
pdp11_ry.c: added RX211/RX02 support
pdp11_hk.c: added RK611/RK06/RK07 support
pdp11_tq.c: added TMSCP support
pdp11_xq.c: added DEQNA/DELQA support (from David Hittner)
pdp11_pclk.c: added KW11P support
pdp11_ts.c:
-- fixed bug in CTL decoding
-- fixed bug in extended status XS0_MOT
pdp11_stddev.c: removed paper tape to its own module
PDP-18b
pdp18b_cpu.c, all peripherals:
-- added variable device number support
-- added new device enabled/disabled support
VAX
dec_dz.h: fixed bug in number of boards calculation
vax_moddefs.h, vax_io.c, vax_sys.c, all peripherals:
-- added variable vector support
-- added new device enable/disable support
-- added autoconfiguration support
vax_sys.c:
-- generalized examine/deposit
-- added TMSCP, multiple RQDX3, DEQNA/DELQA support
vax_stddev.c: removed paper tape, now uses PDP-11 version
vax_sysdev.c:
-- allowed NVR to be attached to file
-- removed unused variables (found by David Hittner)
PDP-10
pdp10_defs.h, pdp10_ksio.c, all peripherals:
-- added variable vector support
-- added new device enable/disable support
pdp10_defs.h, pdp10_ksio.c: added support for standard PDP-11
peripherals, added RX211 support
pdp10_pt.c: rewritten to reference common implementation
Nova, Eclipse:
nova_cpu.c, eclipse_cpu.c, all peripherals:
-- added new device enable/disable support
HP2100
hp2100_cpu:
-- fixed bugs in the EAU, 21MX, DMS, and IOP instructions
-- fixed bugs in the memory protect and DMS functions
-- created new options to enable/disable EAU, MPR, DMS
-- added new device enable/disable support
hp2100_fp.c:
-- recoded to conform to 21MX microcode algorithms
hp2100_stddev.c:
-- fixed bugs in TTY reset, OTA, time base generator
-- revised BOOT support to conform to RBL loader
-- added clock calibration
hp2100_dp.c:
-- changed default to 13210A
-- added BOOT support
hp2100_dq.c:
-- finished incomplete functions, fixed head switching
-- added BOOT support
hp2100_ms.c:
-- fixed bugs found by diagnostics
-- added 13183 support
-- added BOOT support
hp2100_mt.c:
-- fixed bugs found by diagnostics
-- disabled by default
hp2100_lpt.c: implemented 12845A controller
hp2100_lps.c:
-- renamed 12653A controller
-- added diagnostic mode for MPR, DCPC diagnostics
-- disabled by default
IBM 1620: first release
/* V2.9 revision history
11 20-Jul-02 i1401_mt.c: on read, end of record stores group mark
without word mark (found by Van Snyder)
without word mark (found by Van Snyder)
i1401_dp.c: reworked address generation and checking
vax_cpu.c: added infinite loop detection and halt to
boot ROM option (from Mark Pizzolato)
boot ROM option (from Mark Pizzolato)
vax_fpa.c: changed function names to prevent conflict
with C math library
with C math library
pdp11_cpu.c: fixed bug in MMR0 update logic (from
John Dundas)
John Dundas)
pdp18b_stddev.c: added "ASCII mode" for reader and
punch (from Hans Pufal)
punch (from Hans Pufal)
gri_*.c: added GRI-909 simulator
scp.c: added DO echo, DO exit (from Brian Knittel)
scp_tty.c: added Windows priority hacking (from
Mark Pizzolato)
Mark Pizzolato)
10 15-Jun-02 scp.c: fixed error checking on calls to fxread/fxwrite
(found by Norm Lastovic)
(found by Norm Lastovic)
scp_tty.c, sim_vt.h, sim_vt.c: added VTxxx emulation
support for Windows (from Fischer Franz)
support for Windows (from Fischer Franz)
sim_sock.c: added OS/2 support (from Holger Veit)
@@ -97,10 +225,10 @@ patch date module(s) and fix(es)
vax_cpu1.c: fixed exception flows to clear trap request
7 30-Apr-02 scp.c: fixed bug in clock calibration when (real) clock
jumps forward due too far (found by Jonathan Engdahl)
jumps forward due too far (found by Jonathan Engdahl)
pdp11_cpu.c: fixed bugs, added features (from John Dundas
and Wolfgang Helbig)
and Wolfgang Helbig)
-- added HTRAP and BPOK to maintenance register
-- added trap on kernel HALT if MAINT<HTRAP> set
-- fixed red zone trap, clear odd address and nxm traps
@@ -122,7 +250,7 @@ patch date module(s) and fix(es)
-- fixed SHOW ADDRESS command
all magtape routines: added test for badly formed
record length (suggested by Jonathan Engdahl)
record length (suggested by Jonathan Engdahl)
6 18-Apr-02 vax_cpu.c: fixed CASEL condition codes
@@ -143,17 +271,17 @@ patch date module(s) and fix(es)
pdp11_rq.c: adjusted delays for M+ timing bugs
hp2100_cpu.c, pdp10_cpu.c, pdp11_cpu.c: tweaked abort
code for ANSI setjmp/longjmp compliance
code for ANSI setjmp/longjmp compliance
hp2100_cpu.c, hp2100_fp.c, hp2100_stddev.c, hp2100_sys.c:
revised to allocate memory dynamically
revised to allocate memory dynamically
2 01-Mar-02 pdp11_cpu.c:
-- fixed bugs in CPU registers
-- fixed double operand evaluation order for M+
pdp11_rq.c: added delays to initialization for
RSX11M+ prior to V4.5
RSX11M+ prior to V4.5
1 20-Feb-02 scp.c: fixed bug in clock calibration when (real)
time runs backwards
@@ -163,7 +291,7 @@ patch date module(s) and fix(es)
pdp11_ts.c: fixed bug in message header logic
pdp18b_defs.h, pdp18b_dt.c, pdp18b_sys.c: added
PDP-7 DECtape support
PDP-7 DECtape support
hp2100_cpu.c:
-- added floating point and DMS
@@ -206,7 +334,7 @@ patch date module(s) and fix(es)
pdp11_rp.c: fixed bug in 18b mode boot
pdp11 bootable I/O devices: fixed register setup at boot
exit (found by Doug Carman)
exit (found by Doug Carman)
hp2100_cpu.c:
-- fixed DMA register tables (found by Bill McDermith)
@@ -216,13 +344,13 @@ patch date module(s) and fix(es)
hp2100_mt.c: fixed bug on write of last character
hp2100_dq,dr,ms,mux.c: added new disk, magtape, and terminal
multiplexor controllers
multiplexor controllers
i1401_cd.c, i1401_mt.c: new zero footprint bootstraps
(from Van Snyder)
(from Van Snyder)
i1401_sys.c: fixed symbolic display of H, NOP with no trailing
word mark (found by Van Snyder)
word mark (found by Van Snyder)
most CPUs:
-- replaced OLDPC with PC queue
@@ -257,10 +385,10 @@ patch date module(s) and fix(es)
0 30-Nov-01 Reorganized simh source and documentation tree
scp: Added DO command, universal registers, extended
SET/SHOW logic
SET/SHOW logic
pdp11: overhauled PDP-11 for DMA map support, shared
sources with VAX, dynamic buffer allocation
sources with VAX, dynamic buffer allocation
18b pdp: overhauled interrupt structure
@@ -273,56 +401,56 @@ patch date module(s) and fix(es)
patch date module(s) and fix(es)
15 23-Oct-01 pdp11_rp.c, pdp10_rp.c, pdp10_tu.c: fixed bugs
error interrupt handling
error interrupt handling
pdp10_defs.h, pdp10_ksio.c, pdp10_fe.c, pdp10_fe.c,
pdp10_rp.c, pdp10_tu.c: reworked I/O page interface
to use symbolic base addresses and lengths
to use symbolic base addresses and lengths
14 20-Oct-01 dec_dz.h, sim_tmxr_h, sim_tmxr.c: fixed bug in Telnet
state handling (found by Thord Nilson), removed
tmxr_getchar, added tmxr_rqln and tmxr_tqln
state handling (found by Thord Nilson), removed
tmxr_getchar, added tmxr_rqln and tmxr_tqln
13 18-Oct-01 pdp11_tm.c: added stub diagnostic register clock
for RSTS/E (found by Thord Nilson)
for RSTS/E (found by Thord Nilson)
12 15-Oct-01 pdp11_defs.h, pdp11_cpu.c, pdp11_tc.c, pdp11_ts.c,
pdp11_rp.c: added operations logging
pdp11_rp.c: added operations logging
11 8-Oct-01 scp.c: added sim_rev.h include and version print
pdp11_cpu.c: fixed bug in interrupt acknowledge,
multiple outstanding interrupts caused the lowest
rather than the highest to be acknowledged
multiple outstanding interrupts caused the lowest
rather than the highest to be acknowledged
10 7-Oct-01 pdp11_stddev.c: added monitor bits (CSR<7>) for full
KW11L compatibility, needed for RSTS/E autoconfiguration
KW11L compatibility, needed for RSTS/E autoconfiguration
9 6-Oct-01 pdp11_rp.c, pdp10_rp.c, pdp10_tu.c: rewrote interrupt
logic from RH11/RH70 schematics, to mimic hardware quirks
logic from RH11/RH70 schematics, to mimic hardware quirks
dec_dz.c: fixed bug in carrier detect logic, carrier
detect was being cleared on next modem poll
detect was being cleared on next modem poll
8 4-Oct-01 pdp11_rp.c, pdp10_rp.c, pdp10_tu.c: undid edit of
28-Sep-01; real problem was level-sensitive nature of
CS1_SC, but CS1_SC can only trigger an interrupt if
DONE is set
28-Sep-01; real problem was level-sensitive nature of
CS1_SC, but CS1_SC can only trigger an interrupt if
DONE is set
7 2-Oct-01 pdp11_rp.c, pdp10_rp.c: CS1_SC is evaluated as a level-
sensitive, rather than an edge-sensitive, input to
interrupt request
sensitive, rather than an edge-sensitive, input to
interrupt request
6 30-Sep-01 pdp11_rp.c, pdp10_rp.c: separated out CS1<5:0> to per-
drive registers
drive registers
pdp10_tu.c: based on above, cleaned up handling of
non-existent formatters, fixed non-data transfer commands
clearing DONE
non-existent formatters, fixed non-data transfer
commands clearing DONE
5 28-Sep-01 pdp11_rp.c, pdp10_rp.c, pdp10_tu.c: controller should
interrupt if ATA or SC sets when IE is set, was
interrupting only if DON = 1 as well
interrupt if ATA or SC sets when IE is set, was
interrupting only if DON = 1 as well
4 27-Sep-01 pdp11_ts.c:
-- NXM errors should return TC4 or TC5; were returning TC3
@@ -332,7 +460,7 @@ patch date module(s) and fix(es)
pdp11_tc.c: stop, stop all do cause an interrupt
dec_dz.h: scanner should find a ready output line, even
if there are no connections; needed for RSTS/E autoconfigure
if there are no connections; needed for RSTS/E autoconfigure
scp.c:
-- added routine sim_qcount for 1130
@@ -343,7 +471,7 @@ patch date module(s) and fix(es)
3 20-Sep-01 pdp11_ts.c: boot code binary was incorrect
2 19-Sep-01 pdp18b_cpu.c: EAE should interpret initial count of 00
as 100
as 100
scp.c: modified Macintosh support