The Golden Age Of Ever-Changing Computer Architecture

Given the accuracy of Moore’s Law to the development of integrated circuits over the years, one would think that our present day period is no different from the past decades in terms of computer architecture design. However, during the 2017 ACM Turing Award acceptance speech, John L. Hennessy and David A. Patterson described the present as the “golden age of computer architecture”.

Compared to the early days of MS-DOS, when designing user- and kernel-space interactions was still an experiment in the works, it certainly feels like we’re no longer in the infancy of the field. Yet, as the pressure mounts for companies to acquire more computational resources for running expensive machine learning algorithms on massive swaths of data, smart computer architecture design may be just what the industry needs.

Moore’s law predicts the doubling of transistors in an IC, it doesn’t predict the path that IC design will take. When that observation was made in 1965 it was difficult or even impossible to envision where we are today, with tools and processes so closely linked and widely available that the way we conceive processor design is itself multiplying.

Continue reading “The Golden Age Of Ever-Changing Computer Architecture”

This Week In Security: More WhatsApp, Nextcry, Hover To Crash, And Android Permissions Bypass

There is another WhatsApp flaw, but instead of malicious GIFs, this time it’s malicious mp4 files. Facebook announced the vulnerability late last week. An update has been released, so first go make sure WhatsApp is updated. Facebook’s advisory is a bit light on the details, simply saying that a “stack-based buffer overflow” was possible as a result of “parsing the elementary stream metadata of an mp4 file”.

Shortly after the bug was announced, a GitHub repository popped up, with a claimed proof-of-concept mp4 file for CVE-2019-11931. (Thanks to [justtransit] on Reddit for the link.) I can’t easily test the PoC file, but we can take a look at it to see what the vulnerability is. What tools do we need to take a look? A hex editor is a good start. I’m using GHex, simply because it was available and easily installed on Fedora. Continue reading “This Week In Security: More WhatsApp, Nextcry, Hover To Crash, And Android Permissions Bypass”

Building A Front Panel For The RC2014 Computer

The RC2014 is a slick Z80 computer kit that’s graced these pages a number of times in the past. It allows anyone with a soldering iron and a USB-to-serial adapter to experience the thrill of early 1980s desktop computing. But what if you’re looking for an even more vintage experience? In that case, this custom RC2014 front panel from [James Stanley] might be just the thing to scratch that Altair itch.

The front panel allows you to view and alter the contents of memory with nothing more complex than toggle switches and LEDs, just like on the early microcomputers of the 1970s. If you’ve ever wanted to learn how a computer works on the most basic level, single-stepping through instructions and reading them out in binary is a great way to do it.

[James] says he was inspired to take on this project after reading a 1978 issue of Kilobaud Magazine (as one does), and seeing an article about building a homebrew Z80 machine with a front panel. Obviously he had to modify the approach a bit to mate up with this relatively modern variation on the venerable CPU, but the idea was essentially the same.

His documentation for the project is sure to be fascinating for anyone enamored with those iconic computers of yesteryear, but even readers with more modern sensibilities will likely find some interesting details. The way [James] coaxes the data and various status states out of the kit computer takes up the bulk of the write-up, but afterwards he talks about how he designed the PCB and wraps up with his tips for creating a professional looking front panel.

This isn’t the first time we’ve seen a modern Z80 computer kitted out with blinkenlights, but it’s certainly one of the most professional looking. If you combine the RC2014 kits available on Tindie with the details provided by [James], you’ll soon be learning the fine art of programming a computer with toggle switches.

Continue reading “Building A Front Panel For The RC2014 Computer”

Time Sync Through Your VGA Connector

While it might be in its twilight years, the venerable VGA video connector conceals a versatile interface that  can still provide the experimenter with the opportunity for a variety of hacks. We’ve not seen anything quite like [flok]’s one, in which he uses the VGA interface to insert timing information from which an NTPd instance gets its reference.

If this seems counter-intuitive because a VGA interface is an analogue output rather than a digital input, then you are correct to smell a rat. And he comes clean in his first sentence, as he’s not using the VGA lines themselves but the I2C interface that is a feature of all but the most basic of VGA cards. This is the means by which a plug-and-play operating system can identify a monitor’s capabilities, but there’s little to stop it being used for other purposes. In this case an Arduino fed by a 1-pulse-per-second timing signal from a temperature compensated crystal oscillator provides the I2C peripheral which is polled by NTPd.

This project should be of interest to any tinkerer because of its invaluable information on identifying and using the I2C interface on a VGA socket. So if you’ve used your VGA card as an SDR you might find it interesting, but hurry or you could have missed the boat entirely.

VGA plug image: Swift.Hg [CC BY-SA 3.0]

3D Print Your Very Own Mechanical Computer

Most Hackaday readers are familiar with computers from the 70s and 80s, but what about ones even older than that? The Digi Comp 1 was a commercially available computer from the 1960s that actually cost less than a modern-day microcontroller. The catch? It was mechanical rather than electrical. Thanks to retro-wizard [Mike Gardi], now anyone can build a replica of one.

Admittedly the Digi Comp 1 was more of a toy than a tool, but it was still a working computer. It contained three flip-flops (memory) and had a lever that acted as a clock, allowing the user to perform boolean operations and some addition and subtraction. Certainly not advanced, but interesting nonetheless. [Mike]’s version of the Digi Comp 1 has an extra bit when compared to the original and includes some other upgrades, but largely remains faithful to the original design.

If you want to print one of these on your own, [Mike] has made all of the files available on Thingiverse. He has also experimented with other mechanical computers as well, including the sequel Digi Comp 2. We’ve seen some recent interest in that mechanical computer lately as well.

Continue reading “3D Print Your Very Own Mechanical Computer”

Raspberry Pi NAS Makes Itself At Home In Donor PC

It’s safe to say that most of us have at least one Raspberry Pi hanging from a USB cable someplace, silently hammering away at some unglamorous task that you’d rather not do on a “real” computer. With as cheap as they are, it’s not like there’s a big concern about where it sets up shop. But if you’re like [Jeremy S. Cook] and want your $35 Linux computer to be a permanent member of the family, then his tips on turning an old PC into a gloriously overkill Pi NAS may be of interest.

The main component [Jeremy] salvages from the old Lenovo desktop PC is, obviously, the case itself. Stripped of its original components, the case gives him plenty of room to mount the Pi as well as a couple of hard drives and a powered USB hub. To prevent the bottom of the Raspberry Pi from shorting out against the metal computer case, he designed and 3D printed a mount for it. Everything else is held down with hook and loop fastener, making it quick and easy to move things around and make adjustments.

While it might not be strictly necessary, [Jeremy] also took the time to salvage the computer’s old heatsink. Being far too large to fit on the Pi as-is, he ran a line down the back of it with his mill and snapped it in half. He uses a bit of thermal tape to hold the bisected heatsink onto the Pi’s SoC, with a couple pieces of electrical tape to make sure it doesn’t short out on anything.

Raspberry Pi NAS builds are exceptionally popular, and we’ve seen more than we can count over the years. You can build one out of parts from IKEA, and if you don’t mind plastic, you can always 3D print the whole thing. If you really want to go minimal, you can even hang some files on the network with little more than a Pi Zero stuck into a USB port.

Continue reading “Raspberry Pi NAS Makes Itself At Home In Donor PC”

Amstrad Portable Gets A Modern LCD Transplant

Playing classic games on the real hardware is an experience many of us enjoy, but sometimes the hardware is just a bit too retro for modern sensibilities. A case in point is the miserable monochrome LCD that was originally installed in the Amstrad PPC640 portable 8086 PC that [Drygol] recently picked up. He decided that his portable Amstrad sessions would be far more enjoyable if he swapped it out for a display that didn’t have 30+ years on the clock.

To quell the complaints of any of the vintage hardware aficionados out there, it’s worth mentioning that the original LCD was actually damaged and needed to be replaced anyway. Granted [Drygol] could have tried to find a contemporary panel to replace it with, but looking at the incredible before and after shots of the modded PPC640, it’s hard to argue he didn’t make the right decision by throwing a modern display into the otherwise largely original computer.

Getting the new LCD’s PCB ready for installation.

[Drygol] says he picked up a cheap 4:3 LCD TV on eBay, and as luck would have it, found that the new panel dropped perfectly into the original frame. Getting it buttoned back up required the removal of the RF can and all the female connections on the TV’s PCB, plus he had to cut some holes in the back of the display enclosure to mount the LCD’s controls, but overall it looks very stock.

Of course, getting the new LCD display in the original frame was only half the battle, it still needs to be connected up to the computer somehow. To get everyone playing nicely with each other, [Drygol] is using a commercially available MDA/CGA/EGA to VGA converter that is installed where the batteries would have gone originally. Wired to the PPC640’s external monitor connector, it allows him to drive the new display without having to use the original LCD interface.

[Drygol] has made something of a name for himself by performing some of the most impressive restorations and modifications of retro hardware in recent memory. From the unbelievable work that went into repairing a smashed Atari 800XL case to his gorgeous custom Amiga A500, his projects are sure to please the retro hardware lovers in the audience.

Continue reading “Amstrad Portable Gets A Modern LCD Transplant”