[Simh] Initializing disks under RT11 (Ken Hall)

Ken Hall kjhall55 at gmail.com
Wed Dec 21 14:33:39 EST 2011


Thanks, I might have known that once upon a time, but it's been ages, and I
don't fool with RT11 much anymore.



-----Original Message-----
From: Bob Supnik [mailto:bob at supnik.org] 
Sent: Wednesday, December 21, 2011 14:28
To: Ken Hall
Cc: simh at trailing-edge.com
Subject: Re: [Simh] Initializing disks under RT11 (Ken Hall)

Ok... I have it.  The stock systems have only two RL units (see the
RT5.0 Installation Guide).  So when you try to init units 2 or 3, the
requests go to unit 0 and fail.  (RT11 could give better error messages, but
it doesn't.)  This code snippet from the distributed sources confirms it:

.IIF NDF DL$UN, DL$UN   == 2
.IIF GT DL$UN-4, DL$UN  == 4
.IIF LE DL$UN,  DL$UN   == 1
         .IRP    X,<\DL$UN>
         .SBTTL  *** THIS HANDLER SUPPORTS X UNITS ***
         .ENDR

You need to generate a custom system to get 4 units.

/Bob

On 12/21/2011 1:10 PM, Ken Hall wrote:
> I'm just letting the emulator create the file.  I have three defined 
> in the cmd file, DL0-DL2.  Disks that are already initialized (DL0 and 
> DL1) are fine, but if I delete DL2 and let the emulator recreate it, I 
> get these errors.  So far the only way I've been able to create a 
> working disk image is to copy an existing one, and remove all the files.
>
> Bob, is there anything special in your startup cmd file for the disks?  
> This is what I have:
>
> [ken at raptor Disks]$ cat rt11.cmd
> ATTACH RL0 rt11run.dsk
> ATTACH RL1 rtv53_rl.dsk
> ATTACH RL2 rt11dat.dsk
> SET RL2 BADBLOCK
> BOOT RL0
>
> RL2 is the one I'm trying to initialize.
>
>
> -----Original Message-----
> From: simh-bounces at trailing-edge.com 
> [mailto:simh-bounces at trailing-edge.com]
> On Behalf Of Bob Supnik
> Sent: Wednesday, December 21, 2011 12:51
> To: simh at trailing-edge.com
> Subject: Re: [Simh] Initializing disks under RT11 (Ken Hall)
>
> I just tried this under both RT v4 and v5.3, and it works fine on a 
> stock release.
>
> However, if you either (a) fail to write the bad block table or (b) 
> attach an RL01-sized file to a drive that's declared to be an RL02, 
> rather than AUTOSIZE, RT will get very confused, and the INIT will fail.
>
> /Bob
>
> On 12/21/2011 12:00 PM, simh-request at trailing-edge.com wrote:
>> Initializing disks under RT11 (Ken Hall)
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>




More information about the Simh mailing list