From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,7e2a0faed72fdc70 X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.sys.dec Subject: Re: Problems w. PDP11/23 Date: Wed, 26 Jan 2011 10:10:09 +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 1296033009 19866 178.83.28.113 (26 Jan 2011 09:10:09 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 26 Jan 2011 09:10:09 +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:2851 I'm sorry, but I don't have time to read through all the stuff right now... Howeber... On 2011-01-25 22:17, Holm Tiffe wrote: > I'm replying here to all that helped. Many Thanks Guys! > > Bridging W4 on the KDF11-AA (disabling the event line) has done > the trick. > I've found out before with the trap catcher program: > (http://www.psych.usyd.edu.au/pdp-11/hints.html) > > [This slightly more complicated version will identity the trap location, > [with the processor halting with the trap location + 6 in the PC register. > [ > [ Location Contents Opcode Comment > [ > [ 001000 012706 mov #770,sp set the stack pointer > [ 001002 000770 > [ 001004 005000 clr r0 memory pointer > [ 001006 012701 mov #2,r1 trap value > [ 001010 000002 > [ 001012 010120 loop: mov r1,(r0)+ set trap vector value > [ 001014 005020 clr (r0)+ set halt instruction > in trap > [ 001016 062701 add #4,r1 update r1 for next trap > [ 001020 000004 > [ 001022 020600 cmp sp,r0 load up to stack pointer > [ 001024 001372 bne loop > [ 001026 000000 halt > [ > [After loading memory with the trap catcher, deposit 777 into location > [ 1000 as start (at location 1000). The processor should loop at 1000. > [ > > ..taht the machine traps to 104 consistently which is after substracting > 6 the address 76 octal. > I've found no documentation for a trap to 76 somewhere on the net. > Also not in the KDF11-AA User Manual. > Whats this? Your calculations must be wrong. Nothing can trap to 76. All traps go to addresses divisible by 4. 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