[Simh] Initializing disks under RT11

2011-12-20 Thread Ken Hall
Anyone know how to initialize a disk under RT-11 with simh?

I can format and initialize RK05 images, but INITIALIZE fails on RL01 with
?DUP-F-Size function failed.

Thanks.


___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] Initializing disks under RT11

2011-12-20 Thread Jacob Goense
 Anyone know how to initialize a disk under RT-11 with simh?

 I can format and initialize RK05 images, but INITIALIZE fails on RL01 with
 ?DUP-F-Size function failed.

Assuming
ftp://minnie.tuhs.org/UnixArchive/PDP-11/Distributions/research/Dennis_v6/v6doc.gz
is a RK05 image:

root@mercury:/museum/fuzzball/a# cat 5.ini
set ptr dis
set ptp dis
set lpt enabled
set dz DISABLED
set RK ENABLE
set HK dis
set rx dis
set rp dis
set tm dis
set tq dis
set xq dis
set tti 8b
set tto 8b
set cpu 11/73 128K
set rl0 writeenabled
set rl0 rl02
attach rl0 rl0.dsk
set rl0 badblock
SET RK0 WRITEENABLED
ATTACH RK0 v6root
boot rl0
root@mercury:/museum/fuzzball/a# ls -l v6root
-rw-r--r-- 1 root root 2048000 Dec 20 23:29 v6root
root@mercury:/museum/fuzzball/a# pdp11 5.ini

PDP-11 simulator V3.8-1
Disabling CR
Overwrite last track? [N]

RT-11FB  V05.03

.INITIALIZE/NOQUERY RK:

.DIR RK:


 0 Files, 0 Blocks
 4762 Free blocks

.


___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] Initializing disks under RT11

2011-12-20 Thread Jacob Goense
 Anyone know how to initialize a disk under RT-11 with simh?

 I can format and initialize RK05 images, but INITIALIZE fails on RL01
 with
 ?DUP-F-Size function failed.

 Assuming
[snip previous reply after misreading]

Here is for the RL01.

root@mercury:/museum/fuzzball/a# dd if=/dev/zero of=rl1.dsk bs=1024
count=10230
10230+0 records in
10230+0 records out
10475520 bytes (10 MB) copied, 0.133831 s, 78.3 MB/s
root@mercury:/museum/fuzzball/a# ls -l rl1.dsk
-rw--- 1 root root 10475520 Dec 21 00:00 rl1.dsk
root@mercury:/museum/fuzzball/a# cat 01.ini
set ptr dis
set ptp dis
set lpt enabled
set dz DISABLED
set RK dis
set HK dis
set rx dis
set rp dis
set tm dis
set tq dis
set xq dis

set tti 8b
set tto 8b
set cpu 11/73 512K
attach LPT lpt.txt
set rl1 writeenabled
set rl1 rl02
attach rl1 rl1.dsk
set rl0 writeenabled
set rl0 rl02
attach rl0 rl0.dsk
set rl0 badblock
set rl1 badblock
boot rl0
root@mercury:/museum/fuzzball/a# pdp11 01.ini

PDP-11 simulator V3.8-1
Disabling CR
Overwrite last track? [N] Y
Overwrite last track? [N] Y

RT-11FB  V05.03

.INITIALIZE/NOQUERY DL1:

.DIR DL1:


 0 Files, 0 Blocks
 20382 Free blocks

. [CTRL-E]
Simulation stopped, PC: 152656 (BEQ 152676)
sim quit
Goodbye
root@mercury:/museum/fuzzball/a# ls -l rl1.dsk
-rw--- 1 root root 10478080 Dec 21 00:00 rl1.dsk



___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] Initializing disks under RT11

2011-12-20 Thread Jacob Goense
 Anyone know how to initialize a disk under RT-11 with simh?

 I can format and initialize RK05 images, but INITIALIZE fails on RL01
 with
 ?DUP-F-Size function failed.

 Assuming
 [snip previous reply after misreading]

 Here is for the RL01.
[snip previous reply after still misreading]

Ok, that was for the RL02, sorry for again not getting your question
right. Anyway, the answer for the RL01/RL02 disks is, mind the badblocks
track.

root@mercury:/museum/fuzzball/a# dd if=/dev/zero bs=1024 count=5120
of=rl01.dsk
5120+0 records in
5120+0 records out
5242880 bytes (5.2 MB) copied, 0.0623074 s, 84.1 MB/s
root@mercury:/museum/fuzzball/a# cat 1.ini
set ptr dis
set ptp dis
set lpt enabled
set dz DISABLED
set RK dis
set HK dis
set rx dis
set rp dis
set tm dis
set tq dis
set xq dis

set tti 8b
set tto 8b
set cpu 11/73 512K
attach LPT lpt.txt
set rl1 writeenabled
set rl1 rl01
attach rl1 rl01.dsk
set rl0 writeenabled
set rl0 rl02
attach rl0 rl0.dsk
set rl0 badblock
set rl1 badblock
boot rl0
root@mercury:/museum/fuzzball/a# pdp11 1.ini

PDP-11 simulator V3.8-1
Disabling CR
Overwrite last track? [N] Y
Overwrite last track? [N] Y

RT-11FB  V05.03

.INITIALIZE/NOQUERY DL1:

.DIR DL1:


 0 Files, 0 Blocks
 10172 Free blocks

.

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh