News for hackers. Stuff that matters.
Re:Tiny PDP11 on an ESP32 by W-Stool on Saturday January 16, 2021 @09:33PM (#25807540)
The first machine of any type that I myself booted in real life was a PDP-8 in 1976. Front panel switches to get it up, paper tape punched from an ASR-33 to load a program and get it rolling. Maybe a 5MB drive on the thing. It is amazing to see what a influence the whole PDP family had on the technical/engineering computing world back in the days of mainframes being the only "real" information technology systems. Thanks DEC.
Re:Tiny PDP11 on an ESP32 by jes on Saturday January 16, 2021 @10:12PM (#25807736)
That was my first hands-on computer as well. No disk drive, though the teletype had a tape punch and a tape reader.

I was fortunate to have such an experience. I have had a satisfying career writing software for embedded systems and medical devices.

Re:Tiny PDP11 on an ESP32 by tyingq on Saturday January 16, 2021 @10:25PM (#25807795)
There's a nice scale replica available: https://obsolescence.wixsite.com/obsolescence/pidp-8
Re:Tiny PDP11 on an ESP32 by tda on Sunday January 17, 2021 @03:05AM (#25809075)
This is yet another great demonstration of sprite_tm's combination of technical skills, creativity and perseverance to make something cool out of plain curiosity or maybe just because. I really admire his drive to not only make the technical proof of concept but also to package it up in a very nice case. And to top it off, a long read about the entire process. And he is not even bragging about it!
Re:Tiny PDP11 on an ESP32 by stragies on Sunday January 17, 2021 @04:01AM (#25809295)
Yes, my sentiment exactly! My heart starts pumping when I see a new project from spritesmod, and I settle in with a coffee. Spritesmod never disappoints, and I always learn some cool new details!
Re:Tiny PDP11 on an ESP32 by Sprite_tm on Sunday January 17, 2021 @08:36AM (#25810523)
Hehe, comments like these make me finish and document my projects when half of me actually would rather throw it into a box and start something new instead. Thanks!
Re:Tiny PDP11 on an ESP32 by spijdar on Saturday January 16, 2021 @09:35PM (#25807551)
This is really lovely. I wasn't aware you could even theoretically strip SIMH down to run on such a constrained target.

What I love about this is it isn't overengineered, nor is it trivial or easy. It's a pleasant amount of work with a tangible, fun demo at the end.

Re:Tiny PDP11 on an ESP32 by fu86 on Sunday January 17, 2021 @03:36AM (#25809180)
I've made a similar device: https://aaron-fischer.net/tdn (German)
Re:Tiny PDP11 on an ESP32 by mianos on Sunday January 17, 2021 @04:39AM (#25809442)
This looks great fun. I first worked in C and 8080 so I didn't see the PDP-11 ISA until a few years later. What amazed me at the time was how much the PDP11 was like C. There is just about a one to mapping of things like pre and post increment, pointers and basic structures. For 8080 there is not much more code generated to do the same but it is not such a clean match.
Re:Tiny PDP11 on an ESP32 by ljf on Sunday January 17, 2021 @07:16AM (#25810119)
I just love what the esp32 can do - in the right hands!

It is such a capable piece of kit for arduino prices - love the 8 bit arcade builds people have done. I bought a few esp32 when lockdown started but having kids means the time I thought I might have now has evaporated. But wonderful to read what others are able to do.

Re:Tiny PDP11 on an ESP32 by pjmlp on Monday January 18, 2021 @01:56AM (#25819003)
The ESP32 is more powerful than the PC I had access to in the school computer club, which we basically used to play defender of the crown.

https://en.wikipedia.org/wiki/PC1512

Still, we could use most high level programming languages of the day, even though Assembly was still the name of the game for anything requiring performance.

I think many don't realize how much these modern tiny devices are actually capable of.

Re:Tiny PDP11 on an ESP32 by afandian on Sunday January 17, 2021 @08:12AM (#25810391)
There's hope! I found my esp32 board was just the right amount ready-made (especially with the Arduino ui) and flexible to get some meaningful toy projects for my child.

https://news.ycombinator.com/item?id=22691603

Though I suppose it gets harder with more than one child!

Re:Tiny PDP11 on an ESP32 by ljf on Wednesday January 20, 2021 @10:11AM (#25847298)
Cheers man - yeah 2 needing schooling, and my wife has long covid since the end of March - means not a lot of time for me, but soon I hope!
Re:Tiny PDP11 on an ESP32 by cbm-vic-20 on Saturday January 16, 2021 @08:45PM (#25807297)
That 1/6 scale VT100 is sweet!
Re:Tiny PDP11 on an ESP32 by codetrotter on Saturday January 16, 2021 @09:25PM (#25807491)
Agreed. I probably wouldn’t have noticed that there was more than one page if it wasn’t for your comment as I was only skimming over page 1.

All others coming to the HN comments make sure you catch the demo video on page 4.

Direct link to video: https://www.youtube.com/watch?v=jtmNOZVrz98

Also to the author of the page, if you see this: I would recommend putting the video embed at the top of page 1 so that it is the first thing that visitors see. Nothing beats a good video for me, and the video you made is very good. So best to put it first IMO and then people can read about the details afterwards.

Re:Tiny PDP11 on an ESP32 by Sprite_tm on Saturday January 16, 2021 @10:36PM (#25807851)
You have a good point... I always tended to write my stuff down chronologically, with the reveal at the end, but I'm not sure if in the age of 10-minute Youtube videos that still works well. I'll see if I can at least link the last page, so people without patience can go there directly.
Re:Tiny PDP11 on an ESP32 by ducktective on Sunday January 17, 2021 @05:24AM (#25809628)
Have you written a blog post about your dev machine? I see it is a thinkpad model. What distro are you using? Is that a tiling window manager? Are your dotfiles public? :)
Re:Tiny PDP11 on an ESP32 by Sprite_tm on Sunday January 17, 2021 @06:23AM (#25809866)
Nothing special - Thinkpad T470s, running Debian, with Awesome as a window manager and Kitty as my main terminal. No public dotfiles as I feel most of them are duct-taped together and perpetually in the precarious state of only being one apt-get update away from failing because of something deprecated I put in 15 years ago.
Re:Tiny PDP11 on an ESP32 by gtsnexp on Sunday January 17, 2021 @07:36AM (#25810203)
On a related note: what are you using for designing your 3d prints?
Re:Tiny PDP11 on an ESP32 by Sprite_tm on Sunday January 17, 2021 @08:35AM (#25810512)
OpenSCAD. Textfile in, 3d model out, just like I like it. As an indication: this is what I had to type in to get the VT102 model: https://github.com/Spritetm/esppdp/blob/master/case/vt100.sc...
Re:Tiny PDP11 on an ESP32 by ducktective on Sunday January 17, 2021 @06:52AM (#25810009)
Thanks, now for the cliché: vim or emacs?
Re:Tiny PDP11 on an ESP32 by Sprite_tm on Sunday January 17, 2021 @07:25AM (#25810156)
None. Mcedit. I'm not even kidding.
Re:Tiny PDP11 on an ESP32 by helsinkiandrew on Sunday January 17, 2021 @03:01AM (#25809061)
Love the case - but it needs a better keyboard!
Re:Tiny PDP11 on an ESP32 by woliveirajr on Sunday January 17, 2021 @10:36AM (#25811504)
> super-important tasks like payroll, bookkeeping and other beancounter-y tasks in a business.

And a whole new world was created when PDP wasn't just a "faster horse"

Re:Tiny PDP11 on an ESP32 by rswail on Sunday January 17, 2021 @07:14AM (#25810112)
I have an original PDP-11/5 front panel (and the remnants of the PDP-11 rotting in the garage. How hard would it be to wire it up?