Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-14 Thread Rhialto
On Thu 12 Apr 2018 at 21:40:59 +0200, Johnny Billquist wrote: > On 2018-04-12 16:06, Paul Koning wrote: > > I thought it was 15 devices -- 4 bit LUN number with the value 7 reserved > > for the controller. > > The LUN in SCSI is for something that looks like subunits or partitions. The > SCSI ID,

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Johnny Billquist
On 2018-04-12 23:05, Mark Pizzolato wrote: I've added this to the pdp11_rq.c to describe these values: /* MediaId Is defined in the MSCP Basic Disk Functions Manual, page 4-37 to 4-38: The media type identifier is a 32-bit number, and it's coded like this: The high 25 bits are 5 characters,

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Mark Pizzolato
On Thursday, April 12, 2018 at 12:25 PM, Johnny Billquist wrote: > On 2018-04-12 02:41, Mark Pizzolato wrote: > > On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: > >> On 2018-04-10 10:26, Mark Pizzolato wrote: > >>> On Monday, April 9, 2018 at 11:51 PM, Johnny Billquist wrote: > >>>

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Mark Pizzolato
On Thursday, April 12, 2018 at 1:35 PM, Johnny Billquist wrote: > On 2018-04-12 22:31, Johnny Billquist wrote: > > On 2018-04-12 21:24, Johnny Billquist wrote: > >> On 2018-04-12 02:41, Mark Pizzolato wrote: > >>> On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: > On 2018-04-10

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Johnny Billquist
On 2018-04-12 22:31, Johnny Billquist wrote: On 2018-04-12 21:24, Johnny Billquist wrote: On 2018-04-12 02:41, Mark Pizzolato wrote: On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: On 2018-04-10 10:26, Mark Pizzolato wrote: On Monday, April 9, 2018 at 11:51 PM, Johnny Billquis

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Johnny Billquist
On 2018-04-12 21:24, Johnny Billquist wrote: On 2018-04-12 02:41, Mark Pizzolato wrote: On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: On 2018-04-10 10:26, Mark Pizzolato wrote: On Monday, April 9, 2018 at 11:51 PM, Johnny Billquist wrote: On 2018-04-10 00:25, Mark Pizzolato

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Johnny Billquist
On 2018-04-12 16:06, Paul Koning wrote: On Apr 11, 2018, at 8:41 PM, Mark Pizzolato wrote: On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: ... I certainly hope not. Like I said, this is cosmetic. MSCP reports disk size directly, and the id is just for information. Anythi

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Johnny Billquist
On 2018-04-12 02:41, Mark Pizzolato wrote: On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: On 2018-04-10 10:26, Mark Pizzolato wrote: On Monday, April 9, 2018 at 11:51 PM, Johnny Billquist wrote: On 2018-04-10 00:25, Mark Pizzolato wrote: [...] Some OSes leverage the encoded

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-12 Thread Paul Koning
> On Apr 11, 2018, at 8:41 PM, Mark Pizzolato wrote: > > On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: >>> >>> ... >> >> I certainly hope not. Like I said, this is cosmetic. MSCP reports disk size >> directly, >> and the id is just for information. Anything that is mad enou

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-11 Thread Mark Pizzolato
On Tuesday, April 10, 2018 at 10:15 AM, Johnny Billquist wrote: > On 2018-04-10 10:26, Mark Pizzolato wrote: > > On Monday, April 9, 2018 at 11:51 PM, Johnny Billquist wrote: > >> On 2018-04-10 00:25, Mark Pizzolato wrote: [...] > >> And exactly > >> how many units/lines the controller have

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Johnny Billquist
On 2018-04-10 15:19, Paul Koning wrote: On Apr 10, 2018, at 3:02 AM, Johnny Billquist wrote: On 2018-04-10 01:55, Paul Koning wrote: On Apr 9, 2018, at 6:25 PM, Mark Pizzolato wrote: ... With simh as it is currently written, all of your DZ devices do need to be configured to have adjacent

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Johnny Billquist
On 2018-04-10 15:13, Paul Koning wrote: On Apr 9, 2018, at 9:28 PM, Mark Pizzolato wrote: On Monday, April 9, 2018 at 4:56 PM, Paul Koning wrote: ... I don't remember controllers with more than 4 units per device, but MSCP unit numbers are arbitrary 8 bit values. So a limit of 4 units is

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Johnny Billquist
On 2018-04-10 10:26, Mark Pizzolato wrote: On Monday, April 9, 2018 at 11:51 PM, Johnny Billquist wrote: On 2018-04-10 00:25, Mark Pizzolato wrote: On Monday, April 9, 2018 at 3:08 PM, Johnny Billquist wrote: On 2018-04-09 22:16, Mark Pizzolato wrote: On Monday, April 9, 2018 at 11:57 AM, Joh

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Paul Koning
> On Apr 10, 2018, at 3:02 AM, Johnny Billquist wrote: > > On 2018-04-10 01:55, Paul Koning wrote: >>> On Apr 9, 2018, at 6:25 PM, Mark Pizzolato wrote: >>> >>> ... >>> With simh as it is currently written, all of your DZ devices do need to >>> be configured to have adjacent CSR address block

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Paul Koning
> On Apr 9, 2018, at 9:28 PM, Mark Pizzolato wrote: > > On Monday, April 9, 2018 at 4:56 PM, Paul Koning wrote: >>> ... >> >> I don't remember controllers with more than 4 units per device, but MSCP unit >> numbers are arbitrary 8 bit values. So a limit of 4 units is proper, but a >> limitati

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Mark Pizzolato
On Monday, April 9, 2018 at 11:51 PM, Johnny Billquist wrote: > On 2018-04-10 00:25, Mark Pizzolato wrote: > > On Monday, April 9, 2018 at 3:08 PM, Johnny Billquist wrote: > >> On 2018-04-09 22:16, Mark Pizzolato wrote: > >>> On Monday, April 9, 2018 at 11:57 AM, Johnny Billquist wrote: > For

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Johnny Billquist
On 2018-04-10 09:12, Johnny Billquist wrote: On 2018-04-10 03:28, Mark Pizzolato wrote: I see 2 approaches to adding support for different unit numbers: 1) A unit number is settable uniquely for each of the 4 drives that can be attached to any of these controllers.  This would map to a conceptu

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Johnny Billquist
On 2018-04-10 03:28, Mark Pizzolato wrote: On Monday, April 9, 2018 at 4:56 PM, Paul Koning wrote: On Apr 9, 2018, at 6:25 PM, Mark Pizzolato wrote: ... ... I'd like to have more than 4 disks on one MSCP controller. There is absolutely no reason for the limit of 4. That's just an implementa

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-10 Thread Johnny Billquist
On 2018-04-10 01:55, Paul Koning wrote: On Apr 9, 2018, at 6:25 PM, Mark Pizzolato wrote: ... With simh as it is currently written, all of your DZ devices do need to be configured to have adjacent CSR address blocks and Vectors. They can't separately be scattered around the I/O space. That

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Johnny Billquist
On 2018-04-10 00:25, Mark Pizzolato wrote: On Monday, April 9, 2018 at 3:08 PM, Johnny Billquist wrote: On 2018-04-09 22:16, Mark Pizzolato wrote: On Monday, April 9, 2018 at 11:57 AM, Johnny Billquist wrote: For serial ports, that obviously means that you might connect one line to a physical

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Mark Pizzolato
On Monday, April 9, 2018 at 9:00 PM, Robert Armstrong wrote: > >distinguish between [CXA16] controller and a CXY08, ... > > Short answer is that I don't know, but the RSX SYSGEN (for example) allows > you to specify the number of lines per controller independently of the > controller type. So

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Robert Armstrong
>That should be done now. Please confirm you're happy with the result. Thanks, I'll pull that down tomorrow and try it. >distinguish between [CXA16] controller and a CXY08, ... Short answer is that I don't know, but the RSX SYSGEN (for example) allows you to specify the number of lines pe

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Mark Pizzolato
On Monday, April 9, 2018 at 4:56 PM, Paul Koning wrote: > > On Apr 9, 2018, at 6:25 PM, Mark Pizzolato wrote: > > > > ... > >> ... > >> I'd like to have more than 4 disks on one MSCP controller. There is > absolutely > >> no reason for the limit of 4. That's just an implementation detail on some

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Mark Pizzolato
On Monday, April 9, 2018 at 2:23 PM, Robert Armstrong wrote: > >Do you see a down side to the rounding up so the number of lines fits? > >For the DZ/DZV/DZQ case I think that will solve the problem. That should be done now. Please confirm you're happy with the result. >However, I think

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Paul Koning
> On Apr 9, 2018, at 6:25 PM, Mark Pizzolato wrote: > > ... > With simh as it is currently written, all of your DZ devices do need to > be configured to have adjacent CSR address blocks and Vectors. > They can't separately be scattered around the I/O space. That conforms to the float rules,

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Mark Pizzolato
On Monday, April 9, 2018 at 3:08 PM, Johnny Billquist wrote: > On 2018-04-09 22:16, Mark Pizzolato wrote: > > On Monday, April 9, 2018 at 11:57 AM, Johnny Billquist wrote: > >> For serial ports, that > >> obviously means that you might connect one line to a physical line, > >> another to a telnet l

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Johnny Billquist
On 2018-04-09 22:16, Mark Pizzolato wrote: On Monday, April 9, 2018 at 11:57 AM, Johnny Billquist wrote: I think the whole concept of deriving the number of controllers based on units in simh is wrong. I think one should configure each controller separately, including being able to tell what CSR

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Johnny Billquist
On 2018-04-09 21:12, Robert Armstrong wrote: *>….*single PDP11 simulator can simulate different PDP11 models …   Yes, and the UNIBUS and QBUS peripherals don’t always map exactly in functionality.  Actually I’m surprised this situation hasn’t come up before with other devices. Depends on ho

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Robert Armstrong
>it seems like a lot of work to address the theoretical flexibility you're >asking for. :-) It's worth pointing out that there's a use case for simh where somebody uses the simulator to install software on, and build a disk image for, a real machine. Once all the software is installed and c

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Robert Armstrong
>Do you see a down side to the rounding up so the number of lines fits? For the DZ/DZV/DZQ case I think that will solve the problem. However, I think the VH case is a little more complicated - * The UNIBUS DH11 and DHU11 had 16 lines per interface * The QBUS DHV11 had 8 lines per inter

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Paul Koning
Perhaps the DHV/DHU code has a solution that can be adapted, since it does seem to cover the case. paul > On Apr 9, 2018, at 2:47 PM, Mark Pizzolato wrote: > > Hmmm.. > > This is indeed true. The problem comes from the fact that the single PDP11 > simulator can simulate different

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Mark Pizzolato
On Monday, April 9, 2018 at 12:13 PM, Robert Armstrong wrote: > >…. single PDP11 simulator can simulate different PDP11 models … > >  Yes, and the UNIBUS and QBUS peripherals don’t always map > exactly in functionality.  Actually I’m surprised this situation > hasn’t come up before with other dev

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Mark Pizzolato
On Monday, April 9, 2018 at 11:57 AM, Johnny Billquist wrote: > I think the whole concept of deriving the number of controllers based on units > in simh is wrong. > I think one should configure each controller separately, including being able > to > tell what CSR and vector it has, and how many un

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Robert Armstrong
> accept "SET LINES=." in multiples of 4 rather than multiples of 8 Actually I guess you're still going to need to know whether it's a QBUS or UNIBUS machine so you can figure out how many DZ/DZV/DZQ cards to emulate. It seems like there's no way out of that. BTW, I haven't looked at it

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Robert Armstrong
>.. single PDP11 simulator can simulate different PDP11 models . Yes, and the UNIBUS and QBUS peripherals don't always map exactly in functionality. Actually I'm surprised this situation hasn't come up before with other devices. >Feel free not to use the extra ports that are provided fre

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Johnny Billquist
I think the whole concept of deriving the number of controllers based on units in simh is wrong. I think one should configure each controller separately, including being able to tell what CSR and vector it has, and how many units should be connected one way or another, and any other relevant inf

Re: [Simh] DZ11 vs DZV/DZQ11

2018-04-09 Thread Mark Pizzolato
Hmmm.. This is indeed true. The problem comes from the fact that the single PDP11 simulator can simulate different PDP11 models some of which are Unibus while others are Qbus systems. On the various VAX simulators, each simulator only simulates either a Unibus or a Qbus machine and thus thing