From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdd80,6ba65cf289d2d094 X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,6ba65cf289d2d094 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-11-19 07:12:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!freenix!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Bob Supnik Newsgroups: comp.sys.dec,alt.sys.pdp11 Subject: Re: RQDX3 emulator - MSCP credit and unit schemes. Date: Mon, 19 Nov 2001 10:12:09 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <4n7ivtoc4hkfelbj792p8lirafmbo0csl2@4ax.com> References: X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.sys.dec:8539 alt.sys.pdp11:3001 The RQDX3 has credits equal to the number of packets it can buffer internally. On the very first reply, to the Set Ctrl Char, the RQDX3 awards as many of its credits to the host, within the overall protocol limit of 15 for the field in the message header, as it can. Thereafter, it continues to deliver credits to the host until it has allocated all of them to the host. After that, it provides one per returned packet. In C-like terms, if rqcredit is its initial allocation. if (resp pkt is end pk && resp pkt is sequential msg) { cr_to_send = (rqcredit > 14)? 14: rqcredit; rqcredit = rqcredit - cr_to_send; insert (cr_to_send + 1) into resp packet; } The host receives all the credits up front; thereafter; it receives one additional credit for each response packet sent over. The unit poll goes 1, 2, 3... because the GUS is being done with the "next unit" characteristic. When VMS sends over unit 4, the RQDX3 wraps the unit number back to 0, changes the unit number in the response packet, and reports on unit 0. This is how VMS knows that the end of the controller has been reached. Unit #s are keyed to the controller address. The primary controller is units 0..3. At the secondary address, the units are 4..7, etc. /Bob On Fri, 16 Nov 2001 23:04:20 -0000, sword7@speakeasy.org wrote: >Hello folks: > >Good news! I am working on my TS10 emulator (VAX emulator). I finally >get more further than before after I put credits in MSCP packet (Set >Controller Characteristics Command). I struggled to get OpenVMS and >NetBSD to continue for many weeks. I learned that OpenVMS and NetBSD >requires least 2 credits before can issue "Get Unit Status" packets to >continue. > >In "Set Controller Characteristics" end message, I put 4 credits or so >into Type field of message header. VMS and NetBSD finally get more >further... > >NetBSD successfully attached ra0 as RRD40. It said that device type RRD40 >clearly. It successfully processed "Get Unit Status" with unit #0 but >crashed with results from RQDX3 for unit #1. > >However, OpenVMS v7.2 did not issue "Get Unit Status" for unit #0 but >starting with unit #1. > >I am trying figure out about unit schemes. I have some questions with >you. Unit #0 is controller, Unit #1 is drive #0, etc.. Right? If >not, does anyone have any information about unit schemes? > >Does anyone have information about credits handling because both are >sensetive to credits from RQDX3 controller? They can't go ahead to >issue "Get Unit Status" without least 2 credits from RQDX3 controller. > >Yes, I now was able to boot NetBSD/vax from CD directly because CD disc >does not have FILES-11 but ISO-9660 format. Interesting results in >debug.log about ISO-9660 format. Each block is 2048 bytes that I noticed. >VMB recongizes both FILES-11 and ISO-9660 format. > >Thank you! > >-- Tim Stark