How are these people finding VGA cables in the street :S I needed like 10 or so VGA cables recently for an art installation and asked everyone I could and nobody had any lying around... I ended up having to buy new ones which seems a shame considering how many are thrown away!
You would be surprised how much trash there is in the city around us, that you suddenly start noticing when you have a diy project. Let me share you some moments of my own with you.
I was leaving university campus with my buddies, talking about building magnetic card reader to check contents of my campus library card. Just as I was explaining magnetic heads to one of the guys I see a random cassette player few meters from us, in pile of illegaly dumped trash. Mid sentence I stop, grab and smash the radio open on the curb, pull out the magnetic head and continue talking about the said magnetic head. Guys were bewildered.
At other time I was watching a video about TV fresnel lens based lighting fixture, waiting for my date. After the date while taking the girl to the car I spotted a flat TV next to a dumpster box. Car was right across the street so I took the TV home. She quickly learned I'm no stranger to dumpster adventures. I had the light don't by the morning.
Almost 2 years before that I needed a short (30cm max) ac plug with wire to fix something in the workshop, and I remembered seeing a broken electric tea pot behind our local dumpster while taking out the trash, it was exactly the right length of wire, and awh better than I needed.
Recently, I was renovating something with my wife, and I needed a vacuum cleaner for the drywall sanding and other dust and spills related to that. Just few days after settingy eyes on karcher vacuum I find one in the dumpster as we were walking from the cinema back home. I opened it up next day and realized previous owner had thrown away brand new vacuum cleaner. They had not unpacked and set the filter, hair and piece of cloth got into the air sucking fins and got it stuck. I pulled the trash out, set the filter and voila!
Over the last 10 years I had many more situations like that :)
A million years ago, I spent two cold nights standing on my head in the driver's side footwell of my E36 BMW, installing an inexpensive Wal-Mart-sourced CodeAlarm remote starter to make my then-wife happy.
It worked great. It could even operate the door locks and roll the windows up with the fob (none of which sounds very special for a modern vehicle, but my car was not equipped with remote-anything from the factory so all of this was very nice).
Over a decade later, the fob got destroyed in an unfortunate boating incident. I was bummed. Replacements were available to purchase and I hemmed and hawed about buying one, or maybe upgrading to a fancier system, or just getting over it and continuing to use the key in the lock cylinder (like some commoner!) to lock and unlock the doors.
And then I was walking down the street in Bexley, Ohio, and I saw a broken laundry basket full of discarded things ("illegally dumped" things) on the curb. It appeared to have all manner of random household trash.
But on the top of that basket of stuff was a plastic clamshell. And inside that clamshell was an identical remote starter kit -- exactly the same as the one I'd bought forever ago.
It was unopened.
A few careful slashes with my pocket knife later, and I had a new remote. Even the ancient tiny little 12V (A23) alkaline battery still worked -- and kept working for months. (I left the rest of the trash where it was.)
Sometimes the universe does provide for those who keep their eyes open.
(Pairing the new remote was interesting because it involved operating the brake pedal switch while the car was turned off, and the E36 turns off the brake light circuit completely when the car is turned off... But those are just BMW problems. I got it sorted.)
I loved this because last year we spent days redoing electrical and wiring new engine (2.8) into friends E36, including radio code and remote install, some vintage god knows how old setup ge found in local Craigslist equivalent, perhaps even the same kit as you had. Love the simplicity of older cars like e36, but I still prefer my E34's - except for window raisers and few other details, surprisingly little electronics to maintain.
She was at the front like some sort of living maidenhead while I leisurely rowed at the back with the entrenching tool that I kept in the car, one evening at an outdoor music festival somewhere in the Midwest. It was all very beautiful; the girl was beautiful, the sky was beautiful, the music was beautiful, and the place itself was beautiful; everything was approximately perfect. There was such a profound feeling of rightness as the sun set, and I wished it would never end.
Except: I had to pee.
So I stood up to take care of that and the stolen canoe simply went sideways. My entrenching tool disappeared (along with one of my sandals, and the boat itself), the girl went for a swim, and most importantly my key fob got drenched.
We swam to the nearest shore and hiked back through the dense young trees and brush using the flashlight on my Galaxy S5.
Once we got back to camp, the phone died for real.
It was all very much a bummer in a great number of ways.
The next day some kids there found and recovered the boat and my missing sandal.
We didn't make it, she and I. But several months later, that dead S5 came back to life like nothing had ever happened.
Yep. For all of the complexity they were popularly renowned for at the time, that era of bimmer is ridiculously easy to diagnose and fix, and generally all very well-documented. It has weak spots (like the entirety of the cooling system), but they're all well-known and understood. The rest is solid.
And because every part is indexed in the BMW ETK, it's simple (and actually usually very cheap) to find very high quality parts from the original source using BMW part numbers, and sidestep the usual quagmire of globalized aftermarket trash that AutoZone sells.
It's a whole different way of doing things compared to, say, a Chevy or Honda of similar vintage.
Unfortunately, some of use are not so lucky, at least I am not, haha.
I got the idea to tinker with satellite dishes to make a simple radio telescope. I remember riding around and constantly seeing old DirectTV satellite dishes constantly on the side of the road for trash. Before this idea. So I figured, oh, I can easily get my hands on one. As soon as I committed to that project, I never saw a single satellite dish sitting by the street as I rode around.
If it makes you feel better you probably would not have been able to just pick up the dishes and use them without buying extra parts. I had DirectTV and when I cancelled they came and took the feed horn off the satellite dish but left the rest of the dish. I’m not sure how much a feed horn would cost but at least the dish wouldn’t have been immediately usable. I also was interested in making a radio telescope but gave up when I realized DirectTV took that part of the dish
Back when wardriving was a more popular pastime (and before the ISM bands got clogged completely up with everything), I wanted to play around more with long-range 802.11b/g signals.
I scored an old Primestar dish and LNBF. This was the easy part: I just talked to one of the guys at a small local company that dealt with things like consumer satellite, and asked nice. He was curious what I wanted to use it for (Primestar was dead by that point), so I told him, and he thought that was a fun idea so he gave me one or two that he had kicking around in the shop.
The idea was to toss the LNBF and put a biquad antenna made from wire at just the right spot where the parabola focused. It seemed easy enough, but my fabrication skills 20 years ago were lacking, and I didn't have any measurement gear beyond a multimeter and a tape measure, so the project never went anywhere.
But nowadays, with modern accessible CAD and 3D printing and sendcutsend and JLC and SDR dongles and Harbor Freight and everything else? With the RF gear I either own these days, or have access to? Yeah, I'd probably be able to make it work. I might even be able to turn a new feedhorn on my buddy's lathe to increase efficiency. FFS, there's probably already parametric models out there for OpenSCAD that just do this thing.
It seems much, much more do-able with today's resources than it was back then.
Except, also these days: If I wanted a big parabolic wifi antenna, I'd probably just buy one that was made in a factory...and use it. :)
There were more dates, including illegal aquirement of shopping cart on her side for me (she drove it in public transport across half of the city during night), stop sign from me to her (new, unpacked, found on a construction site, NOT removed from street!) and broken fire extinguisher from her again (saw a pile behind a local stadium and somehow got through the fence).
My wife is not the same lady, she prefers store bought items, however she does appreciate my resourcedulness. As a well paid professional and somewhat functional member of society I have minimizedy trash utilization activities (I lack space in our new town).
I don’t mean to boast but I’m kind of a big deal—I was able to get 3 shopping carts off the free section of Craigslist when a local food bank discarded them. One awesome part about living here in the Seattle suburbs is excellent free stuff that doesn’t even require larceny to obtain.
My wife is tolerant of these activities too but prefers I stay out of dumpsters. How dare she ;)
Yes, according to a llm. He had a particularly touching moment repairing a broken drone he found with his son. Shortly after the story took a dark turn with the cancer diagnosis. As the condition worsened, he made an effort to document his projects, scavenging 3D printers, partly as a manual and partly as a diary. "The knowledge that my kids would have these memories and skills to carry forward, and perhaps pass on to their children, made the days feel meaningful."
Not what I was expecting. Perhaps the model was not a reliable source.
I must disappoint, it is a daughter and she's too small to catch the neighbors kid drones. No cancer either thankfully, but I am writing a sort of life manual/family journal for her. I think it's pretty common thing today. Wife is doing the set up email. For child and mail her thing. No 3D printers harmed yet, but I did ruin one light show galvos to make a plotter, hehe.
This is becoming less common among electro-trash as SMD rules the day instead of larger, more discrete, more easy-to-separate components. For example, try pulling anything useful - camera lens, buttons, memory, ICs, anything - from any mobile phone tossed away.
Yea, most of tech is not human size anymore. Still, some things can be repurposed in high tech workshop with a lot of skill. For example Optical Pickup Unit from Blu ray for laser scanning microscope.
My personal favourite save is a Bosch dishwasher that was kerbside. The drain motor was stuck, had melted plastic around the impeller. I have it in my workshop but it’s better than the one in the house.
Dishwashers, washing machines, dryers, threadmills, all have common issues and fairly simple fixes, if spare parts are available. I'm actually surprised there aren't general purpose boards, electric motors, heaters pumps etc out there that could be just swapped in. As long as the enclosure is in presentable state, that is
I found a place* that repairs appliance control boards. They replace the caps and relays and then reflow the whole thing. They give a 2-year warranty, which is 24 times what you get buying a new board. FedEx the board to them, they turn it around in a day and FedEx it back. We no longer dread the oven throwing errors at Thanksgiving, etc.
* Circuit Board Medics, but I understand there are others.
I recently came across a slew of replacement boards that basically completely take over your washing machine and runs it. Some Chinese generic stuff that is meant to install in any machine missing its original control board.
The Bosch dishwasher has a kind of a plastic brain on one side as well, a labyrinth of water that sets off certain things in the washing cycle. It's neat!
Someone had abandoned a vacuum cleaner identical to my own (10+ year old) model from a not so common make in the ground floor lobby of my apartment block. It was surreal walking past it for months, just sitting there alone in the corner.
My own vacuum cleaner was missing an attachment, but I never touched the abandoned one because I wasn't sure whether it was truly abandoned.
A few weeks later I found the same cleaner had gone missing, checked the dumpster - yep, there it was. Fished it out and now I have a complete set of attachments again.
They do the same in the buildings here, I started leaving note on things "I'll take this in 10 days if you don't needed it, my num is:xxxxxx". No complaints so far
> Mid sentence I stop, grab and smash the radio open on the curb, pull out the magnetic head and continue talking about the said magnetic head. Guys were bewildered.
In what world is this acceptable to take some trash and make the trash situation worse by bashing it apart in the street?
Wasn't much worse though, I cracked it open in two main parts (front face fell off, exposing cassette decks), and put it back on pile. You couldn't tell a difference. I would not make a bigger mess than it already is.
The thrift stores in my area have tonnes of VGA cables.
If you're the type of person who regularly visits thrift stores, taking the time to go through the cables and wall-warts is worth it. The staff don't know what they have and everything is priced more-or-less the same. You can end up getting some quality and rare cables for a pittance. It is one of the few sections of modern thrift stores that feel like thrift stores of old.
A hill I will die on is that tech products should just stop bundling cables, for anything, with the possible exception of unit-specific power adapters. A while back I purchased a KVM switch - it came with 3 DP cables, which went straight into my e-waste box. I've also seen office fit-outs where mountains of cables that came with monitors went straight from factory to landfill because they were the wrong length.
I understand some of the reason it happens - it's not a great experience to buy a product and then be unable to start using it immediately because you don't have the right cables. And there are a lot of low-quality cables out there which might have the right connectors but not actually work - I bought at least 3 different 5m DP cables before I found one that reliably worked at 4K. But surely that can't justify the literal mountains of e-waste the practice creates.
Sadly I don't think it'll ever change without regulation.
> possible exception of unit-specific power adapters
No. Unit-specific power adapters should not exist. Either put a USB-C or a 120v/240v AC connector on the device, depending on power requirements. It's really not that hard.
Note: it must be connector, not a fixed cable. I.e. an IEC C8 or C14.
I agree in principle, but I think there has to be some room for exceptions here. Some portable devices like smartwatches are too space constrained for USB-C and some devices might use too much power for USB-PD but still be too small to include the power supply internally. Also, some of my synth gear uses a locking barrel connector, which I think is a better trade-off than a locking USB-C connector because it can be locked and unlocked faster.
Bundled power bricks are also much less likely to directly be e-wasted without being used.
This might apply to (most) IT devices. But there are devices that require 24 V, or 48 V, or any other voltage that USB-C can't supply, and that for various reasons (space, EMI, possibly even compliance with some safety regulation) can't contain an integrated power supply unit from 120/230 V mains. Of course this should be an exception and most consumer devices can definitely work with the regular voltages and currents that USB-C can supply.
It's a bit silly IMO, but USB PD EPR _can_ support 24v and 48v- for charging laptops, I believe. The day I see a server rack with a pair of USBCs plugged into it is a far day off I hope though.
Didn't know, thanks for the info... I still have to see a power supply capable of delivering those voltages on USB-C though. All the ones I've seen can output 5V, 12V and 19V.
> But there are devices that require 24 V, or 48 V, or any other voltage that USB-C can't supply, and that for various reasons (space, EMI, possibly even compliance with some safety regulation) can't contain an integrated power supply unit from 120/230 V mains.
Totally agree. Using something like USB-PD that has voltage negotiation on the wire might increase the price of some appliances (especially those that have just minimal electronics inside), but a standard connector (like just a barrel jack?) would already be nice thing!
A really bad one now is devices providing crappy power only usb micro cables, very often these will still have the 4 pin head. I've started instantly binning them to avoid situations where I need to transfer data and can only find these ones lying around
Yes, and I think they did that for relatively cynical reasons -- as a handout to the Best Buys of the world who would then be able to attach a 90% margin "Printer cable" at $29.95 to your $50 Black Friday special inkjet.
I suspect the reason why this didn't go on to become standard across all classes of device, is because since 2010 or so, the average or median margin on accessories has cratered thanks to Amazon Marketplace sellers. You could realistically end up needing to buy a Belkin $30 printer cable in 2005, unless you'd heard of Monoprice. Today by contrast if you just search Amazon for it, you'll have one for $4.94-$6.49 delivered within 2 days. If margins were still what they used to be on cables and stuff, I think you'd have a strong incentive for places like Amazon and Walmart to pressure suppliers to make cables a la carte (officially for environmental reasons, but also, for great profits, lol)
You won't die alone on that hill. I think it's a great thing that many phones no longer ship with chargers. The mild inconvenience of having to buy a separate charger should not outweigh the reduction amount of waste we produce with new chargers.
Brazil has made it illegal to sell a phone without a charger which IMO is a total step backwards. If anything, it should be illegal to not give the option to unbundle cables from the package.
I save at least one example of every kind of computer, RF, or AV wire, but I only keep what I deem to be current-gen for my own world. The stuff that doesn't make the cut get sold by the pound periodically at a local scrap yard after I prep them by snipping the connectors off, which generates a meaningful amount of folding cash -- enough for a coney dog and some ice cream from around the corner, anyway. (Rules vary; the scrap yard near me is very happy to buy deconnectorized insulated computer-ish cables. Some might buy them with the connectors attached. Some might not want this kind of wire at all.)
I like having what I might need on-hand, but I also dislike the notion of hoarding. I try to keep it balanced.
Sometimes, this bites me. I hadn't use a VGA cable for years during the last culling so they all got recycled, and then I needed one a few months ago for an old Compaq server. I found a beige HD15 cable at work that functioned well-enough, but it was a blurry mess (real VGA cables have coax inside, and this cable did not).
I even ran out of bog-standard IEC computer power cords a couple of years ago and had to -- you know -- actually buy one. I never thought this would be a possibility.
At some point, you have boxes and boxes of stuff that may contain something that might be useful someday on the off-chance that you can actually find that thing when you need it. I'd love to connect everything to the person--including future me--who would find it useful (or thinks they would in the moment) but it's often not practical.
> I'd love to connect everything to the person--including future me--who would find it useful (or thinks they would in the moment) but it's often not practical.
It actually amazes me that this isn't a well-solved problem by now. We've got various marketplaces for used items (eBay, CL, FB Marketplace, etc.) and we've got various rental/sharing platforms for niche things (Uber, Airbnb, etc.) and those are decent for what they are, yet somehow the inherent inefficiencies (effort to list an item, effort to discover an item, platform fees, etc.) suggest that there is a lot of room for improvement.
It's kind of like how scheduling assistant features/products, such as Calendly, offer a massive improvement over writing messages back and forth along the lines of "send me your availability," yet a verbal/synchronous discussion isn't nearly as bad as written/async, since it gets you across the finish line quickly despite many round trips, so lots of people are fine doing that instead of using efficient tools, so there's no mass adoption/demand.
It's just hard to get away from the transaction costs associated with exchanging low-value physical goods over distance. A swap meet with a local electronics club? Sure. But selling individual items on eBay? Not so much.
There were a bunch of ideas associated with the early Web like sharing tools and so forth that just don't make sense outside an informal neighborhood "economy" (and often not even there).
I feel like a lot of major urban centers have "that" store whose entire business model is collecting electronics from failing businesses and then selling that. Great way to get a bunch of extremely underpowered Windows laptops or Android tablets. Terrible computing devices in general but if you're lucky it'll work well enough.
Allegro is full of refurb mini PCs, mostly Dells. It is complete computer for less than $100 [0], like https://news.ycombinator.com/item?id=40697831 says, it is very hard to beat it in terms of value.
That said it is much harder to get nice notebook/tablet, the wear and tear is very visible on screens/keyboards.
[0] to my surprise the one I grabbed had an internal mono speaker(not beeper) somewhere in the case.
Any business with an IT department should be drowning in them. Monitors still ship with VGA cables even though they are rarely used. So if you know anyone in a smaller IT dept that doesn't have really draconian rules over assets they would be more than happy to give you a pile of them.
I get most of my “old” tech by volunteering community computer refurbishing places. Good way to meet people and stock up on tech supplies at the same time!
I think that applies to most cables, BTW. Always look in thrift stores first if you can afford to spend some of your time in exchange for reducing ewaste! (In Japan you're guaranteed to find boxes full of old and some new VGA cables at any Hard Off store.) If you don't have time but don't mind some time lag, you can buy used ones from ebay or similar. (E.g., search for 'vga cables lot')
Where I live I can only find discarded beer cans and (used) Costa Coffee cups, and inverted broken umbrellas, because itś windy. These people must live in a nicer part of a nicer city ;-)
BTW, in which city can I find a discarded DEC V230/240 or 330 terminal on the street? I need it as a reference implementation of Tektronix graphics ate ReGIS. I promised the VTE crowd I'd work on that.
Lot of people keep/store old cables. I personally have several hundred cables of various types collected over the years put away in couple of plastic crates. Sometimes I find them at work that are just sitting in boxes waiting to be thrown away or just extra cables that come with monitors or other devices. They come in handy for projects or when I’m tinkering with old hardware.
In every city I lived there were either some local recycling facilities/organizations where you can buy old things dirt cheap. So not really found in the streets but easily findable.
Also second hand market offer a lot of obsolete stuff for very little money.
I was considering doing something like that for an Amiga, running AmigaOS 3.2. It's a cute idea, especially once you 3D print a shell that looks like the original (shrunken down).
I do think that the lack of an old school floppy drive means that something is kinda missing from the experience, but I do like the idea of having a machine dedicated to running this instead of just firing up an emulator on my existing desktop PC. (Edit: And I love how this MicroMac project isn't just "running Linux and an existing emulator" but actually trying to go lower level, essentially the RP2040 acting as a 68k)
A500 Mini isn't as cool IMO. It's just a generic arm board running linux with an Amiga emulator. The keys don't even work. May as well just use a Pi or a PC.
Indeed. It's just a cash-grab device exploiting nostalgia.
The software it uses, amiberry, is open source and was made for the more powerful, useful and common Raspberry Pi boards. Getting one of these is a much better idea.
I wouldn't go _that_ far because the case, mouse, and controller are actually really good quality. But yeah, the bundled games are a bit underwhelming and ultimately it's just a Linux/Emulator box.
I wish someone would make an Amiga shell for a Raspberry Pi that's quality like that. I can 3D print my own, but injection molded plastic is still a quality level above.
Yeah, I have one, and the keyboard being non-functional is a real bummer. It's a neat mini console (especially once you add some additional games), but I wish they would make a version with a working keyboard, like they made TheC64. But the quality of the case is great, and the tank mouse definitely is the way to use workbench)
We need doubly-curved OLED screens. We can already do Trinitron (cylindrical) ones with the flexible displays we have.
It is an interesting problem, though. I noticed in Disney's Loki, they used a combination of VFX and lenses on top of flat panels to give the impression they were using CRTs (notably in their ADM-3 lookalikes). For a 9~14" CRT it'd be a fairly large lens that would need to be optically connected to the panel below (so not to have internal reflections).
CRTs were emitting an electron beam to draw images on a phosphorescent screen, not emitting X-rays: https://en.wikipedia.org/wiki/Cathode-ray_tube
Blasting X-rays through a screen to the face of an observer would not have been a good idea…
Although X-rays are not used to draw the image, they are generated as an unwanted side effect. The phosphorescent screen emits X-rays when struck by the electron beam. To protect the user, the glass must be a special kind of glass to absorb those X-rays, and the accelerator voltage has to be set not too high.
CTRL-F for "X-ray" gives me 1 result, "-ray" gives me 13 results ;)
Absolutely agree that X-Rays are generated in the phosphorent screen, but they are not emitted by the CRT.
> […] and the accelerator voltage has to be set not too high.
Yes, with electrons only so high that they reach the screen, which is low enough to only generate very minor secondary X-rays in the screen, which is then nicely shielded. If the phosphorous screen would be blasted with X-rays, the shielding of the screen would need to be much thicker and expensive.
(I’m working with shielded microCT machines, so speaking with a bit of experience)
With a 4K display and HDR, we can actually do really decent CRT emulation. It seems a bit ridiculous to need 4K/HDR to emulate 40 year old display tech, but you need the resolution to do the aperture grille in a way that's small enough to work, and you need HDR for that phosphor glow.
The Retrotink 4K has been pretty eye opening (and eye-watering, given the $750 price tag) in terms of where we are with CRT emulation these days.
This is a really impressive project! It was a fun read. Thanks for sharing! I like this writing style.
> As an aside, I try to create a dual-target build for all my embedded projects, with a native host build for rapid prototyping/debugging
I find myself doing the same thing on my embedded projects, including at my job. I actually find myself using the PC build much more frequently than the hardware for my day-to-day work now that the hardware layer is stable and tested. More people should do this!
Sorry, I somehow missed your comment until now. Didn't get any notifications. I tend to do it more like what you first said, mocking low-level calls.
I typically put all hardware-specific code for one platform into its own directory. Then I can have multiple directories for different hardware implementations, like MCU #1, MCU #2, and PC. I just implement the same API in all three. It's basically just a HAL. Each build only compiles one of those directories -- the one that matches the architecture I'm building for.
For example I might have a function that does an SPI transaction. On the two hardware builds it will actually communicate with the SPI peripheral in the MCU, but on the PC build it will talk to something I've written to pretend to be the SPI device. So it does take a little bit of up-front work writing code that pretends to be the various devices. In some ways you could call that an emulator, but not in the way you were asking I think.
You can make it as simple or complex as you want to. You could do a full-fledged object-oriented SPI class in C++ (or "class" in C), with different class implementations for different hardware builds. Or you could just make a single function that does SPI stuff and reimplement it for each hardware build.
In one case I have a Qt GUI that pretends to be the UI for the device so the PC hardware-specific code ends up providing its own main() and runs the actual shared codebase in a separate thread. So that particular codebase has a provision to rename the shared main() to not actually be main() on the PC build so it plays nicely with Qt needing to actually provide main().
One downside is you won't catch certain bugs on the PC. There have been a few bugs that slipped past because the hardware build was 32-bit but my PC build was 64-bit for example. But those errors are fairly rare. I probably should be doing the PC build as 32-bit to make it more similar anyway. Still, it wouldn't catch every little problem that might pop up on hardware. It definitely accelerates my productivity though!
I had a Saturday job at a computer shop when the Mac came out, and we got one as a demo. I remember just staring at the genius of those rounded corners in the corners of the screen, and thinking how beautiful it was that they'd thought of that.
On my first actual job, we did that with Apple II software. You don't only lose the corners, but you need to lose a whole column of pixels to make the rounded corner work on a checkered background.
I feel like this is missing a link to spritesmod[0], which might use a little bit of a bigger platform (esp32) but a functional Mac plus that fits in your palm is absurd.
I would never have thought you could do what OP did, rp2040 looks way too small, amazing work!
It makes me wonder what the smallest/barest SBC one could get away with for emulating the last 68k Macs or average mid-to-late 90s PPC Mac at full performance might be. Retrofitting a modernish laptop body of some sort with one of those so it would be capable of running System 7.6.1 up through Mac OS 9.x could make for a surprisingly useful "zen mode" laptop.
Holy cow. I took a stab at hacking vMac to run on an ESP32 and gave up (it’s been done on some models, but not on the one I had handy), but this is several levels above and beyond.
It's a shame monitors don't provide 5V from pin9 of the VGA connector... Would be nice to be able to power things from the monitor connection. IIRC, SCART provides +9V.
Pin 9 is there to power the EEPROM in the monitor fromthe computer even when the monitor is turned off, so monitors providing 5V there would lead to same kind of problems as there are with DisplayPort pin 20 and cheap cables that connect this pin through (which would be correct for DP 1.0, but there are no DP 1.0 products).
Why not store emulated RAM on disk and get the full 512KB experience? Killing the drive from overuse?
Surely the flash speed of the RP2040 surpasses the RAM speed of the original Mac.
That is cool, I'll give it a go. It could be made workable for something like a JIT or interpreter (like the MicroMac). Could it be added to the RP2040 address space and used as a native load store target?
The neat thing about the ESP32 chips is you can extend their internal memory with external SPI PSRAM chips.
Yes. The biggest limiting factor for “cheap” is building around a CPU with a supported GPU. A second hand RX 4xx/5xx series card is a good pick if you can’t find a chip with supported iGPU.
I’m asking out of genuine curiosity - what are the reasons you’d want that, other than a fun project? There’s so much hardware integration in the stack of a modern Mac that it would feel a little hard for me to even say a hackintosh was a Mac.
I see posts every day of people successfully hackintoshing various PCs. It's a great operating system. And it has all the software that the free alternatives lack.
If I couldn't afford the hardware I would definitely get a hackintosh. One weekend of suffering to get it working, vs a lifetime of suffering with Linux.
Now I'm thinking about the creative misuse of (non-existing) technology.
From the numbering scheme, the "4" in "RP2040" is log2(ram/16K). If we wanted to emulate a Lisa, we'd need 1MB of RAM, which would mean, at least, an RP2060 chip (log2(1024/16) = 6) or, more comfortably, an RP4x70 or RP2x80). Those parts, unfortunately, don't exist yet. Maybe they get inspired with their IPO and start making those parts.
Yeah, that's what sets the RP2040 apart from other micros. I think of it as being analogous to the recent advent of "software-defined radio" -- the RP2040's PIO are fast enough to allow for software-defined Composite video, software-defined VGA, software-defined DVI, software-defined USB, etc etc etc.
What other micros are you talking about? STM32 can easily do it (I suspect that any ARM based micro can), and I've seen some vga libraries for ESP32. There's not much special about the RP2040 other than it's price and brand name.
On other typical 32b MCUs you end up doing this kind of bitbanging purely from software, while RP2040 has the PIO which is kind of programmable bitbanging accelerator. Similar hardware blocks in other MCUs are either single-purpose (think USART), or much more limited and mostly only found weird automotive parts.
I spent two hours trying to get hello world working on stm32 , on a pi it takes two minutes. its about barrier to entry not about quality of hardware. Same thing when Arduino came out people was saying so what its just an avr or whatever.
Why not base it on ESP32? You can emulate multiple OS-es, including Commodore VIC20, MS-DOS, Windows 3.0, Linux ELKS - all using FabGL: https://github.com/fdivitto/FabGL
> The day I started soldering it together I needed a VGA connector. I had a DB15 but wanted it for another project, and felt bad about cutting up a VGA cable. But when I took a walk at lunchtime, no shitting you, I passed some street cables. I had a VGA cable – the rust helps with the janky aesthetic.
Unless you want cycle-accurate interfaces, it's pointless. Software can provide more than good enough performance and be a lot more flexible at that.
As microcontrollers get faster, the cycle-accurate timing becomes less relevant, as you can still match external timings with software and have the support of an RTOS to help with that.
E-ink can have better refresh rate than the LCD of a Mac Portable. And would also be readable.
Would be interesting to see how the ROM deals with changes in display geometry (the Portable wasn’t 512x284) - how hard would it be to make a 1024x768 portrait Mac or some other versions that never existed.
Something like this that could run the latest macos would be amazing.. I am disgusted by having to buy a mac just so I can build to iOS. That kind of thing should be illegal.
I tried that a while back. It's not a great option just for builds. It only supports dedicated instances, with a minimum lifetime of 24 hours. That means it'll cost you a minimum of about $15 to use one. In addition, you can't stop and start them. If you want to stop paying $15 - $37 per day for it, you have to delete the instance.