Commit graph

586 commits

Author SHA1 Message Date
Mark Pizzolato
d24fa1e5d2 PDP11, VAX: Properly autosize RQ disks based on drive type 2020-05-18 06:25:48 -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
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
Lars Brinkhoff
1cc1daed96 PDP11: Fix warning about size_t converted to uint16. 2020-04-14 07:44:24 +02:00
Mark Pizzolato
07682806a5 DISK: Fix size detection and validation for VHD disks 2020-04-13 10:05:46 -07:00
Mark Pizzolato
42938b9c83 PDP11, VAX: Allow RQ RA8U disk type which is verified as valid at attach time 2020-04-11 19:57:13 -07:00
Mark Pizzolato
13dc1b54cd PDP11, Unibus VAXen: Leverage sim_disk provided autosize logic for RL and HK 2020-04-11 13:12:51 -07:00
Mark Pizzolato
defe31183f PDP11, Massbus VAXen: Remove redundant RP device autosize logic 2020-04-11 13:11:30 -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
Lars Brinkhoff
eb242da79e PDP11: Fix warning about ~0 not fitting in an uint16. 2020-04-04 16:05:56 +02: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
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
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
Lars Brinkhoff
45d7a1155b PDP11: Fix register definitions. 2020-03-20 07:06:30 +01:00
Mark Pizzolato
80d9393b83 alpha, HP2100, ID16, ID32, I7094, PDP11 and VAX: Fix array REG definitions
Array REGister definitions have been made consistent by passing the
name of the array object.  This allows proper sizing assessment
to occur in the register validation logic.

Some previously described array REGister initializers were not really
arrays.  Some were structures and others were merely pointers to
someplace in memory that it was desirable to view as a scalar array.

Structures or other blob data should now use SAVEDATA.  Virtual
arrays intended to be interpret some part of memory as scalar data
now use VBRDATA initializers.
2020-03-06 16:29:17 -08:00
Mark Pizzolato
f07015078c PDP11 and VAX: Fix TD device IBUF and OBUF register definitions 2020-03-01 12:12:46 -08:00
Mark Pizzolato
90eddfc733 alpha, HP2100, ID16, ID32, PDP11 and VAX: Normalize array REG definitions
Array REGister definitions have been made consistent by passing the
address of the whole array object.  This allows proper sizing assessment
to occur in the register validation logic.
2020-03-01 12:11:13 -08:00
Mark Pizzolato
12d6c1fce4 PDP11: Fix INT register definitions in PTR and PTP devices 2020-03-01 12:08:24 -08:00
Mark Pizzolato
b8bf4de34d PDP11 Unibus and Qbus VAX: Correct additional REGs in RQ device 2020-02-28 07:44:41 -08:00
Mark Pizzolato
3b802f644d PDP11, Unibus and Qbus VAX: Correct REG sizes in RQ, TQ and XQ devices 2020-02-26 13:30:21 -08:00
Mark Pizzolato
46500ec75e PDP11, Unibus and Qbus VAX: Fix character completion with differing line speeds 2020-02-18 14:51:59 -08:00
Mark Pizzolato
545c505f44 PDP11, Unibus and Qbus VAX: Fix VH interrupt delivery
- A hang during transition from DMA to programmed I/O.  Force
- Change to single character DMA operations before network transmit
2020-02-17 02:51:02 -08:00
Mark Pizzolato
e52d65d8e4 PDP11, Unibus and Qbus VAX: Properly identify line generating xmit interrupts
As mentioned in #782
2020-02-13 11:11:58 -08:00
Mark Pizzolato
09d6a7919c PDP11, Unibus & Qbus VAX: Properly clear CSR TRDY until transmit completes
As reported in #782
2020-02-11 18:48:44 -08:00
Lars Brinkhoff
27c1f36550 PDP11: USB game controllers for Dazzle Dart. 2020-02-11 21:02:30 +01:00
Mark Pizzolato
750b8f40cb PDP11, Unibus & Qbus VAX: Properly manage CSR TRDY bit status changes
As reported in #782
2020-02-10 12:00:48 -08:00
Mark Pizzolato
8e44ddec6f PDP11, Unibus & Qbus VAX: Fix DZ Device transmit interrupt line signaling
As reported in #782
2020-02-09 07:15:28 -08:00
Mark Pizzolato
78fa98fd7e PDP11, Unibus VAX: Cleanup attach of Chaos Net routine 2019-12-30 13:47:03 -08:00
Mark Pizzolato
236716845a PDP11, VAX: Only generate DZ output complete interrupt each line once
As reported in #782
2019-12-29 12:45:27 -08:00
Mark Pizzolato
6df860ea1a PDP11, VAX: Remove compiler warning in I/O lib 2019-11-24 10:54:55 -08:00
Bob Supnik
3be6f1fb4c PDP11, VAX: Remove redundant defines in RP source module 2019-11-24 10:54:27 -08:00
Mark Pizzolato
9fc982242c PDP11, Qbus and Unibus VAX: Add radix switch (-O or -H) to SHOW bus IOSPACE 2019-11-14 23:55:33 -08:00
Mark Pizzolato
0dfe18cd94 PDP11, PDP10: Silence Coverity warning in DUP device (KDP) 2019-10-20 23:48:05 -07:00
Mark Pizzolato
281837c68a PDP11, PDP8, VAX8200: Fix Coverity flagged warnings 2019-10-20 22:57:02 -07:00
Lars Brinkhoff
2a9826c265 PDP11: Fix NG modifier wrong text. 2019-09-17 21:27:51 +02:00
Lars Brinkhoff
d07cf9563f PDP11: Fix NG device to have just one interrupt vector. 2019-09-17 21:27:35 +02:00
Mark Pizzolato
69ec377834 PDP11: Fix SET command parsing to require values for all ADDRESS and VECTOR 2019-08-01 07:16:34 -07:00
Mark Pizzolato
4b1ab13bd8 PDP11: Fix SET KDP VECTOR=nnn to allow proper vector setting (Geoff Conway) 2019-08-01 07:06:15 -07:00
Mark Pizzolato
c117698c1d PDP11: Fix SET XQ/XQB VECTOR=nnn command (Geoff Conway) 2019-07-30 22:14:42 -07:00
Mark Pizzolato
35a5389940 PDP11, Unibus VAX: Fix typo in XUB device register declaration (Dave Hittner) 2019-07-30 22:12:57 -07:00
Mark Pizzolato
6041cd627b PDP11, PDP10, Unibus VAX: Fix potential buffer overflow warning 2019-07-16 03:46:04 -07:00
Mark Pizzolato
89d51032e2 PDP11, Unibus VAX: Fix Coverity identified warning 2019-07-16 03:15:25 -07:00
Mark Pizzolato
1e214afec3 PDP11, VAX: Fix RQ initialization of extra units
As reported in #711
2019-06-25 00:31:29 -07:00
Mark Pizzolato
2bee79b5e7 PDP11, VAX: Properly initialize extended unit structures
- Extra queue and timer units on RQB, RQC, and RQD are now properly
  initialized.
- PDP11 unit numbers are numbered:
	device RQ      0-3
	device RQB    4-7
	device RQC   8-11
	device RQD  12-15
2019-06-24 11:08:09 -07:00
Mark Pizzolato
0b67c26875 PDP11, VAX: Fix XQ device help text with NAT examples. 2019-06-23 23:49:58 -07:00
Mark Pizzolato
9c2c621278 PDP11, VAX: Add RQ device option for variable number of drives 2019-06-23 23:47:12 -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
6b3bff56b3 DISK: Add support to properly autosize fixed sized disk from a set of choices
As discussed in #704
2019-05-21 15:38:39 -07:00
Paul Koning
096f9dbd71 PDP11: Fix PSW handling for breakpoints and other aborts
Fixes #701.  The issue is more general than just breakpoints, it
potentially affects any exception dealt with by the ABORT macro.
2019-05-15 20:14:33 -04:00