Commit graph

213 commits

Author SHA1 Message Date
Mark Pizzolato
070e0b3f22 PDP10: Fix LP DEVICE attach logic remove redundant code done by SCP 2022-03-11 16:25:08 -08:00
Richard Cornwell
9b2f13d443 KA10: Fixed some coverity errors. 2022-03-10 19:12:46 -05:00
Richard Cornwell
3dd0d03321 KA10: Fixed some compiler warnings on MACOS. 2022-03-06 23:20:19 -05:00
Richard Cornwell
730fa4b228 KA10: Removed stray tab. 2022-02-26 13:29:42 -05:00
Richard Cornwell
7a24b6ef4b KA10: Fix so KS10 ITS will build. 2022-02-26 11:48:45 -05:00
Richard Cornwell
a45c6c6e4f KA10: Fixed bug with page fault during ILDB/IDBP
Set KMC default state to disabled.
2022-02-24 08:37:12 -05:00
Richard Cornwell
d435ae3028 KA10: Fixed BLTUB/BLTBU instructions. 2022-02-21 15:24:24 -05:00
Mark Pizzolato
dc7754206f PDP10: Fix inadvertent overlapped unit status bits 2022-02-20 11:26:14 -08:00
Richard Cornwell
91aee9b39f KA10: Release 3 of PDP10 simulators. KS10 support added.
Added KS10 support.
    CPU Redid instruction decode to improve performance
    Triple-I display cleanup.
    Normalized end of line to DOS/Unix.
    KL10 FE, Cleanup issues with TTY devices hanging simulator..
    Fixed errors in RH20 device.
    RP and TU drives more independent of RH controller.
2022-02-19 20:25:44 -05:00
Mark Pizzolato
49b6e52d48 PDP11, VAX scsi systems: Migrate DEV_DISK devices using common autosize code 2022-02-11 15:26:21 -08:00
Mark Pizzolato
e519c93ebf H316, NOVA, PDP11, PDP8, PDP18B, KX10: Record Sequential updates consistently
Devices that do single character I/O could be attached to non seekable
host OS devices (tty, pipes, etc.) and thus shouldn't count on fseek()
and ftell().  These DEVICEs on these simulators do single character I/O
and easily can update their POS REGisters to reflect how much data has
been emitted.  Changing such a REGister will have no  useful effect
when attached to a non seekable file.
2021-06-08 14:25:23 -07:00
Mark Pizzolato
68e407ba0f ALL: Correct help text in "SET <unit> LOCKED" MTAB entries 2021-04-19 15:22:15 -07:00
Mark Pizzolato
386edb49db PDP10: Fix typo in MTAB entries for DT and RS devices 2021-04-19 14:49:49 -07:00
Mark Pizzolato
a015e44c10 ALL: Standardize writelock behavior adding global UNIT_WLK & UNIT_WPRT
Historically this functionality was reimplemented within each
DEVICE simulator often with slightly different implementations
and inconsistencies.  Solving this globally within SCP required
changes in many places, but should henceforth be reasonably
managed.

As discussed in #1034
2021-04-19 10:58:51 -07:00
Mark Pizzolato
d5cc3406b6 PDP10: Avoid console port input overrun - wait until prior input is processed
This will allow cut-and-paste into KS10 simulator console session.

As discussed in #999
2021-01-21 07:56:59 -08:00
Lars Brinkhoff
970fb8ec95 PDP10, ETHER, VIDEO, VAX: Fix set but unused variables. 2020-11-25 04:50:47 -08:00
Richard Cornwell
983b3ae278 KA10: Better fix to RH10/20 for Tops20. 2020-11-19 21:20:30 -05:00
Richard Cornwell
435eb0e599 KA10: Cleanup typos in debug help. 2020-11-19 21:20:09 -05:00
Richard Cornwell
9dd46a8b80 KA10: Fixed bug in I/O instruction assembly 2020-11-19 21:13:44 -05:00
Richard Cornwell
03a79b1205 KA10: Fix bug with later versions of TOPS20. 2020-11-17 22:06:44 -05:00
Richard Cornwell
d79cc4c494 KA10: Updated to use DEC029 translation tables. 2020-11-17 22:06:22 -05:00
Richard Cornwell
43412d227f KA10: Updated reader/punch for new translation tables. 2020-11-09 19:33:32 -05:00
Richard Cornwell
2a87c499f0 KA10: Remove redundant include of time.h. 2020-10-31 11:56:24 -04:00
Richard Cornwell
4d03ac67f6 KA10: Fixed some WAITS issues with III display. 2020-10-31 11:54:03 -04:00
Mark Pizzolato
2676404b36 3B2, BESM6, PDP10, PDP11: Remove redundant include of time.h 2020-10-30 14:16:52 -07:00
Mark Pizzolato
e1ca936ab9 PDP10-KA, PDP10-KL: Adopt internal SCP internal time base 2020-10-29 13:35:55 -07:00
Mark Pizzolato
c9c3f8568a PDP10: Adopt internal SCP internal time base 2020-10-29 13:32:42 -07:00
Richard Cornwell
b4813bc59e KA10: Updates for SCP negative sim_interval. 2020-10-27 21:30:24 -04:00
Richard Cornwell
15d933dd8b KA10: Fixed bug in POP instruction on KL10B. 2020-10-26 18:40:52 -04:00
Mark Pizzolato
65d7868148 PDP10: Compiler warning cleanup
Fix inconsistent statement indentation.
2020-10-19 12:30:27 -07:00
Richard Cornwell
f4d1abd61d KA10: Removed compiler warnings. 2020-10-13 20:06:04 -04:00
Richard Cornwell
7160b26284 KA10: Fixed POP to behave correctly on KA and KI. 2020-09-21 19:05:05 -04:00
Richard Cornwell
9f220e4098 KA10: Added UNIT_SEQ to card punch and punch to support APPEND open. 2020-09-21 19:04:30 -04:00
Bob Supnik
f8d3d7fa9a PDP10: Fix TC_RIP macro in TU device 2020-09-08 03:19:38 -07:00
Mark Pizzolato
ae825c9afb All: Declare sim_stop_messages as an array SCPE_BASE long
This avoids a potential invalid pointer dereference when formatting
the return value from sim_instr() if it is < SCPE_BASE but greater
than the previously defined static array size.sizeof

Update simh.doc to reflect this generic change.
2020-09-02 15:56:07 -07:00
Richard Cornwell
ac4d9c0250 KA10: Fixed bugs in WAITS support. New WAITS TOD clock. 2020-06-23 21:02:12 -04:00
Mark Pizzolato
661c1059a6 PDP10: Fix spelling error in comment section 2020-05-05 13:01:39 -07:00
Mark Pizzolato
fd08552852 PDP11, PDP10, VAX: Consistent use of UNIT flag variables in RP, HK, RL, and RQ
Properly reference sim_disk provided WLK flag bit
2020-05-05 12:59:21 -07:00
Mark Pizzolato
3c081a80c1 KA10, KI10, KL10: Open LPT, PTP devices for append
This implements the principle of "least surprise", in that users won't
normally expect to start overwriting an existing file on these devices.
Real hardware didn't behave that way.  A new (empty) file can always
be created with the -N switch on the ATTACH.
2020-04-28 14:35:22 -07:00
Mark Pizzolato
4313f9fe3c PDP1, PDP10, PDP11, ID16, ID32, NOVA, VAX: Open LPT, PTP devices for append
This implements the principle of "least surprise", in that users won't
normally expect to start overwriting an existing file on these devices.
Real hardware didn't behave that way.  A new (empty) file can always
be created with the -N switch on the ATTACH.
2020-04-28 07:09:20 -07:00
Mark Pizzolato
07897d3257 PDP11, VAX, and PDP10: Add AUTO disk format option to RP, HK, RL and RQ devices 2020-04-21 19:45:47 -07:00
Richard Cornwell
3f55005d21 KA10: Regular update to sync to development source.
Removed DEV_NET and fixed DEV_type on various devices.
   Support for 64 lines on KL10 FE by default.
   Fixed support for 32 lines on DC10.
   Support for TYPE 340 Display undocumented functions.
2020-04-17 18:19:54 -07:00
Mark Pizzolato
f9883668f1 NOVA, ECLIPSE, PDP11, PDP8, SIGMA, Unibus VAXen: Call tape detach API on unload 2020-04-04 09:49:15 -07:00
Mark Pizzolato
73df9b1c4e PDP10, PDP11, Massbus VAXen, DISK: Rework PDP10 use of sim_disk
- Make all PDP11, VAX RP and RQ devices autosizing behave similarly
- Generalize the attach help to be specific to the device/system being
   attached
- Remove the sim_disk_pdp10_* calls which weren't correct or needed
   since sim_disk_attach_ex provides sector size which is used correctly
2020-04-03 17:32:14 -07:00
Mark Pizzolato
b7824943df DISK: Minimize the sim_disk_pdp10_attach arguments to minimize aguments
The sim_disk_pdp10_... API's specifically provide 1024 byte sector
interfaces for 64bit data.

Customize the attach help output to be more appropriate for the devices
in the running simulator and the device who's help is being displayed.
2020-03-31 19:37:33 -07:00
John Forecast
6efa9c0a92 PDP10, DISK: Add sim_disk support for PDP10 format disks add to the RP device
This allows the underlying disk container formats that that sim_disk supports
(VHD, SIMH or RAW) to be accessed from the PDP10 KS10 simulator, and later
on to Rich Cornwell's PDP10-KA, PDP10-KI, and PDP10-KL simulators.
2020-03-31 15:20:04 -07:00
Richard Cornwell
c22766b760 KA10: Corrected error in NIA Padding. Handle disabled RH devices. 2020-03-25 20:24:13 -07:00
Mark Pizzolato
27c2dfa8f0 All DECtape devices: Undo previous unnecessary change relating to -A switch
Although these devices interpret a -A switch at attach time, they are not
sequential output devices and thus don't have an ambiguous interpretation
of the switch.

Incorrectly mentioned in #821
2020-03-24 08:35:55 -07:00
Mark Pizzolato
1c589030ae TIMER: Provide a means for VM to indicate its expected calibration rate
As reported and discussed in #817

This allows RUNLIMIT to provide useful results on fast or slow host systems.
2020-03-23 07:48:45 -07:00
Mark Pizzolato
614ad52091 All: Fix devices that attach files and have special meaning for -A switch
The -A attach time switch implicitly means to open files in append
mode.

Some devices used -A to indicate ASCII data or AUTOSIZE of disk or
fixed size tapes - DECtape.  These devices are either read only devices
(Paper tape readers or card readers), so explicit forcing of the attach
to be -R avoids unexpected positioning errors.  The random access
Disk and fixed sized tapes buffer the container contents in memory
so append mode isn't relevant, but care must be taken to assure that
the buffer reading starts at the beginning of the file without regard
to the explicit open mode.

As reported in #821
2020-03-22 09:54:54 -07:00