197 points · by caned · 2y ago · 31 comments
A cheap $1 8-pin microcontroller (attiny, avr8, pic) could do the job of an LM555 without the LM555's required capacitors/resistors. But that's not as fun.
The big difference is that is much easier to program a microcontroller in software, than mastering electronics, specially when analogue circuits are evolved, and the only debugging tools are a multimeter, pen and paper.
1: https://shop.evilmadscientist.com/productsmenu/652
2: https://www.google.com/amp/s/www.instructables.com/Giant-555...
Video showcasing it: https://www.youtube.com/watch?v=SRdLlaUmmpM by it's original designer: Steve Chamberlin. :)
I'd be willing to bet that sprinkling in handful of bypass capacitors on the rails, and keeping those leads short, would get everything up to 4 Mhz. I don't think those leads are long enough, or have enough capacitance, to be the limiting factor.
On an 8086, you can get a modicum of protection by limiting your processes to the Tiny or Small memory model (thus a rogue 16 bit address can't easily "leak" out of their respective segments and clobber the kernel).
The Linux kernel requires a MMU for virtual memory support. Here a severly stripped-down version, μClinux, is used which doesn't support virtual memory and (hence) doesn't require a MMU, so any CPU with a 32bit linear address space (implying 32bit wide address registers) could be supported. At the very least a C compiler (supporting GNU extensions) for that CPU is needed.
Said that, there is ELKS (a subset of Linux functionality for 8086) and there is even a (memory-enhanced) C64 running a Linux VM (very, very slowly though).
The real limitation here is memory. Imho it says a lot about modern day software bloat that even an ancient 2.0 series kernel needs ~600KB (ROM/RAM combined). For what, really? That's already a lot of features & almost all hw drivers stripped from it, right? What's that remaining ~600KB code+data doing then?
[1] https://dmitry.gr/?r=05.Projects&proj=07.%20Linux%20on%208bi...