TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PDP-11 Booting

221 pointsby rdpintqogeogsaaover 3 years ago

18 comments

bondoloover 3 years ago
One of my first summer intern jobs was recreating the boot deck for a PDP 8. The first card in the deck had become damaged and there was no backup. We had an old assembler listing of the boot program but no assembler. I did not know PDP assembly but knew 6502, Z80 and 370. I had done all my Z80 writing machine code directly as I had no assembler there either. So I read the PDP docs and hand assembled the first card. It was a relief when I found that the first instruction on the second card lined up as did the next several and the last instruction on the second card. We were pretty sure we had the right deck. I powered on the PDP, keyed the boot sequence, hit run and the deck loaded. The ready light came on and I loaded the next deck, the copy deck program. It loaded successfully as well and I reloaded the boot deck in to the card reader. Pressing the start button was a moment of suspense but when the card punch started clacking out a duplicate deck I was able to breathe a sigh of relief.<p>We had talked at lunch that day about making a special boot deck whose sole purpose would be to punch a replacement standard boot deck, but it seemed too ambitious for something rarely needed.<p>Asking a few years later, the boot deck had lasted until the machine had been retired. The backup deck had never been used
评论 #29526399 未加载
评论 #29526947 未加载
DrTungover 3 years ago
PDP 11&#x2F;34 had a bootrom and an octal keyboard, which is kind of cheating.<p>I grew up using the older PDP 11&#x2F;45 where you had to key in (using binary toggles) a boot program. Or, the way I did it, manually enter write address and byte count to the RK05 disk controller (memory mapped I&#x2F;O) then writing a &quot;01&quot; Go command to RK05&#x27;s command register and watch the RK05 disk activity light flicker briefly. Voila, RT11 was loaded. (This worked because on the PDP 11&#x2F;45 DMA transfers from disk to memory worked also in CPU Halt mode.)
评论 #29522068 未加载
评论 #29524667 未加载
评论 #29521890 未加载
评论 #29523650 未加载
评论 #29521984 未加载
评论 #29523425 未加载
mmastracover 3 years ago
If you want to play the original Adventure without the PDP-11 (though not nearly as authentic), I ported it to the web here: <a href="https:&#x2F;&#x2F;grack.com&#x2F;demos&#x2F;adventure&#x2F;" rel="nofollow">https:&#x2F;&#x2F;grack.com&#x2F;demos&#x2F;adventure&#x2F;</a>
评论 #29526511 未加载
评论 #29528714 未加载
评论 #29524215 未加载
WalterBrightover 3 years ago
I added a 6Mb hard disk drive to my H11. This required building an interface card, and writing the device driver for it.<p>I used as a model the device driver for the floppy drive. I was rather amazed at how it worked - it was loading instructions into memory as it was executing the previous instruction just loaded. The instructions were also simultaneously handling two independent values in the upper and lower bytes. A marvel of compactness.
wazooxover 3 years ago
Here is a PDP-11 booting UNix v6: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=9wFJL9inunQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=9wFJL9inunQ</a>
评论 #29525851 未加载
评论 #29526958 未加载
评论 #29522950 未加载
评论 #29522371 未加载
评论 #29526892 未加载
hazeiiover 3 years ago
The LSI-11 and 11&#x2F;23 jumped to 173000 at startup, so (re)booting them was just hit halt on the front panel and then enter &#x27;173000G&#x27; in ODT (the built-in octal debugger). If necessary, it would only take a minute or two to type in a bootstrap somewhere in RAM and execute (my boss at the time could do that faster across the toggle keys on the front panel of his larger PDP-11 than I could type it in).<p>I coded several bootstraps for PDP-11&#x2F;23&#x27;s, managed to get 4 different devices (DX,DY 8&quot; disks, MX 5.25&quot; and MZ 3.5&quot; disks) complete with CLI into 256 words (2x256 byte OTP ROMs). Careful coding time, since one had to send the listing off to someone who could burn the ROMs and post them back.
评论 #29522697 未加载
评论 #29524193 未加载
not2bover 3 years ago
My favorite PDP-11 &#x2F; LSI-11 instruction was 014747 octal: mov -(pc), -(pc). It would fill all of memory with copies of itself.<p>I actually had a use for that, to get a board that had core memory to a known state.
cbm-vic-20over 3 years ago
That ASR-33 Teletype comes in handy if your PDP-11 doesn&#x27;t have a boot ROM: toggle the first stage bootloader into the panel, load your tape into the reader, and let &#x27;er rip.
jshprentzover 3 years ago
At a summer job in 1973, we used carved wood sticks to quickly set the toggle switches for the bootloader.
评论 #29525352 未加载
aasasdover 3 years ago
Off-topic: with a bunch of vintage ‘booting a computer’ stuff lately on HN and in my YT recommendations, I keep remembering what I once read about an old trick for ‘faster booting’: on bootup, the computer displayed a static screenshot taken before the shutdown (or rather to-disk suspension, apparently)—and while the user themselves tried to remember what they were doing the day before, the machine actually loaded programs into the memory. Only after that the cursor started blinking. Since after turning on the power the user received fast(er) feedback which kept them occupied, they perceived the bootup as much quicker than it actually was.<p>Only, I don&#x27;t remember what computer that was—probably paid more attention to the UX-design side at the time. If anyone knows, I&#x27;d be grateful for the reference, so I could finally file this properly among my pile of tech trivia.
评论 #29526171 未加载
评论 #29524935 未加载
评论 #29523564 未加载
评论 #29524709 未加载
评论 #29523619 未加载
not2bover 3 years ago
I am old enough to remember those days; got a summer job when I was in college at a lab that had lots of PDP-11s in, I think, 1980. Some of them didn&#x27;t have boot ROMs and you had to toggle in the bootstrap program from the front panel every time (only about a dozen instructions).
anonymousiamover 3 years ago
I remember booting RT-11 on a DEC PDP&#x2F;11 clone (LSI-11). You would turn it on (along with the Lear Siegler ADM-3A [or equivalent] terminal), and since it did not come with a hard-disk by default, you would insert the (8&quot;) boot floppy, and type 177170L at the (ROM) monitor prompt. The octal address was followed by a &quot;L&quot; which immediately caused the monitor to jump to the boot loader (also in ROM). After about five minutes, RT-11 would be up and running (just as shown on the terminal in the fine article).
评论 #29523101 未加载
dtgriscomover 3 years ago
I worked at The Computer Museum in Boston (RIP) in the &#x27;90s. We had an old computer whose boot program was a 2D array of toggle switches. In other words, it was a small physical-write, electrical-read memory. I&#x27;m guessing it was about 16 switches wide by 30 switches high.
kingcharlesover 3 years ago
Someone needs to write a Y2K patch...
评论 #29522824 未加载
tmearnestover 3 years ago
This is so cool. I want to see posts like this for other old school minicomputers and mainframes!
评论 #29522067 未加载
cyberferretover 3 years ago
Memories! One of the things I had to do in my first ever job was swap the backup discs in a Vax PDP-11 that ran a big pharmaceutical inventory system. All that time waiting for those huge discs to dismount and re-mount...
Taniwhaover 3 years ago
If you were lucky enough to have real core then you may not have had to toggle in bootstrap after powering on ...
anthkover 3 years ago
You can play ADVENT under the BSD-games package.<p>Also, there&#x27;s a good ZMachine port (several of them). Look out for advent.z5.