From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd7c9,a9f1c8b26ac59275 X-Google-Attributes: gidfd7c9,public X-Google-Thread: 102b75,c9d77899e59ab061 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,a9f1c8b26ac59275 X-Google-Attributes: gid1164f8,public From: amos@nsof.co.il-n0spam Subject: Re: Threaded code on the PDP-11 Date: 1999/06/13 Message-ID: <7k0g75$nv$1@lnews.actcom.co.il>#1/1 X-Deja-AN: 489102929 References: <7j3ekv$clr@web.nmti.com> <7j3ngn$hbi@web.nmti.com> <7jgkm7$vj1$1@lnews.actcom.co.il> <7jjnb2$gt1@tyr.diku.dk> Organization: nSOF Parallel Software Newsgroups: comp.arch,comp.sys.dec,comp.lang.forth thorinn@diku.dk (Lars Henrik Mathiesen) writes: >IIRC, we used the console TTY to type '167500g' at the microcode >monitor, to make it enter the bootstrap located on the RTC/bootrom/bus >terminator card. That read a boot block from disk. Providing you *had* a boot ROM... Our first PDP11 at HUJI (a /45) did not have any. The manual listed a small program, 20-30 words (depending on which device to boot from) which could be loaded into memory by the successive setting of the address switches followed by pressing the LOAD switch. We got tired of doing it and kept looking for shortcuts; eventually it was narrowed down to just 4 steps: 1. Press RESET; this zeroes all registers. 2. Set the switches to 777404 (that is, ON-ON-ON...OFF-OFF-ON-OFF-OFF) and press LOAD; this loads the disk controller's command address. 3. Set the switches to 5 (that is, OFF-OFF...OFF-ON-OFF-ON) and press DEPOSIT. 5 is a READ|GO command for the disk; storing it causes the disk controller to execute it, effectively reading block 0 of the disk (the boot block, 512 bytes) into memory address 0. 4. Set the switches to 0 and press START. This starts the CPU executing at address 0, which is the program just read in. You'd be amazed at how much a 512 bytes program can do, with some creativity! (I hope I got it right, I was doing it almost every morning for a few years, but that was ~20 years ago). -- Amos Shapir Paper: nSOF Parallel Software, Ltd. Givat-Hashlosha 48800, Israel Tel: +972 3 9388551 Fax: +972 3 9388552 GEO: 34 55 15 E / 32 05 52 N