PCMCIA Flash Card Gives Up Its Secrets Thanks To Retro Gear

There are two ways to recover data from an obsolete storage medium. One way is to pull out all the tools in the hacker’s kit — with logic analyzers, oscilloscopes, and bit-banged software in a desperate attempt to reverse engineer the original protocol. The other way is to have a really, really deep junk bin that just happens to contain exactly the right pieces that would have been used decades ago.

For recovering data from a 25-year-old PCMCIA memory card, [Dave] from Vintage Apparatus chose the latter method. But to be fair, characterizing the stash of gear he had to select from as a “junk bin” is pretty insulting. It’s more like a museum of retro technology, which just so happened to hold  Toshiba Libretto, a subnotebook computer hailing from the late 1990s. The machine sports a pair of PCMCIA slots and was just the thing to read the data from the old 32 MB SanDisk flash card, which once lived in a backpack-mounted GPS system for surveyors.

If this hack sounds as easy as plugging things into an old computer, you’d be right — if you just happen to have a stack of floppies containing the Windows 98 drivers for said things. So [Dave]’s task became a game of finding the right combination of cards that already had the drivers installed and would provide the connectivity needed to get the data off the flash card. Between a suspiciously crunchy-sounding floppy drive and an Ethernet card dongle badly in need of some contact cleaner, cobbling together the right hardware was a bit of a chore. After that, a lot of the hack was [Dave] just remembering how we used to do things back in the day, with the eventual solution being transferring over the files to an FTP server on a Raspberry Pi.

The video below tells the whole saga, but the real treat might just be the Vintage Apparatus collection of gear. Incidentally, we really like [Dave]’s idea for storing associated bits and bobs.

Continue reading “PCMCIA Flash Card Gives Up Its Secrets Thanks To Retro Gear” →

Do You Have An Old Hitachi Computer? You Might Just Have BeOS Without Realizing It

There was a moment in the years spanning the move from 16-bit platforms to 32-bit, during which it looked for a moment as though there might be a few new operating system contenders making a mark on the desktop.

A 1990s Hitachi Flora Prius PC, from the Hitachi press release.
Does this PC look familiar to you?

This was the period that gave rise to the “Year of Linux on the desktop” meme as the open source contender just wasn’t ready for the general public, but we all know what happened. The various commercial contenders slipped by the wayside or survived by the skin of their teeth as enthusiast or niche platforms, while Microsoft Windows steamrollered all before it except for the walled garden of Apple users.

One of the players was BeOS, a powerful multimedia OS that might have had a chance if it could have persuaded OEMs to ship it on some PCs, but in that endeavour it had no luck. Or so everyone thought, but [Thom Holwerda] reports on the fascinating tale of a PC that shipped with BeOS, but not in a way anyone could easily use.

It seems that even being seen to talk to the folks from Be was enough to ensure an OEM received a visit from Microsoft goons sales representatives so even though the rival OS was offered for free it received no PC takers. This was the received opinion, but it turns out that the one manufacturer which did include BeOS was Hitachi, in Japan. Their Flora Prius PC was a Pentium II equipped white box typical of late-90s multimedia hardware, and though it booted into Windows it also had a BeOS installation on board that probably very few owners would have even realised existed. It seems Hitachi did the deal with Be but didn’t install the required bootloader to use the Be partition. A Flora Prius owner could run the software if they were prepared to follow some instructions on the Be website and download a floppy image, but it seems very few did so.

All this leads to a fascinating challenge for today’s BeOS enthusiasts, to locate a surviving Flora Prius PC if any can still be found with an intact BeOS partition, and activate the only factory PC BeOS install. We know we have readers in Japan who almost certainly have an eye for an old computer, can any of you help them in this quest?

We’ve touched on BeOS in the past on its own BeBox platform and the elusive Sony eVilla internet appliance.

Building A MiniPET Is Better With Friends

[Taylor and Amy] love taking on retro computer projects. This week they’re building a MiniPET from Tynemouth and The Future is 8 Bit.  It’s a pretty awesome kit which sadly isn’t available anymore. Taylor bought one of the last ones as part of a charity sale at the 2023 Vintage Computer Festival Southwest.

If you haven’t seen their YouTube channel yet, check it out! The two have been best friends since 1984. Their channel has just the right mix of education and comedy, with pacing fast enough to keep things interesting. It’s really refreshing to see two people enjoying a project together.

The MiniPET is of course a reproduction of the hardware in the Commodore PET, the machine which predated the VIC-20 and of course the Commodore 64. The kit starts with installing a few discrete parts — resistors,  capacitors, and diodes.  Then come the IC sockets. [Taylor and Amy] ran into a bit of trouble when it came time to install the chips. While installing the 40-pin 65C21 Peripheral Interface Adapter (PIA), one pin bent under the socket. [Taylor] popped the chip back out, and replaced it — which resulted in 3 bent pins!

Anyone who’s installed new DIP parts has been through this. The pins are always bent out a bit from the factory. The old “Bend it in using a table” method usually works — but if you want perfect pins, try a pin straightener. These versatile tools can even be 3D printed.

Once the pin problems are solved, it’s time to power up the kit and see if it will work.  That’s when we get to see that magic moment when a project first comes to life. Check out the video – you’ll see what we mean.

Continue reading “Building A MiniPET Is Better With Friends” →

Finding Undocumented 8086 Instructions Via Microcode

Video gamers know about cheat codes, but assembly language programmers are often in search of undocumented instructions. One way to find them is to map out all of a CPU’s opcodes and where there are holes, try those values, and see what happens. Not good enough for [Ken Shirriff]. He prefers examining the CPU’s microcode and deducing what each part of it does.

Microcode is a feature of many modern CPUs. The CPU runs several “microcode” instructions to process a single opcode. For the Intel 8086, there are 512 micro instructions, each with 21 bits. Each instruction has two parts: a part that moves a source to a destination and another that performs some other operation, such as an ALU operation. [Ken] explains it all in the post, including several hidden registers you can’t see, but the microcode can.

Searching for holes in the opcode table.

Some of the undocumented instructions are probably not useful. They are either impractical or duplicate a function you can already do another way. Not all of the instructions are there for technical reasons. For example, opcode D6, commonly known as SALC for “Set AL to Carry”, seems to exist only as a trap for anyone making a carbon copy of Intel’s microcode. When other companies like NEC made 8086 clones, having an undocumented instruction would strongly suggest they just copied Intel’s intellectual property (in NECs case, they didn’t).

Other cases happen where an instruction just doesn’t make sense. For example, you can pop all segment registers, and though it is not documented, you can deduce that POP CS should be opcode 0F. The problem is there is no sane reason to pop CS off the stack. The instruction works; it just isn’t useful. The opcodes from 60-6F are conditional jumps that are no different from the instructions at 70-7F because of decoding. There is no reason to document both identical instruction ranges.

The plot thickens when you go to two-byte instructions. You’ll find plenty of instructions of dubious value. You don’t hear much about undocumented instructions anymore. Why? Because modern CPUs have enough circuitry to dedicate some to detecting illegal instructions and halting the CPU. But the 8086 was squeezed too tight to allow for such a luxury. Good thing for people like us who enjoy solving puzzles.

You can still get a modern CPU to tell you more about instructions even if it won’t run them. Even the 80286 had some secret opcodes.

CP/M Porting In A Few Hours

If you’ve ever wanted to watch someone bring CP/M up on a new system and you have a couple of hours to spare, check out the recorded live stream of [Poking Technology]. The system in question is an Agon Light, a modern board with a Z-80-derived CPU. If you want to get right to the porting part, you might want to skip about 31 minutes of the nearly 2.5-hour video.

The first half hour is more about the built-in assembler and the board in general. If you’ve ever ported CP/M before, you know it isn’t as hard as bootstrapping a modern operating system. There are two major things you need: A BIOS, which is specific to your machine, and a BDOS, which is usually taken verbatim from the operating system sources. Your programs typically call one of the 40 or so functions in the BDOS.

Continue reading “CP/M Porting In A Few Hours” →

Reverse-Engineering Helps Typesetting Machine Punch Paper Tape Again

[Scott M. Baker] wants a paper tape punch for his retrocomputer collection. That’s fine with us, we don’t judge. In fact,  these electromechanical peripherals from the past have a lot going for them, especially the noise. But alas, such things are a little hard to come by these days, and rolling one from scratch would be a difficult proposition indeed. What to do?

Luckily, we live in the future, and eBay holds all sorts of wonders, including these typesetter keyboards from the 1970s, which [Scott] promptly reverse-engineered. We’ll get to the details in a minute, but first, can we just take a moment to think about the workflow these things were part of? These aren’t terminals — they lack any kind of IO apart from the punched paper tape they spewed out. The operator’s job was to punch in copy without any kind of feedback that they were hitting the right keys, and just sent the paper tap record of the session off to the typesetting machines. And you think your job sucks.

To give this thing an interface, [Scott] first had to revive the power supply, whose capacitors had seen sunnier days. With that out of the way, he set about understanding the CPU-less machine by analyzing its 7400-series logic, as well as planning how to make the native 6-bit output into a more manageable 8-bit. Thankfully, the tape punch already had solenoids for the top two bits, but finding a way to drive them wasn’t trivial.

The solution was to bypass a buffer so that the bits for the desired character can be set with a Raspberry Pi and an ATF22V10 programmable logic device. That’s enough to force the punch to do its thing; actually getting it to talk to something else, perhaps even [Scott]’s Heathkit H-8 computer.

Continue reading “Reverse-Engineering Helps Typesetting Machine Punch Paper Tape Again” →

A small B/W TV showing a Pong-like game being played on a Soviet-era game console

Soviet-Era Pong Console Is Easy To Repair

Many early home video game consoles were developed by American and Japanese companies: think Nintendo, Commodore, and Atari. But on the other side of the Iron Curtain, which was still very much in place in the 1980s, an entirely separate industry was built on names like Tesla and Elektronika. As a resident of the republic of Georgia, [Thomas] over at Workshop Nation has built up a sizeable collection of such Soviet-era hardware. A while back, he stumbled upon an Elektronika Video Sport 3, a 1990-vintage Pong-like video game console made in the USSR, and made a delightful video that shows him bringing it back to life.

A circuit board from an Elektronika game consoleLike its Western counterparts, the Video Sport 3 is built around a dedicated chip, in this case a K145IK17. This is a Soviet clone of the GI AY-3-8500 that powered nearly every TV Pong console in the West, allowing it to run several variations of Pong as well as a simple target shooting game. Interestingly, the Video Sport 3 also has a “test” mode in which it outputs a test signal to help you adjust your TV settings — quite useful in the days of analog CRTs. It also came with a comprehensive user manual, as well as full schematics to help you repair it in case anything breaks.

[Thomas]’s device didn’t immediately work, which is why he opened it up and tried to find any errors. The main board he found inside was a beautifully hand-made, single-layer board with around a dozen chips and lots of discrete components. Nothing seemed obviously broken, but [Thomas] decided to replace a few electrolytic capacitors as a precaution. This turned out to be enough to get the console working again — dodgy caps truly are a universal problem with older hardware.

A small Elektronika black-and-white TV that [Thomas] found earlier forms a perfect complement to the Video Sport 3. Together, they give us a glimpse into what a typical video game setup may have looked like in an early 1990s Soviet home. In fact, the Eastern Bloc supplied a reasonably wide selection of home computers, although not many people could actually buy them. Some truly bizarre machines were also produced for professional users.

Continue reading “Soviet-Era Pong Console Is Easy To Repair” →