[Simh] Unix SYS III on SIMH

Brad Parker brad at heeltoe.com
Thu May 21 08:02:10 EDT 2009


Jason Stevens wrote:
...
>> Tape block 7000 should be around 35840000 bytes (or 70000 blocks of
>> 512 bytes)., and a real RP06 should be able to hold 322278 blocks of
>> 512 bytes (165006336 bytes) IIRC. =A0With about 35MB read, it sounds
...
>09/26/2007  10:35 PM            18,944 tape1_set1_file0.dat
>09/26/2007  10:35 PM         3,584,000 tape1_set1_file1.dat
...
>
>sub end_file {
> print "\x00\x00\x00\x00";
>}

I thought there was a different marker for EOM; you might try that.  The
program looks correct, as to do the positions of the tape marks.

I also seem to recall something about needing the first 512 byte
loader on the tape twice.  You might look at some of the 2.11BSD
tape building programs on the web (I can dig one up).

>refers to the directory ``/'',
>which is the root of all the directory trees.
>The format of this tape is as follows:
>.VL 22 \n(Si compact
>.LI "record~0:"
>Tape boot loader\-512-bytes;
>.LI "record~1:"
>Tape boot loader\-512-bytes;
>.LI "remainder of file 1:"
>Initial load program\-several 512-byte records;
>.LI "~~~~~~\f2end-of-file\fP"
>.sp .5v
>.LI "file~2:"
>\f2root\^\fP file system (physical)\-several 5,120-byte records (blocking f=
>actor

>which I'm assuming is 5120 for the 'tape' creation... but "blocking
>factor 10" means nothing to me...  I wonder if that just means 512x10
>for 5120?

yes, record=512, block=10x512.

>----8<----8<----8<----8<----8<----8<----8<
>!
>!       DEFAULT BOOT COMMAND FILE - DEFBOO.CMD
>!
>HALT                    ! HALT PROCESSOR
>UNJAM                   ! UNJAM SBI
>INIT                    ! INIT PROCESSOR
>D/I 11 20003800 ! SET UP SCBB
>D R0 0          ! DISK PACK DEVICE TYPE
>D R1 8          ! MBA TR=3D8
>D R2 0          ! ADAPTER UNIT =3D 0
>D R3 0          ! CONTROLLER UNIT =3D 0
>D R4 0          ! BOOT BLOCK LBN (UNUSED)
>D R5 8          ! SOFTWARE BOOT FLAGS
>D FP 0          ! SET NO MACHINE CHECK EXPECTED
>START 20003000          ! START ROM PROGRAM
>WAIT DONE               ! WAIT FOR COMPLETION
>                        !
>LOAD SASH       ! LOAD PRIMARY BOOTSTRAP
>START 2                 ! AND START IT
>----8<----8<----8<----8<----8<----8<----8<
>
>Which I was thinking translates to:
>
>d 11 20003800

is that the correct order?  i need more coffee but "d 20003800 11"
seems more correct.

The miniroot might not have boot blocks on it, but you should be able
to hack up a disk image with boot blocks.

I'd try the tape method you're using first.

If these images are sysv images you should be able to mount them
on a linux box and extract files, like the boot blocks and
instructions.

-brad



More information about the Simh mailing list