From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5289e984584236e0 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.sys.dec Subject: Re: RSX11 Tape file Structure? Date: Mon, 21 Feb 2011 02:04:41 +0100 Organization: Update Computer Club Message-ID: References: NNTP-Posting-Host: 178-83-28-113.dynamic.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1298250282 24103 178.83.28.113 (21 Feb 2011 01:04:42 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 21 Feb 2011 01:04:42 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: Xref: g2news2.google.com comp.sys.dec:3054 On 2011-02-20 20:24, Holm Tiffe wrote: > Hi, > > I want to install RSX11 just for fun on my PDP11/53 thats more a stack of > PCBs than a computer... > > This site here has some different software packages: > http://pdp-11.org.ru/files.pl > > Ther is a file named rsx11m42.zip that contains a image from a bootable tape. > It runs with simh, already testet this. Now I want to install it with a real > Tape on the PDP11. I have an Tandberg TDC4222 5GB Tape Drive connected to an > TMSCP simulating DILOG SC703 that works fine with 2.11BSD. > My ssems to be that the file m42kit.tap from the zip archive is an image > from an entire tape w/o any blocking information. I've tried blockszizes of > 512 na 1024Bytes already but I get always this: > KDJ11-D/S E.03 Media not bootable > > What could I do now? As Roger Ivie suggests - if it works with simh, there must already be blocking information in the file, or else simh would not be able to use the file either. However, the most common format for tapes on a file for simh is actually 4 bytes of blocksize, then data, then the same four bytes of block size again. The exception being if the block is a tape mark, which is just a single four bytes of zero. Not repeated. An alternative format is just two bytes of block size, followed by the data. And then next block. By the way, I hope you also understand how to actually write a tape from a Unix system, with correct block sizes. Don't try to use dd, since that will most definitely not be useful. As for the actual block sizes of the tape, for a bootable tape on a PDP-11 in general, the first two blocks are usually identical, and is boot blocks. 512 bytes each. After that, it's up to the boot block (and thus the system). For RSX, a popular block size for tapes is 4144 bytes. But since RSX uses ANSI format tapes, you'll have some 80 byte blocks in there with volume headers and file headers, and so on, before you actually get to any data blocks. And also, for backups and the like, the last block of any save set can be just about any size. And tape marks are also used, which look like 0-byte blocks when you read them. But writing tape marks is a special operation. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol