Subject: CVS commit: pkgsrc/emulators/simh
From: OBATA Akio
Date: 2008-11-01 06:15:42
Message id: 20081101051542.CE5B2175D0@cvs.netbsd.org

Log Message:
Update simh to 3.8.0.
Based on PR 39750 and some clean up.

ChangeLog
V3.8.0	15-Jun-2008
SCP and libraries:

    * Fixed bug in local/global register search (found by Mark Pizzolato)
    * Fixed bug in restore of RO units (from Mark Pizzolato)
    * Added SET/SHO/NO BR with default argument (from Dave Bryan)
    * Worked around Telnet negotiation problem with QCTerm (from Dave Bryan)

GRI-909:

    * Added GRI-99 support

HP2100 (all changes from Dave Bryan):

    * Implemented 12966A Buffered Asynchronous Communications Interface simulator
    * Added SET CPU DEBUG and OS/VMA flags, enabled OS/VMA
    * Corrected MP W5 (JSB) jumper action, SET/SHOW reversal, mp_mevff clear on \ 
interrupt with I/O instruction in trap cell
    * Removed DBI support from 1000-M (was temporary for RTE-6/VM)
    * Enabled EMA and VIS, added EMA, VIS, and SIGNAL debug flags
    * Enabled SIGNAL instructions, SIG debug flag
    * Fixed single stepping through interrupts
    * Implemented VMA, OS, VIS, SIGNAL, and EMA firmware extensions
    * Fixed unsigned divide bug in .DDI
    * Fixed unsigned multiply bug in .DMP
    * Fixed B register return bug in /CMRT
    * DS disk: corrected and verified ioCRS action
    * MUX: sync mux poll with console poll for idle compatibility
    * PTR: fixed trailing null counter for tape re-read
    * CLK: synchronized CLK with TTY if set for 10 msec.
    * TTY: changed TTY output wait from 100 to 200 for MSU BASIC

Nova (all changes from Bruce Ray):

    * Added CPU support for third-party 64KW memory
    * Added CPU history support
    * Renamed CLK to RTC, to match DG literature
    * Renamed DK to DKP, to match DG literature
    * Changed DKP bootstrap to DG official sequence
    * Rename DP to DSK, to match DG literature
    * Changed DSK bootstrap to DG official sequence
    * Renamed MT to MTA, to match DG literature
    * Changed MTA bootstrap to DG official sequence

PDP11:

    * Fixed DMA memory address limit test (found by John Dundas)
    * Fixed MMR0 treatment in RESET (found by Walter Mueller)
    * Fixed write behavior of 11/70 MBRK, LOSIZE, HISIZE (found by Walter Mueller)
    * Added support to set default state of KDJ11B,E clock control register
    * Added support for DC11
    * Added support for KE11A
    * Added support for KG11A (from John Dundas)
    * Added support for RC11 (from John Dundas)
    * Added modem control to DL11
    * Rename TTIX/TTOX to DLI/DLO, to match DC11 nomenclature

V3.7.3	02-Sep-2007
SCP:

    * -Fixed bug in SET THROTTLE command

PDP-10:

    * Fixed non-portable usage in SHOW HISTORY routine

PDP-11:

    * TA: forward op at BOT skips initial file gap

PDP-8:

    * CT: forward op at BOT skips initial file gap
    * -CT: fixed handling of BEOT

VAX, VAX780::

    * CPU: fixed bug in read access g-format indexed specifiers

V3.7.2	12-Jul-2007
Ethernet library (from Dave Hittner):

    * fixed non-ethernet device removal loop (from Naoki Hamada)
    * added dynamic loading of wpcap.dll;
    * corrected exceed max index bug in ethX lookup
    * corrected failure to look up ethernet device names in the registry on \ 
Windows XP x64

Honeywell 316/516 (from Theo Engel)

    * LPT: fixed loss of last print line (from Theo Engel)
    * MT: fixed bug in write without stop (from Theo Engel)
    * CLK: fixed bug in clock increment (from Theo Engel)

IBM 1401:

    * added recognition of overlapped operation modifiers
    * remove restriction on load-mode binary tape operations
    * fixed read tape mark operation (found by Van Snyder)

PDP-1:

    * -fixed typo in SBS clear (from Norm Lastovica)

PDP-11:

    * RH, RP, TU: CS1 DVA is in the device, not the MBA

PDP-8:

    * fixed typo (from Norm Lastovica)

VAX:

    * revised idle detector

V3.7.1 	12-May-2007
SCP and libraries:

    * fixed bug in get_sim_opt (reported by Don North)
    * fixed bug in RESTORE with changed memory size
    * fixed breakpoint actions in DO command file processing (from Dave Bryan)

HP2100 (all fixes from Dave Bryan):

    * IPLI EDT delays DMA completion interrupt for TSB
    * MUX:
    * corrected "mux_sta" size from 16 to 21 elements
    * fixed "muxc_reset" to clear lines 16-20
    * fixed control card OTx to set current channel number
    * fixed to set "muxl_ibuf" in response to a transmit interrupt
    * changed "mux_xbuf", "mux_rbuf" declarations from 8 to \ 
16 bits
    * fixed to set "mux_rchp" when a line break is received
    * fixed incorrect "odd_par" table values
    * reversed test in "RCV_PAR" to return "LIL_PAR" on odd \ 
parity
    * fixed mux reset (ioCRS) to clear port parameters
    * fixed to use PUT_DCH instead of PUT_CCH for data channel status
    * added DIAG/TERM modifiers to implement diagnostic mode

PDP-11:

    * CPU: changed memory size routine to work with RESTORE
    * HK: NOP and DCLR (at least) do not check drive type
    * HK: MR2 and MR3 only updated on NOP
    * TU: TMK sets FCE only on read (found by Naoki Hamada)
    * XU: added missing FC_RMAL command
    * XU: cleared multicast on write

VAX-11/780:

    * modified mbz checks to reflect 780 microcode patches (found by Naoki Hamada)

V3.7.0	03-Feb-2007
SCP and libraries:

    * Implemented throttle commands
    * Added idle support
    * Added -e to control error processing in DO command files (from Dave Bryan)
    * Fixed handling of non-printable characters in KSR mode
    * Fixed bug in reverse operations for P7B-format tapes
    * Fixed bug in reverse operations across erase gaps

GRI-909:

    * Fixed handling of non-printable characters in KSR mode

Honeywell 316/516

    * Fixed handling of non-printable characters in KSR mode

HP 2100:

    * Reorganized CPU modules for easier addition of new instructions
    * Added Double Integer instructions, 1000-F CPU, 2114 and 2115 CPUs, 12K and \ 
24K memory sizes, 12607B and 12578A DMA controllers, and 21xx binary loader \ 
protection
    * Fixed DMS self-test instruction execution on 1000-M
    * Fixed indirect interrupt holdoff logic
    * Fixed DS REQUEST STATUS to clear status-1 (from Dave Bryan)
    * Added Floating Point Processor (from Dave Bryan)
    * Fixed LPS diag-mode CLC response

IBM 7094:

    * Fixed new bug in halt IO wait loop
    * Added IFT, EFT expanded core test instructions

Interdata:

    * Removed separate multiplexor clock
    * Added idle support
    * Synced multiplexor poll to real-time clock
    * Fixed handling of non-printable characters in KSR mode
    * Synced keyboard poll to real-time clock
    * Changed line-time clock to be free-running

PDP-1:

    * Added 16-channel sequence break system (API) support
    * Added PDP-1D support (including timesharing clock)
    * Added Type 630 data communications subsystem (multiplexer)
    * Separated TTI, TTO for API support
    * Fixed bugs in symbolic character input, block loader

PDP-10:

    * Added idle support
    * Synced keyboard poll to real-time clock
    * Added card reader support

PDP-11:

    * Added idle support
    * Fixed bug in ASH -32 C value
    * Fixed RF11 unit mask (found by John Dundas)
    * Synced keyboard, Ethernet, and multiplexer polls to real-time clock
    * Added clock coscheduling support
    * Added TA11 (casette) support
    * Changed DHQ11 to be off by default
    * Fixed operand order in EIS instructions (found by W.F.J. Mueller)

PDP-18b:

    * Fixed incorrect value of PC on instruction fetch mem mmgt error
    * Fixed PDP-15 handling of mem mmgt traps (sets API 3)
    * Fixed PDP-15 handling of CAL API 4 (sets only if 0-3 inactive)
    * Fixed PDP-15 CAF to clear memory management mode register
    * Fixed boundary test in KT15/XVM (reported by Andrew Warkentin)
    * Added XVM RDCLK instruction
    * Added idle support and infinite loop detection
    * Fixed RF15, DSCD does not clear function register
    * Added PDP-15 instructions for program selection of console duplex status
    * Fxed PDP-15 handling of reader out-of-tape
    * Fixed console and multiplexer handling of non-printable characters in KSR mode
    * Changed real-time clock to be free running
    * Synced keyboard poll to real-time clock

PDP-8:

    * Fixed SC value after DVI overflow (found by Don North)
    * Added idle support and infinite loop detection
    * Added TA8E support
    * Changed real-time clock to be free running
    * Added ability to disambiguate overlapping IOT definitions in symbolic \ 
input and output
    * Fxed console handling of non-printable characters in KSR mode
    * Synced keyboard poll to real-time clock

VAX, VAX780:

    * Added idle support
    * Fixed operand order in EIS instructions (found by W.F.J. Mueller)

V3.6.1	22-Jul-2006
SCP:

    * Implemented SET/SHOW PCHAR

all DECtapes:

    * Fixed conflict in ATTACH switches

HP2100 (from Dave Bryan):

    * Added CAPACITY as alternate for REEL
    * Fixed EOT test for unlimited reel size

IBM 1620 (from Tim McBride):

    * Fixed card reader fgets call
    * Fixed card reader boot sequence

IBM 7094:

    * Fixed bug in halt IO wait loop
    * Fixed bug in reading full 80 column binary cards
    * Added binary loader (courtesy of Dave Pitt)

Interdata 32b:

    * Fixed transcription errors in disk boot loader (found by Davis Johnson)

PDP-1:

    * Fixed bugs in MUS and DIV

PDP-11:

    * CIS: added interrupt tests to character instructions
    * CIS: added 11/44 stack probe test to MOVCx (only)
    * KL11/DL11: first release
    * RF11: first release
    * TTI, TTO: added UC support to TTI, TTO

18b PDP's:

    * CPU: fixed RESET to clear AC, L, and MQ
    * DT: fixed checksum calculation bug for Type 550
    * FPP: fixed bugs in left shift, multiply
    * TTI, TTO: fixed Baudot letters/figures inversion for PDP-4
    * TTI, TTO: fixed letters/figures tracking for PDP-4
    * TTI, TTO: fixed PDP-4/PDP-7 terminal  default to be local echo
    * Added FioDEC, Baudot display
    * Generalized LOAD to handle HRI, RIM, and BIN files

PDP-8:

    * TTIX: fixed bug in DETACH routine

V3.6.0	20-Apr-2006
SCP and libraries

    * Revised save/restore format to check simulator options for consistency

Most magnetic tapes

    * Added support for limiting tape capacity to a particular size in MB

IBM 7094 - First release

VAX and VAX-11/780 (most bugs found by Tim Stark)

    * Added KESU capability to virtual examine
    * Fixed bugs in virtual examine
    * Rewrote CPU history function for improved usability
    * Fixed fault cleanup to clear PSL<tp>
    * Fixed ADAWI r-mode to preserve dst<31:16>
    * Fixed ACBD/G to test correct operand
    * Fixed access checking on modify-class specifiers
    * Ffixed branch address calculation in CPU history
    * Fixed bug in reported VA on faulting cross-page write
    * Fixed POLYD, POLYG to clear R4, R5
    * Fixed POLYD, POLYG to set R3 correctly
    * Fixed POLYD, POLYG to not exit prematurely if arg = 0
    * Fixed POLYD, POLYG to do full 64b multiply
    * Fixed POLYF, POLYD, POLYG to remove truncation on add
    * Fixed POLYF, POLYD, POLYG to mask multiply result to 31b/63b/63b
    * Fixed fp add routine to test for zero via fraction to support \ 
"denormal" argument from POLYF, POLYD, POLYG
    * Fixed bug in 32b floating multiply routine
    * Fixed bug in 64b extended modulus routine

VAX-11/780 only (most bugs found by Tim Stark)

    * Added FLOAD command, loads system file from console floppy disk
    * Fixed MOVTC, MOVTUC to preserve cc's through page faults
    * Fixed MOVTUC to stop on translated == escape
    * Fixed CVTPL to set registers before destination reg write
    * Fixed CVTPL to set correct cc bit on overflow
    * Fixed EDITPC to preserve cc's through page faults
    * Fixed EDITPC EO$BLANK_ZERO count, cc test
    * Fixed EDITPC EO$INSERT to insert fill instead of blank
    * Fixed EDITPC EO$LOAD_PLUS/MINUS to skip character
    * Fixed MNEGH to test negated sign, clear C
    * Fixed carry propagation in qp_inc, qp_neg, qp_add
    * Fixed pack routines to test for zero via fraction
    * Fixed ACBH to set cc's on result
    * Fixed POLYH to set R3 correctly
    * Fixed POLYH to not exit prematurely if arg = 0
    * Fixed POLYH to mask multiply result to 127b
    * Fixed fp add routine to test for zero via fraction to support \ 
"denormal" argument from POLYH
    * Fixed EMODH to concatenate 15b of 16b extension
    * Fixed bug in reported VA on faulting cross-page write
    * Added access check on system PTE reference in TLB miss flows
    * Added MBZ checking in LDPCTX and MTPR
    * Compatibility mode: fixed omission of SXT
    * Compatibility mode: fixed order of operand fetching in XOR
    * CR: added CR11/CD11 support

Honeywell 316

    * CPU: fixed bugs in LLL, LRL (found by Theo Engel)
    * LPT: fixed bug in blanks backscanning (found by Theo Engel)
    * TTY: fixed bugs in punch state handling (found by Theo Engel)

IBM 1401 - Fixed bug in divide (reported by Van Snyder)

Interdata

    * CPU: fixed bug in DH (found by Mark Hittinger)
    * SELCH: fixed bug, GO preserves EXA and SSTA (found by Davis Johnson)
    * IDC: fixed WD/WH handling (found by Davis Johnson)
    * IDC: fixed bug, nop command should be ignored (found by Davis Johnson)

NOVA - Fixed bug in DIVS (found by Mark Hittinger)

PDP-11

    * CPU: fixed order of operand XOR operand fetch for SDSD-type models
    * CIS: fixed bug in decode table (found by John Dundas)
    * CIS: fixed bug in ASHP
    * CIS: fixed bug in write decimal string with mmgt enabled
    * CIS: fixed bug in 0-length strings in multiply/divide
    * CR: added CR11/CD11 support (from John Dundas)
    * TC: fixed READ to set extended data bits in TCST (found by Alan Frisbie)

V3.5.2	20-Jan-2006
All 7-track tapes: added write support for P7B format

All console terminals: KSR/UC output suppresses non-printable characters

PDP10:

    * RP.c: fixed DCLR not to clear disk address

PDP11 (also VAX, VAX780 where applicable):

    * HK: fixed overlapped seek interaction with NOP, etc
    * RH: added enable/disable routine
    * RP, RQ, TQ, TS, TU: widened address display to 64b when USE_ADDR64
    * RP: fixed DCLR not to clear disk address
    * RP, TU: fixed device enable/disable logic to include Massbus adapter
    * RP, TU: widened address display to 64b when USE_ADDR64
    * TU: changed default adapter to TM03 (for VMS)

PDP8:

    * DF, RF, DT: fixed unaligned access bug (found by Doug Carman)
    * RL: fixed IOT 61 decoding bug (found by David Gesswein)

VAX:

    * CPU: fixed breakpoint detection when USE_ADDR64 option is active
    * CPU: fixed CVTfi to trap on integer overflow if PSW<iv> set
    * Changed default compile options to USE_ADDR64

VAX780: first release

V3.5.1	15-Oct-2005
IBM 1401:

    * Changed character encodings to be consistent with Paul Pierce 709X simulator
    * Changed card column binary format to be consistent with Paul Pierce 709X \ 
simulator
    * Added choice of business or Fortran encoding for card punch, line printer \ 
, and inquiry terminal output
    * Added mode control for old/new character encodings

IBM 1620: Changed character encodings to be consistent with 7094 and 1401

PDP-11: Fixed bug in autoconfiguration algorithm (missing XU table entry)

VAX:

    * Fixed bug in autoconfiguration algorithm (missing XU table entry)
    * Fixed bug in floating point structure definitions with 32b compilation option

V3.5.0 	09-Sep-2005
SCP and libraries:

    * Fixed to trim trailing spaces on file names
    * sim_ether: added Windows user-defined adapter names (from Timothe Litt)
    * sim_sock: fixed SIGPIPE error on UNIX
    * sim_tape: fixed misallocation of TPC map array in 64b configurations
    * sim_tmxr: added support for SET <unit> DISCONNECT

IBM 1401:

    * Fixed clearing of SSB-SSG on reset (reported by Ralph Reinke)
    * Fixed problem with 2, 5 character R, P instructions (reported by Van Snyder)
    * Removed error stops from MCE

PDP-11:

    * Revised autoconfiguration algorithm and interface
    * Added additional 11/60 registers
    * pdp11_vh: fixed bug in vector display routine
    * pdp11_xu: fixed runt packet processing (found by Tim Chapman)

PDP-15:

    * Removed spurious AAS instruction
    * Fixed bug in SHOW TTIX CONN/STATS
    * Fixed bug in SET TTIXn LOG/NOLOG

PDP8

    * Fixed bug in SHOW TTIX CONN/STATS
    * Fixed bug in SET TTIXn LOG/NOLOG

HP2100

    * Added SET MUXLn DISCONNECT

Interdata:

    * fixed bug in SHOW PAS CONN/STATS
    * Added SET PASLn DISCONNECT

SDS

    * Fixed bug in SHOW MUX CONN/STATS
    * Added SET MUXLn DISCONNECT

V3.4.0	03-May-05
SCP and libraries:

    * Fixed ASSERT code
    * Revised syntax for SET DEBUG (from Dave Bryan)
    * Revised interpretation of fprint_sym, fparse_sym returns
    * Moved DETACH sanity tests into detach_unit
    * Added test for WSAEINPROGRESS (from Tim Riker)

PDP-10:

    * Fixed TU bug, ERASE and WREOF should not clear done (reported by Rich Alderson)
    * Fixed TU error reporting

PDP-11:

    * Fixed TU error reporting

Interdata 16b:

    * Fixed bug in show history routine (from Mark Hittinger)
    * Revised examine/deposit to do words rather than bytes

Interdata 32b:

    * Fixed bug in initial memory allocation
    * Fixed bug in show history routine (from Mark Hittinger)
    * Revised examine/deposit to do words rather than bytes

HP2100 (all changes and fixes from Dave Bryan)

    * CPU: reorganized CPU options
    * CPU1: reorganized EIG routines
    * Added FFP support

V3.3.2	09-Mar-05
SCP: added ASSERT command (from Dave Bryan)

PDP-11:

    * Fixed bugs in RESET for 11/70 (reported by Tim Chapman)
    * Fixed bug in SHOW MODEL (from Sergey Okhapkin)
    * Made SYSID variable for 11/70 (from Tim Chapman)
    * Fixed MBRK write case for 11/70 (from Tim Chapman)
    * RQ: added RA60, RA71, RA81 disks
    * RY: fixed bug in boot code (reported by Graham Toal)

H316

    * Fixed IORETURN macro
    * PT: fixed bug in OCP '0001 (found by Philipp Hachtmann)
    * MT: fixed error reporting from OCP (found by Philipp Hachtmann)

HP2100 (from Dave Bryan)

    * Fixed missing MPCK on JRS target
    * Removed EXECUTE instruction (is NOP in actual microcode)
    * Fixed missing negative overflow renorm in StoreFP

I1401: fixed bug in LPT write line routine (reported by Van Snyder)

Interdata 32b: fixed branches to mask new PC (from Greg Johnson)

VAX:

    * Fixed initial state of cpu_extmem
    * RQ: added RA60, RA71, RA81 disks

V3.3.1	08-Jan-05
H316:

    * Fxed bug in DIV
    * TTY: fixed bug in SKS '104 (reported by Philipp Hachtmann)
    * TTY: fixed bug in SKS '504
    * Added reader/punch ASCII file support
    * Added Teletype reader/punch support
    * DP: fixed bug in skip on !seeking
    * MT: fixed bug in DMA/DMC support
    * LP: fixed bug in DMA/DMC support

HP2100:

    * Fixed DMA reset to clear alternate CTL flop (from Dave Bryan)
    * Fixed DMA reset to not clear control words (from Dave Bryan)
    * Fixed SBS, CBS, TBS to do virtual reads
    * Separated A/B from M[0/1], for DMA IO (from Dave Bryan)
    * Added SET CPU 21MX-M, 21MX-E (from Dave Brian)
    * Disabled TIMER/EXECUTE/DIAG instructions for 21MX-M (from Dave Bryan)
    * Added post-processor to maintain T/M consistency (from Dave Bryan)
    * DS: first release
    * LPS, LPT: added restart when set online, etc (from Dave Bryan)
    * LPS: col count for non-printing characters (from Dave Bryan)

IBM 1401: added address argument support (from Van Snyder)

Interdata: added magtape read-only file support

PDP-11:

    * Fixed WAIT to work in all modes (from John Dundas)
    * TM, TS: added read-only file support

SDS 940: added magtape read-only file support

Files:
RevisionActionfile
1.27modifypkgsrc/emulators/simh/Makefile
1.9modifypkgsrc/emulators/simh/PLIST
1.13modifypkgsrc/emulators/simh/distinfo
1.8modifypkgsrc/emulators/simh/patches/patch-aa
1.6modifypkgsrc/emulators/simh/patches/patch-ab
1.5modifypkgsrc/emulators/simh/patches/patch-ac