Running Ocarina Of Time On The Apple Watch

At this point in time it can be safely stated that the question ‘Does it run Doom?’ defaults to a resounding ‘Yes’. This raises the question of what next games should be seen as some kind impressive benchmark, with [Game of Tobi] gunning heavily for Nintendo 64 titles. Most recently he ported Legend of Zelda: Ocarina of Time to the Apple Watch, with the port almost ready for release along with Super Mario 64 after a few more issues are fixed.

Although there are a few approaches when it comes to porting Nintendo 64 games to other systems, if the target system is effectively a small PC with all of the amenities such as rendering APIs, then using the Ship of Harkinian project as the basis is a good start. This is what [Toby] did with the Apple Watch, and after some work it runs Ocarina of Time at a solid pace, with as the main flaw being busted text rendering.

Of course, the overwhelming flaw with any small gaming system and touchscreen-only systems is that our meaty paws do not shrink that well, and using telepathy to control game systems still isn’t a feature. Thus the biggest compromise with the Apple Watch port is that you have the controls overlaid on the screen. This could probably be compensated for with a Bluetooth controller or similar, but that poses its own problems when it comes to two-handed playing.

Practical issues aside, it’s pretty amazing that just about any ‘smart’ device that we carry around with us can also be a full-featured retro gaming system, and we appreciate [Toby]’s efforts in making this a reality.

Continue reading “Running Ocarina Of Time On The Apple Watch”

It’s 1979 – What Exactly Did That ∫ Key Do?

[Michel Jean] asked a question few others might: what exactly is going on under the hood of a classic HP scientific calculator when one presses the key? A numerical integration, sure, but how exactly? There are a number of useful algorithms that could be firing up when the integral button is pressed, and like any curious hacker [Michel] decided to personally verify what was happening.

[Michel] implemented different integration algorithms in C++ and experimentally compared them against HP calculator results. By setting up rigorous tests, [Michel] was able to conclude that the calculators definitely use Romberg-Kahan, developed by HP Mathematician William Kahan.

Selected by HP in 1979 for use in their scientific calculators, the Romberg-Kahan algorithm was kept in service for nearly a decade. Was it because the algorithm was fast and efficient? Not really. The reason it was chosen over others was on account of its robustness. Some methods are ridiculously fast and tremendously elegant at certain types of problem, but fall apart when applied to others. The Romberg-Kahan algorithm is the only one that never throws up its hands in failure; ideal for a general-purpose scientific calculator that knows only what its operator keys in, and not a lick more.

It’s a pretty neat fact about classic HP calculators, and an interesting bit of historical context for these machines. Should you wish for something a bit more tactile and don’t mind some DIY, it’s entirely possible to re-create old HP calculators as handhelds driven by modern microcontrollers, complete with 3D-printed cases.

Thanks to [Stephen Walters] for the tip!

Clear Resin Casting Replicates Old Acrylic For Selectric Repair

IBM Selectric typewriters have a lot of unique parts that can be tricky to source, but one we didn’t think of was the clear acrylic(?) dust covers, that are apparently very hard to find in good shape. [Eric Strebel] has a few Selectrics that all have issues with these parts. While you could come close to recreating this piece with acrylic sheeting carefully bent to match the original shape, [Eric] has a different hammer to try in a new video: replicating it with a resin casting.

He uses de-gassed tin-cure silicone to create a mold for the original, with a bit of 3D printed PLA and foam board to hold the silicone to create the mold. That’s done in two steps to create a two-part mold, which is separated and cleaned before the resin goes in. The original part is actually a smoky plastic, rather than fully clear, but [Eric] is able to match it perfectly using a colourant in his clear epoxy resin. The resin is put into the mold with a simple gravity pour, though he does have a vibrator on it to help it flow. Curing is done under heat and pressure– 60 PSI. The results are amazing; once he adds a touch of paint to match the black finish on one face of the original, it’s very difficult to tell [Eric]’s casting from his master piece, except that the cast replicas are in better shape.

This particular part works very well for casting and not much else. While you could match the large curve by heat-bending a piece of smoky acrylic, there are lips along the edges of the part that would be tricky to reproduce. [Eric] also needed several, for his multiple typewriters, and this method is very efficient at producing multiple units since the mold is reusable.

While you might not have an IBM Selectric that needs a dust cover, this technique is equally applicable to all sorts of clear shapes. If you’re new to resin casting, we have a handy guide to replicating plastic parts to get you started in this kind of work. It’s not just large parts that can be replicated: you can even copy phonograph records, such is the fidelity of resin casting.

Continue reading “Clear Resin Casting Replicates Old Acrylic For Selectric Repair”

There Are No LEDs Around The Face Of This Clock

This unusual clock by [Moritz v. Sivers] looks like a holographic dial surrounded by an LED ring, but that turns out to not be the case. What appears to be a ring of LEDs is in fact a second hologram. There are LEDs but they are tucked out of the way, and not directly visible. The result is a very unusual clock that really isn’t what it appears to be.

The face of the clock is a reflection hologram of a numbered spiral that serves as a dial. A single LED – the only one visibly mounted – illuminates this hologram from the front in order to produce the sort of holographic image most of us are familiar with, creating a sense of depth.

The lights around the circumference are another matter. What looks like a ring of LEDs serving as clock hands is actually a transmission hologram made of sixty separate exposures. By illuminating this hologram at just the right angle with LEDs (which are mounted behind the visible area), it is possible to selectively address each of those sixty exposures. The result is something that really looks like there are lit LEDs where there are in fact none.

[Moritz] actually made two clocks in this fashion. The larger green one shown here, and a smaller red version which makes some of the operating principles a bit more obvious on account of its simpler construction.

If it all sounds a bit wild or you would like to see it in action, check out the video (embedded below) which not only showcases the entire operation and assembly but also demonstrates the depth of planning and careful execution that goes into multi-exposure of a holographic plate.

[Moritz v. Sivers] is no stranger to making unusual clocks. In fact, this analog holographic clock is a direct successor to his holographic 7-segment display clock. And don’t miss the caustic clock, nor his lenticular clock.

Continue reading “There Are No LEDs Around The Face Of This Clock”

Turning A GDB Coredump Debug Session Into A Murder Mystery

Debugging an application crash can oftentimes feel like you’re an intrepid detective in a grimy noir detective story, tasked with figuring out the sordid details behind an ugly crime. Slogging through scarce clues and vapid hints, you find yourself down in the dumps, contemplating the deeper meaning of life and  the true nature of man, before hitting that eureka moment and cracking the case. One might say that this makes for a good game idea, and [Jonathan] would agree with that notion, thus creating the Fatal Core Dump game.

Details can be found in the (spoiler-rich) blog post on how the game was conceived and implemented. The premise of the game is that of an inexplicable airlock failure on an asteroid mining station, with you being the engineer tasked to figure out whether it was ‘just a glitch’ or that something more sinister was afoot. Although an RPG-style game was also considered, ultimately that proved to be a massive challenge with RPG Maker, resulting in this more barebones game, making it arguably more realistic.

Suffice it to say that this game is not designed to be a cheap copy of real debugging, but the real deal. You’re expected to be very comfortable with C, GDB, core dump analysis, x86_64 ASM, Linux binary runtime details and more. At the end you should be able to tell whether it was just a silly mistake made by an under-caffeinated developer years prior, or a malicious attack that exploited or introduced some weakness in the code.

If you want to have a poke at the code behind the game, perhaps to feel inspired to make your own take on this genre, you can take a look at the GitHub project.

Blood Tests Could Provide Early Warning Of Alzheimers Disease

Alzheimer’s disease remains a frustratingly difficult condition to manage for the millions of patients affected worldwide and their families. The cause of the disease is still not properly understood, and by the time memory loss and cognitive decline become apparent, the underlying brain pathology has often been quietly building for decades.

Soon, though it may be possible to diagnose impending Alzheimer’s disease ahead of time, before symptoms have taken hold. New research suggests this could be achieved through a simple blood draw, providing clinicians and patients precious time to manage the condition and plan ahead. Continue reading “Blood Tests Could Provide Early Warning Of Alzheimers Disease”

Power Control For A Busy Workbench

Who among us does not have a plethora of mains-powered devices on their workbench, and a consequent mess of power strips to run them all? [Jeroen Brinkman] made his more controllable with a multi-way switch box.

At first sight it’s a bank of toggle switches, one for each socket. But this is far more than a wiring job, because of course there are a couple of microcontrollers involved, and each of those switches ultimately controls a relay. There are also status LEDs for each socket, and a master switch to bring them all down. Arduino code is provided, so you can build one too if you want to.

We like the idea of a handy power strip controller, and especially the master switch with the inherent state memory provided by the switches. This could find a home on a Hackaday bench, and we suspect on many others too. It’s by no means the first power strip with brains we’ve seen, but most others have been aimed at the home instead.