Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: amos@nsof.co.il-n0spam
Subject: Re: Threaded code on the PDP-11
Date: 1999/06/13	[thread overview]
Message-ID: <7k0g75$nv$1@lnews.actcom.co.il> (raw)
In-Reply-To: 7jjnb2$gt1@tyr.diku.dk

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



  reply	other threads:[~1999-06-13  4:00 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mBmZ2.1495$LP2.22361@news6.ispnews.com>
     [not found] ` <7itaj3$9e7$1@rocky.jgk.org>
     [not found]   ` <FCLIJK.L1E@world.std.com>
     [not found]     ` <7j3cah$b4q$1@rocky.jgk.org>
1999-06-02  4:00       ` Microvax. (Re: Is RISC dead? (was: Re: K7's FP performance inches past P-III's)) Peter da Silva
1999-06-02  4:00         ` Chris Scheers
1999-06-03  4:00           ` Tim Llewellyn
1999-06-02  4:00         ` Pete Zaitcev
1999-06-02  4:00         ` Bruce Lane
1999-06-03  4:00           ` Stephen E. Halpin
1999-06-03  4:00         ` Brian "JARAI" Chase
     [not found]   ` <7j2n2b$63i$1@davinci.thp.univie.ac.at>
1999-06-02  4:00     ` Threaded code on the PDP-11 " Peter da Silva
1999-06-02  4:00       ` Peter da Silva
1999-06-02  4:00       ` cg
1999-06-02  4:00         ` Jeff Kenton
1999-06-02  4:00           ` Peter da Silva
1999-06-07  4:00             ` Threaded code on the PDP-11 amos
1999-06-07  4:00               ` John "West" McKenna
1999-06-07  4:00                 ` Jerry Gitomer
1999-06-08  4:00                   ` Jerry Avins
1999-06-10  4:00                     ` kfielden
1999-06-11  4:00                       ` Chris Scheers
1999-06-07  4:00               ` Pete Zaitcev
1999-06-08  4:00               ` Alan Lehotsky
1999-06-08  4:00                 ` Lars Henrik Mathiesen
1999-06-13  4:00                   ` amos [this message]
1999-06-13  4:00               ` Megan
1999-06-13  4:00                 ` Brian Drummond
1999-06-13  4:00                   ` Tim Shoppa
1999-06-02  4:00         ` Running RT/RSTS code under UNIX (Re: Threaded code on the PDP-11 (Re: Is RISC dead? (was: Re: K7's FP performance inches past P-III's))) Peter da Silva
1999-06-02  4:00           ` John Wilson
1999-06-02  4:00             ` Warren Toomey
1999-06-04  4:00           ` John Holden
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