Thanks Lionel,
You just helped me start a new list!
On Thu, May 26, 2016 at 5:44 AM, Lionel Johnson <lionelj at labyrinth.net.au>
wrote:
On 25/05/2016 5:06 AM, Paul Anderson wrote:
I used to have a notebook of toggle in programs
for the PDP8s and PDP11s,
but it seems to be lost forever.
Not being a software person it takes me hours to write and debug the
simplest routines. Is there a site with a list of toggle in maintenance
programs?
I used to work on DEC systems of all types, loved the PDP-11, cause you
could get
right into it, not like VAX, which was huge and almost
incomprehensible. I wrote button-in test programs as needed, below is a
useful address checker, mostly used on instals, found bad switches giving
wrong addresses. Used a similar one to trap vector addresses, find the
wrong ones.
I/O PAGE ADDRESS LISTER PROGRAM
-------------------------------
1000 012706 001000 MOV #1000,
SP
1004 012737 001054 000004 MOV
#TRAP,@#4
1012 012700 002000 MOV #2000,R0
1016 010001 MOV R0,R1
1020 005020 LOOP: CLR @(R0)+
1022 020027 006000 CMP R0,#6000
1026 001374 BNE LOOP
1030 012700 160000 MOV
#160000,R0
1034 005710 LOOP1: TST @(R0)
1036 010021 MOV
R0,@(R1)+
1040 062700 000002 LOOP2: ADD #2,R0
1044 020027 177776 CMP
R0,#177776
1050 001371 BNE LOOP1
1052 000000 HALT
1054 022626 TRAP: CMP
@(R6)+,@(R6)+
1056 000770 BR LOOP2
THIS PROGRAM USES TRAP TO 4 ON UNIBUS TIMEOUT TO
FIND ALL VALID
UNIBUS ADDRESSES ON THE SYSTEM UNDER TEST.
THE LIST OF ADDRESSES WILL BE STORED IN A TABLE
COMMENCING AT
LOCN 2000.
THERE ARE SOME LARGE BLOCKS OF ADDRESSES WHICH
SHOULD NOT BE
PRINTED OUT. eg. 165000-165776 173000-173776.
TO IDENTIFY THE ADDRESSES LISTED, SEE THE BACK
PAGES OF THE
PERIPHERAL HANDBOOK.
SAMPLE RESULT:-
SOUTHDOWN PRESS 11/24 OAKLEIGH 11/70
160200-160376 ???? 160120-160126 DZ11
160770-160776 AD01? 165000-165776 BOOT DIAGS
164200-164376 ???? 170200-170376 U/BUS MAP
165000-165776 BOOT DIAGS 172202-172376 SUPER
PAR/PDR0-7
170200-170376 U/BUS MAP 172440-172476
RH70/TM03/TE16
172100 MS11-P CSR 172516 MMR3
172300-172316 KERNEL PDR 173000-173776 BOOT DEVICES
172340-172356 KERNEL PAR 176700-176752 RH70/RP06
172516 MMR3 177546 LINE CLOCK
173000-173776 BOOT DEVICES 177560-177566 CONSOLE
176500-176506 DL11 177570 SWR
176700-176746 EMULEX SC21 177572-177576 MMR0,1,2
177546 KW11-L 177600-177616 USER DATA
PDR0-7
177560-177566 CONSOLE 177620-177636 USER INS PDR0-7
177572-177576 MMR0,1,2 177640-177656 USER INS
PAR0-7
177600-177616 USER PDR 177660-177676 USER DATA
PAR0-7
177640-177656 USER PAR 177740-177752 MEMORY REGS
177734-177736 LMA LO/HI WORD 177760-177776 CPU REGS
177766 CPU ERR REG
11/23 SYSTEM EXAMPLE:-
---------------------
172300-172316 MEM MAN KERNEL PDR
172340-172356 MEM MAN KERNEL PAR
172516- MMR3
173000-173776 BOOT DEVICES
176500-176526 DLV11-J (3 PORTS)
177170-177172 RXV21
177546 KWV11-L
177560-177566 DLV11-J (CONSOLE)
177572-177576 MMR0,1,2
177600-177616 MEM MAN USER PDR
177640-177656 MEM MAN USER PAR
Lionel.
*