From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Problems w. PDP11/23
Date: Wed, 26 Jan 2011 10:10:09 +0100 [thread overview]
Message-ID: <ihoodh$jcq$2@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <ihnem0$8d5$1@news.freibergnet.de>
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
next prev parent reply other threads:[~2011-01-26 9:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-25 7:59 Problems w. PDP11/23 Holm Tiffe
2011-01-25 15:41 ` jjh
2011-01-25 21:17 ` Holm Tiffe
2011-01-25 21:42 ` Holm Tiffe
2011-01-25 22:03 ` glen herrmannsfeldt
2011-01-25 23:27 ` Bob Eager
2011-01-26 9:10 ` Johnny Billquist [this message]
2011-01-25 16:10 ` Roger Ivie
2011-01-25 17:40 ` chrisj.doran
2011-01-28 23:24 ` Holm Tiffe
2011-01-29 0:33 ` glen herrmannsfeldt
2011-01-29 8:00 ` Holm Tiffe
2011-01-29 11:56 ` glen herrmannsfeldt
2011-01-29 12:56 ` Holm Tiffe
2011-01-29 15:00 ` Holm Tiffe
2011-01-30 3:39 ` glen herrmannsfeldt
2011-01-30 16:21 ` Bill Gunshannon
2011-01-31 0:20 ` glen herrmannsfeldt
2011-01-29 14:35 ` chrisj.doran
2011-01-29 16:28 ` Holm Tiffe
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox