Most active commenters

    ←back to thread

    414 points henry_flower | 12 comments | | HN request time: 2.01s | source | bottom
    Show context
    digitalsushi ◴[] No.43108644[source]
    Spock levels of fascinating from me. I want to learn how to compile a pdp11 emulator on my mac.
    replies(4): >>43108726 #>>43108732 #>>43108743 #>>43109755 #
    1. thequux ◴[] No.43108732[source]
    Compiling an emulator is quite easy: have a look at simh. It's very portable and should just work out of the box.

    Once you've got that working, try installing a 2.11BSD distribution. It's well-documented and came after a lot of the churn in early Unix. After that, I've had great fun playing with RT-11, to the point that I've actually written some small apps on it.

    replies(4): >>43108838 #>>43109967 #>>43110799 #>>43114792 #
    2. colechristensen ◴[] No.43108838[source]
    From the link:

    > It's somewhat picky about the environment. So far, aap's PDP-11/20 emulator (https://github.com/aap/pdp11) is the only one capable of booting the kernel. SIMH and Ersatz-11 both hang before reaching the login prompt. This makes installation from the s1/s2 tapes difficult, as aap's emulator does not support the TC11. The intended installation process involves booting from s1 and restoring files from s2.

    replies(2): >>43108874 #>>43126085 #
    3. aap_ ◴[] No.43108874[source]
    good luck though. my emulator is not particularly user friendly, as in, it has no user interface. i recommend simh (although perhaps not for this thing in particular).
    replies(1): >>43109102 #
    4. colechristensen ◴[] No.43109102{3}[source]
    So what mechanism do you have set up to reply 4 minutes after being mentioned? :)
    replies(1): >>43109353 #
    5. aap_ ◴[] No.43109353{4}[source]
    Compulsively checking HN i suppose :D
    replies(1): >>43112976 #
    6. somat ◴[] No.43109967[source]
    The daves garage youtube has an episode where he documents the pitfalls of compiling 2bsd for a PDP-11/83. https://www.youtube.com/watch?v=IBFeM-sa2YY basically it is an art on a memory constrained system.

    What I found entertaining was when he was explaining how to compile the kernel, I went Oh! that's where openbsd gets it from. it is still a very similar process.

    replies(1): >>43111709 #
    7. icedchai ◴[] No.43110799[source]
    I've been messing around with RSX-11M myself! I find these early OSes quite fascinating. So far I've set up DECNet with another emulator running VMS, installed a TCP stack, and a bunch of compilers.
    8. azinman2 ◴[] No.43111709[source]
    What’s the process look like?
    replies(1): >>43118430 #
    9. lanstin ◴[] No.43112976{5}[source]
    Also looking at threads view first before actual news helps with that.
    10. an-unknown ◴[] No.43114792[source]
    > After that, I've had great fun playing with RT-11 [...]

    If you want to play around with RT-11 again, I made a small PDP-11/03 emulator + VT240 terminal emulator running in the browser. It's still incomplete, but you can play around with it here: https://lsi-11.unknown-tech.eu/ (source code: https://github.com/unknown-technologies/weblsi-11)

    The PDP-11/03 emulator itself is good enough that it can run the RT-11 installer to create the disk image you see in the browser version. The VT240 emulator is good enough that the standalone Linux version can be used as terminal emulator for daily work. Once I have time, I plan to make a proper blog post describing how it all works / what the challenges were and post it as Show HN eventually.

    11. somat ◴[] No.43118430{3}[source]
    On openbsd it's

        cd /sys/arch/$(machine)/conf
        cp GENERIC CUSTOM
        vi CUSTOM    # make your changes
        config CUSTOM
        cd ../compile/CUSTOM
        make
    
    https://www.openbsd.org/faq/faq5.html

    I have never done it for 2bsd but according to http://www.vaxman.de/publications/bsd211_inst.pdf

        cd /usr/src/sys/conf
        cp GENERIC CUSTOM
        vi CUSTOM
        ./config CUSTOM
        cd /sys/CUSTOM
        make
    12. kragen ◴[] No.43126085[source]
    Apparently Yufeng got SIMH to run it: https://www.tuhs.org/pipermail/tuhs/2025-February/031427.htm...