92 points · by peter_d_sherman · 3y ago · 63 comments
Funny enough, I actually had a machine from that family, along with a variety of other more obscure and niche retro computers and other equipment, sadly I lost all of it, but the reality was it was just costing me a ton of money to get them working again.
https://upload.wikimedia.org/wikipedia/commons/e/e3/LGP-30_G...
Automatic versioning of files is still a very nice idea. The general format is
FileName.Ext;1
FileName.Ext;2
Etc.My netbook has plenty of horsepower to run it... the phone should too.
Can you even do JIT? You probably don't need to, considering how slow these PDPs actually were, but it's an interesting question nevertheless.
For memory accesses you could simply round up the data bus width of emulated CPU to the next power-of-2 as the "host word size". For instance if the emulated CPU accesses memory as 12-bit words, use an uint16_t array on the host CPU and treat the top 4 bits as junk.
JIT-ing probably wouldn't make much of a difference with this approach as long as your host CPU is wider, since you just ignore the top-bits.
When writing a chip emulator, it's actually not uncommon to deal with 'odd' bit widths. For instance a sound chip might have 3- or 5-bit wide counters.
Also, in a language like Zig this stuff is quite convenient since Zig allows integer types of any width (e.g. you can have u3, u5, u36 etc...). Just have to be careful about how those types are represented in memory (e.g. bit-packed or not).
https://www.tindie.com/products/obso/pdp-11-replica-kit-the-...
I've got their PDP-8 too. Really great kits.
I think the designer was working on a PDP-10 too. But got sidetracked.
Glad to hear the kit is great, helps me make up my mind!
And the frontpanel is truly a work of art. The multilayer printing on the plexiglas in particular, but also the surround.
I soldered it all in a few hours but I'm very experienced. Even if you're new to soldering it'll be fine as long as you follow the instructions and take it slow. Double-check every switch type (there's several different types!) and position before you solder it. Make sure all the LEDs fully hit the board so they point the same way, the switches are aligned etc.
It's really an amazing kit. You can feel the love that went into it.
If there's anything I'd change I'd make it 1:1 scale. And the switches don't really feel like the real thing. I've played with a real PDP-11 and the switches really have that "someone paid 100 grand for this back in the day" feel to them. That satisfying affirmative thump. Which is very hard to replicate with off the shelf components of course.
It is not perfect tho. My XT has a Plantronics card which is a CGA+, with double memory granting few additional modes, but it's not emulated. There is some historical software targeting this graphics card, even some contemporary retro-indie games.
That seems weirdly specific. Looking at the actual LICENCE.txt file:
> Any use of this codebase that changes the code to influence the behavior of the disk access activities provided by sim_disk.c and scp.c is free to do that as long as anyone doing this is explicitly not licensed to any subsequent changes to any part of the codebase in the master branch of the git repository (https://github.com/simh/simh) made by Mark Pizzolato after the LICENSE.txt was added to the master branch of repository. Changes that qualify for this restriction at least include: changing the behavior or default of SET AUTOSIZE/NOAUTOSIZE, or any code in scp.c and sim_disk.c or any simulator components that use the sim_disk routines.
I'm guessing this Mark Pizzolato made some changes to the implementation of "disk access activities" that he deemed were important but which other people found controversial, and he wanted to make sure they stayed?
Mark made a change to how the virtual disk system worked that broke an esoteric use case (using dd to image multiple disk images to an SD, without an actual file system). The user didn't want to use a workaround (specifying the transfer size in the dd command), and proceeded to use twitter to get people to harass Mark. (https://www.bentasker.co.uk/posts/blog/the-internet/toxicity...)
Mark got sick of the harrasment and decided to take his toys and go home.
Toxic user prompts toxic reaction by developer.
Being a prolific contributor doesn't mean you get to force your mistakes on others and cry about it when your decisions come back to bite you. See what Big Tech is doing to us for a great example of what this "feelings-driven design" crap has given us.
Words to live by: "if everyone tells you that you're wrong... maybe you are."
I don't think complaining about the design is toxic, but recruiting uninvolved people on twitter, and harassing out of band certainly is. Also reading the bug thread it seems the person with the issue wasn't the same as the one who instigated the harassment. (https://github.com/simh/simh/issues/1059#issuecomment-108675...)
For example, it made SimH alter disk images by itself, without warning, even if you only wanted to use them in a read-only manner.
There was also concern that sticking metadata right into the data itself was bad from a preservation standpoint.
Also there was the point that such things should be opt-in instead of just appearing ferom one version to another, without warning.
All of these concerns were dismissed as unimportant or flat out ignored by Mark. Then he went full overboard with his license change (which made a free project non-free)
Edit: removed incorrect reference to the GPL
SIMH is not GPL'd software.
fwiw this is an _extremely common_ use case. it's literally one of the tasks that dd was created to do
Nobody would've cared if it 1) wasn't turned on by default, and 2) didn't destructively change disk images.
It's a bit extreme to call people toxic because they got upset that a deliberate change caused data corruption.
It doesn't destructively change disk images; it appends something to the end. Other usages of disk images are fine: it's only if you want to use the disk images without a filesystem that you run into trouble.
Metadata is useful. Metadata is a whole lot less useful if it's off-by-default.
What he did was toxic, but in fairness, there was out-of-band harassment coordinated towards him for nearly a year.