Odd Retrocomputer Had A Graphics Coprocessor

[Noel’s Retro Lab] scored an unusual 1980s vintage computer sold in Japan and Spain. The Seconinsa FM-7 appears to be a popular Fujitsu Japanese computer altered to fit the Spanish market. They seem to be pretty rare, at least in our part of the world. The outside appearance was very nice for the time, with a large keyboard and plenty of expansion ports. But the board has an unusual feature considering the era — dual CPUs. One 6809 executed your program, and another 6809 handled graphics output. You can see the machine in the video below.

There are two 32K ROMs, but the machine specifications claim only 48K. After dumping the ROMs, it turns out one of the ROMs has two copies of the same data. You can imagine they might not want to decode the entire address space. It could be that they needed 16K of space for other devices.

It wasn’t just the ROMs. The video RAM is pretty strange, too, as [Noel] explains. There are even some static RAMs the computer doesn’t claim. It appears these act as communication pipes between the two CPUs. In fact, it turns out that even the keyboard has its own 4-bit CPU, so the machine actually has a total of 3 CPUs!

This was a heavy-duty design for the time it was built. [Noel] wanted to fire it up, but he had to figure out the cables since the computer didn’t have any with it. Some clever repurposing of stock cables provided monochrome video output. Color display was a bit more complicated, but not impossible.

[Noel] winds the video up with some history of the companies behind the machine. The Spanish government wanted to use the FM-7 in the classroom, but the program failed to materialize. Want to see what it was like to program the thing? Here’s the Basic reference manual (in Spanish). Most of the documentation for the machine is either in Spanish or Japanese.

While this certainly is a rare computer, at least there’s a record of its existence. If you want to see what a Japanese computer looked like a few decades earlier, check out the FACOM 128B.

Continue reading “Odd Retrocomputer Had A Graphics Coprocessor” →

Let’s Listen To A Tape — Paper Tape

These days, data is as likely as not to be “in the cloud.” Otherwise, it’s probably on a USB flash drive or SD card. But in the old days, paper tape was a widespread way to store and retrieve data. A common way to start the day at the office was to toggle in a few dozen bytes of bootloader code, thread a bigger bootloader tape into your TeleType paper tape reader, and then get your coffee while the more capable bootloader clunked its way into memory. Then you could finish your brew while loading the tape with your compiler or whatever you wanted. [Scott Baker] has a Heathkit H8 and decided using a paper tape machine with it and some of his other gear would be fun.

Instead of a TeleType, [Scott] picked up a used paper tape machine from FANUC intended for the CNC industry. They are widely available on the surplus market, although a working machine might run you $500. [Scott] paid $200, so he had some work to do to make the unit operational.

Paper tape had a few varieties. For computer work, you usually had a tape that could hold eight holes across, one for each bit in a byte. However, there are also 6-bit and 5-bit tapes for special purposes or different encodings (old TeleTypes used 5-bit characters in Baudot). The paper choice varied too. You could get plain paper, oiled paper, which maybe didn’t jam as often, and Mylar, which is less likely to shred up when it does jam.

To make things even more difficult, the machines all worked a little differently as well. Sure, punches almost all use solenoids. But the tape transport was sometimes a pinch roller and sometimes a sprocket-style drive. Reading the holes could be done with mechanical contacts or optically. Some punches left little “hanging chads” on the tape, so you didn’t have to empty a confetti box to throw away the chad.

The repair job was interesting. Inside the machine is an 8051 microcontroller. There was no clock, and the circuit used two custom modules. One was simply a crystal, and the other was an oscillator. Removing both allowed a modern can oscillator to replace both modules. The next problem was a fried serial output driver. Replacing that got things working except for random resets due to a faulty brown-out reset circuit. That was easy to fix, too.

Of course, if you are really cheap, it is easy to make a paper tape reader from 8 phototransistors, and pulling tape through by hand isn’t unheard of. It can even talk USB. We’ve even seen a conference badge that can read tapes.

Continue reading “Let’s Listen To A Tape — Paper Tape” →

Kalman Filters Without The Math

If you program using values that represent anything in the real world, you have probably at least heard of the Kalman filter. The filter allows you to take multiple value estimates and process them into a better estimate. For example, if you have a robot that has an idea of where it is via GPS, dead reckoning, and an optical system, Kalman filter can help you better estimate your true position even though all of those sources have some error or noise. As you might expect, a lot of math is involved, but [Pravesh] has an excellent intuitive treatment based around code that even has a collaborative Jupyter notebook for you to follow along.

We have always had an easier time following code than math, so we applaud these kinds of posts. Even if you want to dig into the math, having basic intuition about what the math means first makes it so much more approachable.

Continue reading “Kalman Filters Without The Math” →

The AI Engine That Fits In 100K

Running your own AI models is possible, but it requires a giant computer, right? Maybe not. Researchers at NVidia are showing off Perfusion, a text-to-image model they say is 100KB in size and takes four minutes to train. The model specializes in customizing a photo. For example, the paper shows a picture of a teddy bear and a prompt to dress it as a wizard. In all fairness, the small size and quick training are a little misleading, we think, because the results are still using the usual giant model. What’s small and fast is the customization of the existing model.

Customizing models is a common task since you often want to work with something the model doesn’t contain. For example, you might want to alter a picture of your face or your pet, which probably isn’t in the original model. You can create a special keyword and partially train the model for what you want using something called textual inversion. The problem the researchers identified is that creating textual inversions often causes the new training to leak to unintended areas.

They describe “key locking,” a technique to avoid overfitting when fine-tuning an existing model. For example, suppose you want to add a specific dog picture to the model. With typical techniques, a special keyword like dog* will indicate the custom dog image, but the keyword has no connection with generic dogs, mammals, or animals. This makes it difficult for the AI to work with the image. For example, the prompts “a man sitting” and “a dog sitting” require very different image generations. But if we train a specific dog as “dog*” there’s no deeper understanding that “dog*” is a type of “dog” that the model already knows about. So what do you do with “dog* sitting?” Key locking makes that association.

Continue reading “The AI Engine That Fits In 100K” →

Solar Power Your Pi

Running a Raspberry Pi with solar power sounds easy. Of course, like most things, the details are what get you. About a year ago, [Bystroushaa] tried it without success. But the second time turned out to be the charm.

Of course, success is a relative term. It does work, but there is concern that it won’t be sufficient in the winter. In addition, if the battery dies, everything doesn’t restart automatically. Still, it is usable, and there should be ways to solve those problems.

The original attempt used a PiJuice hat and solar panel. This time, the design didn’t use these, opting instead for a LiFePO4 battery, a solar regulator, and a solar panel. The rest of it comes down to mechanical and physical mounting. The cheap regulator has some drawbacks. For example, it doesn’t allow for monitoring like more expensive units. It also cannot balance the cells periodically, although that could be done with an external controller.

We’ve seen solar-powered Pi boards before. Or, try a Game Boy.

All American Five Lives Again

If you haven’t heard of an “all-American five,” then you probably don’t dig through bins for old radios. The AA5 is a common design for old AM radios that use five tubes: a rectifier, an oscillator/mixer, an IF amplifier, a detector, and a single tube for driving the speaker. [Mikrowave1] took an old specimen of such a radio from the mid-1950s and wanted to restore it. You can see how it went in the video below.

One feature of the design is that the set had a “hot chassis,” which means you really want to use an isolation transformer before you work on it. We were taught to touch a chassis with the back of our hand first because of radios like this. If it is “hot,” the muscle contraction would throw your arm away from the radio instead of forcing you to grip it uncontrollably.

The GE radio had many quality design touches you don’t always see in a radio like this. The mix of brands indicates that the radio has had tubes replaced in the past. It also had a clearly replaced electrolytic capacitor. Surprisingly, all the tubes were good, although the power output tube was marginal. However, a light bulb was bad and required a little surgery to allow for a slightly different replacement.

Some capacitors were neatly replaced, also. A lot of cleaning and testing later — along with a dropped tool — the radio was ready to play again. Fixing radios from this era is a great hobby. You can get to everything and you don’t really need anything fancy, although a tube tester is helpful. The classic method of troubleshooting is to either find audio on the volume control or not and then work your way backward or forward using a signal tracer or — since they are so readily available now — a scope. Alternatively, you could inject a signal at the volume control and work your way through the circuit until you can or can’t hear the injected signal.

Not the first tube radio we’ve watched being restored, of course. Need a tube tester?

Continue reading “All American Five Lives Again” →

Examining Test Gear From Behind The Iron Curtain

Back in 1978, an oscilloscope was an exotic piece of gear for most homebrewers. We expect they were even more rare in private hands behind the iron curtain, and [Thomas Scherrer] shows us a Soviet X1-7B combination oscilloscope and spectrum analyzer (he thinks, at least, it is a spectrum analyzer) that he got working.

The Soviet scope is clearly different with its Cyrillic front panel. Luckily, Google Translate was up to the task of decoding a picture of the device. However, the differences aren’t just cosmetic. The scope also has a very interesting rotating bezel around the round CRT. You can see a video of the 8.2 kg scope below.

A quick look inside looks pretty conventional for a scope of that era that used all transistors in the circuitry. The rotating bezel, though, also controls something that looks like a big mechanical switch and cavity or, perhaps, a big mechanical variable component of some kind.

Satisfied that the insides were in reasonable shape, [Thomas] was ready to try turning it on. We want to say it went well, but… there was censored audio, along with a loud noise, right after it was plugged in. Troubleshooting centered on what was producing a burned smell, but a quick examination didn’t turn up anything obvious, despite being localized to the power circuitry. The fuse didn’t blow, oddly, and — even more puzzling — the unit was off when plugged in!

It turns out the input power filter leaked to the chassis. Since he had a ground on the chassis, that explained the failure, and while it was annoying, it was better than getting a shock with a hot chassis. The second plug in went better.

It finally did work, at least somewhat, although he never explored some of the odd features the scope appears to have. We love the old boat anchor scopes but don’t see many Soviet instruments, at least not those of us on this side of the Atlantic.

We do see a few Soviet-era computers now and again. As for the fuse not blowing, it was shorted before the fuse, but apparently, fuses don’t always blow when you expect them to, anyway.

Continue reading “Examining Test Gear From Behind The Iron Curtain” →