Commit graph

199 commits

Author SHA1 Message Date
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
Richard Cornwell
b848cb1234 KA10: Clean up some section errors in KL10B extended addressing. 2020-03-12 00:10:54 -04:00
Richard Cornwell
7acb4554bb KA10: Removed PACK definition, add polling if async eth fails. 2020-03-12 00:10:15 -04:00
Author: Richard Cornwell
c686f75894 KA10: Added support for KL10A/B. 2020-03-09 23:07:47 -07:00
Mark Pizzolato
09ce5a62e3 PDP6, KA10, KI10: Update register definitions for checking 2020-03-07 20:01:26 -08:00
Richard Cornwell
6aafb375eb KA10: Updated register definitions. 2020-02-26 20:10:42 -05:00
Richard Cornwell
178968a621 KA10: Regular update. Code cleanup and minor enhancements. 2019-11-03 22:11:23 -05:00
Richard Cornwell
8c00d94be4 KA10: General update.
Added BASE option to auxcpu to move memory region.
   Fix errors in Card Reader/Card Punch translation and operation.
   Fixed problems with ITS quantum timer.
   Added support for System Concepts DC10 disk controller (Lars).
   Fixed errors in Line Printer control codes.
   Added support for Lines per page to LP10.
   Fixed issues with 7 track tapes on TM10.
   Updated user guides
2019-08-12 07:51:52 -07:00
Richard Cornwell
90b7d2beac KA10: Initial release of PDP10 KA/KI and PDP6 simulators. 2019-07-09 20:59:01 -04:00
Mark Pizzolato
eadfeffdf3 PDP10: Recompute tmxr delay factor regularly
This will not change much, but it may be useful for sane idling depending
on the way the running OS actually uses the interval timer for clock ticks.

Some discussion about this in #713
2019-07-01 19:24:25 -07:00
Mark Pizzolato
53ad66f57e PDP10: Fix rdtim to properly compute the value
The correct solution adds the elapsed interval rather than the remaining
interval value.

As reported in #699
2019-06-04 00:02:17 -07:00
Mark Pizzolato
45d8c908ba PDP10: Leverage the internal calibrated timer for accurate wall clock timing
Avoid the common situation on with this simulator whereby the programmatic
interval timer is being used for intervals which change often.  The internal
calibrated timing routines depend on consistent rate for the calibrated device.

As discussed in #699
2019-05-29 00:44:17 -07:00
Mark Pizzolato
6a131ec59a PDP10: Fix sequencing of polling to properly leverage console speed setting 2019-05-29 00:18:27 -07:00
Mark Pizzolato
f75f28aa21 TIMER: Add mechanism to pre-calibrate the instruction execution rate 2019-05-28 23:56:58 -07:00
Mark Pizzolato
fa77969c57 All: Fix various Coverity complaints 2019-04-03 09:32:54 -07:00