The 286 Gives Up One Of Its Final Secrets

Though it is largely forgotten today, the Intel 80286 was for a while in the 1980s the processor of choice and designated successor to the 8086 in the world of PCs. It brought a new mode that could address up to 16 Mb of memory, and a welcome speed boost over machines using an 8086 or 8088. As with many microprocessors, it has a few undocumented features, and it’s a couple of these that [rep lodsb] takes a look at. Along the way we learn a bit about the 286, and about why Intel had some of these undocumented instructions in the first place.

If you used a 286 it was probably as an end-user sitting in front of a PC-AT or clone. During manufacture and testing though, the processor had need of some extra functions, both for testing the chip itself and for debugging designs using it. It’s in these fields that the undocumented instructions sit, and they relate to an in-circuit emulator, a 286 with a debug port on some of its unused pins, which would have sat on a plug-in daughterboard for systems under test. The 286 was famous for its fancy extended mode taking rather a long time to switch to, and these instructions relate to loading and saving states before and after the switch.

The 286s time as the new hotness was soon blasted away by the 386 with its support for virtual memory, so for most of us it remains as simply a faster way that we ran 8086 code for a few years. They appear from time to time here, even being connected to the internet.

286 image: Thomas Nguyen (PttNguyen.net), CC BY-SA 4.0.

An Amstrad NC100 Has A New Purpose In Life

We’re used to laptop computers featuring flip-up screens; this article is being written on one and it’s probable you’re reading it on another one. But there’s another laptop form factor that has gained legions of fans ever since the days of the TRS-80 Model 100, the flat slab with no hinge and both keyboard and display on its upper surface. It’s surfaced most recently in the DevTerm, which inspired [0x17] to have a go at building his own. Instead of starting from scratch though, he’s chosen to use the shell of an Amstrad NC100 from the 1990s.

This series of Amstrad portables followed the company’s tried and tested course of repackaging decade-old technology for the consumer market, and were Z80-based machines that shared much with the company’s PCW series of desktop wordprocessors. The character LCD, mainboard, and keyboard were replaced with a modern LCD, a Raspberry PI, and a custom ergonomic layout keyboard with all associated modules and cables.

The result is undeniably a neat flat form factor laptop computer, and one we could see ourselves using. There may be some questions relating to the repurposing of a retrocomputer when the same result could have been achieved with a bit of CAD work and a 3D printer, but perhaps the machine should speak for itself on that.

Meanwhile this isn’t the first Amstrad laptop we’ve seen recently, the company also did some unusually-shaped PCs in the 1990s.

How Do You Build A Tradition?

I was struck by reading our writeup of the Zenit in Electronics contest – an annual event in the Slovak Republic – that it’s kind of like a decathlon for electronic engineers and/or hardware hackers. It’s a contest, in which students compete presumably initially on a local level, and then up to 32 at the national level. There’s a straight-up knowledge test, a complex problem to solve, and then a practical component where the students must actually fabricate a working device themselves, given a schematic and maybe some help. Reading through the past writeups, you get the feeling that it’s both a showcase for the best of the best, but also an encouragement for those new to the art. It’s full-stack hardware hacking, and it looks like a combination of hard work and a lot of fun.

What’s most amazing is that it’s in its 38th year. Think how much electronics, not to mention geopolitics, has changed in the last 40 years. But yet the Zenit competition still lives on. Since it’s mostly volunteer driven, with strong help from the Slovak electronics industry, it has to be a labor of love. What’s astounding to me is that this love has been kept alive for so long.

I think that part of the secret is that, although it’s a national competition, it’s possible to run it with a small yet dedicated crew. It’s certainly a worthwhile endeavor – I can only imagine how many young students’ lives have been impacted by the exposure to microelectronics hacking through the contest. Indeed, it’s telling that the current chairman of the competition, Daniel Valúch, was a competitor himself back in 1994.

I wonder if the people founding Zenit back in 1984 thought of themselves as creating a perpetual electronic engineering contest, or if they just wanted to try it out and it took on a life of its own? Could you start something like this today?

Air Filter DRM? Hacker Opts Out With NFC Sticker

[Flamingo-tech]’s Xiaomi air purifier has a neat safety feature: it will refuse to run if a filter needs replacement. Of course, by “neat” we mean “annoying”. Especially when the purifier sure seems to judge a filter to be useless much earlier than it should. Is your environment relatively clean, and the filter still has legs? Are you using a secondary pre-filter to extend the actual filter’s life? Tough! Time’s up. Not only is this inefficient, but it’s wasteful.

Every Xiaomi filter contains an NTAG213 NFC tag with a unique ID and uses a unique password for communications, but how this password was generated (and therefore how to generate new ones) was not known. This meant that compatible tags recognized by the purifier could not be created. Until now, that is. [Flamingo-tech] has shared the discovery of how Xiaomi generates the password for communication between filter and purifier.

A small NFC sticker is now all it takes to have the purifier recognize a filter as new.

[Flamingo-tech] has long been a proponent of fooling Xiaomi purifiers into acting differently. In the past, this meant installing a modchip to hijack the DRM process. That’s a classic method of getting around nonsense DRM on things like label printers and dishwashers, but in this case, reverse-engineering efforts paid off.

It’s now possible to create simple NFC stickers that play by all the right rules. Is a filter’s time up according to the NFC sticker, but it’s clearly still good? Just peel that NFC sticker off and slap on a new one, and as far as the purifier is concerned, it’s a new filter!

If you’re interested in the reverse-engineering journey, there’s a GitHub repository with all the data. And for those interested in purchasing compatible NFC stickers, [Flamingo-tech] has some available for sale.

The Chip Shortage Leads To The Strangest Things

The global chip shortage has not made the life of the electronic design engineer an easy one, as products have been designed around whatever parts are available rather than the first choices. This has manifested itself in some unexpected ways, including as [CNX software] investigates, products whose multiple-choice bill of materials has led to mistakes being made in manufacture.

On the face of it, designing a PCB with two sets of footprints to accommodate more than one part choice is a clever move. But as Radxa found out with their Rock 3A single board computer, this could lead to a production mishap as some boards left the production line with a mix-and-match BoM in their USB PD circuitry which left them unable to operate from voltages above 5 V. The board has footprints for both an Injoinic and a WCH part, and the faulty boards appear to have the support components fitted for the other chip to the one on the board.

We’d join [CNX] in congratulating Radxa for coming clean, and we like that one of the options to fix it is to be sent the chip to fit yourself. We’re left rather glad that it wasn’t us on whose watch such a mistake occurred, as from experience we know these things can happen all too easily.

Has the chip shortage led to any similar production mistakes in your life? Let us know in the comments.

Swarm Vs. Iridium: Which Satellite IoT Service Is Right For You?

In a world where it seems like everyone’s face is glued to a device screen, the idea that wireless service might be anything other than universal seems just plain silly. But it’s not, as witnessed by vast gaps in cell carrier coverage maps, not to mention the 70% of the planet covered by oceans. The lack of universal coverage can be a real pain for IoT applications, which is a gap that satellite-based IoT services aim to fill.

But which service is right for your application? To help answer that question, [Mike Krumpus] has performed the valuable work of comparing the services offered by Swarm and Iridium in a real-world IoT shootout. On the face of it, the match-up seems a little lopsided — Iridium has been around forever and has a constellation of big satellites and an extensive ground-based infrastructure. But as our own [Al Williams] discovered when he tested out Swarm, there’s something to be said for having a lot of 1/4U Cubesats up there.

[Mike] picked up the gauntlet and did head-to-head tests of the two services under real-world conditions. Using the same Swarm development kit that [Al] used for his test, alongside an Iridium dev board of his own design, [Mike] did basic tests on uplink and downlink times for a short message on each service. We couldn’t find specs on the test message length, but Swarm’s FAQ indicates that packets are limited to 192 bytes, so we assume they’re both in that ballpark. Iridium was the clear winner on uplink and downlink times, which makes sense because Swarm’s constellation is much smaller at this point and leaves large gaps in coverage. But when you consider costs, Swarm wins the day; what would cost over $1,500 with Iridium would set you back a mere $60 with Swarm.

The bottom line, as always, depends on your application and budget, but [Mike]’s work makes it easier to do that analysis.

Svelte VR Headsets Coming?

According to Standford and NVidia researchers, VR adoption is slowed by the bulky headsets required. They want to offer a slim solution. A SIGGRAPH paper earlier this year lays out their plan or you can watch the video below. There’s also a second video, also below, covers some technical questions and answers.

The traditional headset has a display right in front of your eyes. Special lenses can make them skinnier, but this new method provides displays that can be a few millimeters thick. The technology seems pretty intense and appears to create a hologram at different apparent places using a laser, a geometric phase lens, and a pupil-replicating waveguide.

Continue reading “Svelte VR Headsets Coming?”