Amstrad on an FPGA

If you are from the United States and of a certain age, it is very likely you owned some form of Commodore computer. Outside the US, that same demographic was likely to own an Amstrad. The Z80-based computers were well known for game playing. [Freemac] implemented a working Amstrad CPC6128 using a Xilinx FPGA on a NEXYS2 demo board.

The wiki posting is a bit long, but it covers how to duplicate the feat, and also gives technical details about the design. It also outlines the development process used ranging from starting with a simple Z80 emulation and moving on to more sophisticated attempts. You can see a video of the device below.

Continue reading “Amstrad on an FPGA”

Keep an Old Real Time Clock Module Ticking

Sometimes we run into real problems restoring old machines. [RedruM69] recently ran into a system with a dead Real Time Clock (RTC) module. These modules were used on computers and all sorts of other equipment, storing time, date, and 100 or so bytes of battery backed SRAM (before the days of cheap, plentiful flash memory). Often an external coin cell would supply power to the module. In some cases though, cost savings would take over, and the battery would be incorporated into the module. Such is the case with many Dallas Semiconductor models, and the benchmarq bq3287 module [RedruM69] was working with. If we’re reading the date code right, the module was produced in mid 1995 so we’re well past the advertised 10 year battery life.

Apparently Texas Instruments is the current owner of this design, and they even have a datasheet online. (PDF link). It turns out that the bq3287 is a descendant of the bq3285, except that the battery pin is internally disconnected. For most people this would mean a search for a compatible replacement. An industrious hacker might even whip up something compatible from modern components. Not [RedruM69] though. He broke out his Dremel tool and cut into the potted case. Exposing the internal connections above pins 16 and 20 allowed him to solder two wires on. Connecting these wires to an external coin cell brought the module back to life.

[RedruM69] isn’t the first one to perform this hack. Sun computers kept their MAC address in chips like this. When the battery went dead, the computer was off the network. Hackers have been cutting the modules open and adding batteries for years. You could always forgo RTC modules completely and use the power grid as your timebase.

A Thoroughly Modern Sinclair ZX80

At the end of the 1970s, the 8-bit home computer market had been under way for several years. Companies like Apple and Commodore had produced machines that retain a cult following to this day, and there was plenty for the computer enthusiast to get to grips with. As always though with a new technology, the trouble was that an Apple II or a Commodore Pet wasn’t cheap. If you didn’t have much cash, or you were a young person with uncomprehending or impoverished parents, they were out of reach. You could build a computer from a kit if you were brave or technically competent enough, but otherwise you were out of luck.

As you might imagine, the manufacturers understood that there was an untapped market for cheaper hardware, so as we entered the new decade a range of budget machines that appeared to satisfy that demand. Gone were internal expansion slots, dedicated monitors and mass storage, for cheap keyboards, domestic TV monitors, and home cassette recorders. 1980s teenagers would have computers of their own, their parents safe in the knowledge they were educational while the kids themselves were more interested in the games. Continue reading “A Thoroughly Modern Sinclair ZX80”

Getting The Amiga 500 Online

If you were lucky enough to have a Commodore Amiga or one of its competitor 16-bit home computers around the end of the 1980s, it’s probable that you were doing all the computing tasks that most other people discovered a few years later when they bought their first 486 or Pentium. So in the mid 1990s when all your friends were exclaiming at Paint Shop Pro or their Soundblaster cards you’d have had an air of smugness. Multitasking? Old hat! Digital audio? Been there! Graphics manipulation? Done that!

There was one task from that era you almost certainly wouldn’t have done on your Amiga though, and that was connect it to the Internet. The Internet was certainly a thing back in the late 1980s, but for mere mortals it was one of those unattainable marvels, like a supercomputer with a padded seat round it, or a Jaguar XJ220 supercar.

Later Amigas received Internet abilities, and Amiga enthusiasts will no doubt be on hand to extol their virtues. But the machine most people will think of as the archetype, the Amiga 500, lacks the power to run most of the software required to do it. If your 500 with its tasteful blue and orange desktop colour scheme is languishing though, never fear. [Shot97] has produced a guide to getting it online.

It’s important to understand that an Amiga 500 is never going to run a copy of Chrome or play a YouTube video. And he makes the point that any web browsers that might have surfaced for hardware of this class delivered a painful browsing experience. So instead he concentrates on getting the 500 online for something closer to the online scene of the day, connecting to BBSs. To that end he takes us through setting up a PC with  Hayes modem emulator, and connecting it to the Amiga via a null modem cable. On the Amiga is a copy of the A-Talk terminal emulator, and as far as the Amiga is concerned it is on a dial-up Internet connection.

The PC in this case looks pretty ancient, and we can’t help wondering whether a Raspberry Pi or even an ESP8266 module could be put in its place given the appropriate software. But he has undeniably got his A500 online, and shown a way that you can too if you still have one lurking in the cupboard. He has also produced a video which we’ve put below the break, but be warned, as it’s nearly an hour long.

Continue reading “Getting The Amiga 500 Online”

Atari Now Runs Java, Thankfully Doesn’t Require Constant Updates

Java Grinder is a tool that compiles Java programs to run on platforms like microcontrollers and consoles, by outputting native assembly code and using APIs to work with custom hardware like bespoke graphics and sound chips. Amongst other hardware, Java Grinder supports the Commodore 64, which uses a variant of the 6502 CPU. [Michael Kohn] realized the Atari 2600 shares this processor, and figured he’d get started on making Java Grinder work with the Atari by expanding on the C64 work done by [Joe Davisson]. Together, they brought Java to the Atari 2600 and made a game along the way.

According to [Michael], parts of the project were easy, as some Java routines compile down into as little as 1 or 2 instructions on the 6502. Other parts were harder, like dealing with the graphics subsystem, and modifying Java Grinder to output 8-bit bytecode to fit into the Atari’s tiny 4K ROM limit. Even with this tweak, they still couldn’t fit in a game and title screen. In the end they relied on bank switching to get the job done. [Joe]’s game is pretty solid fare for the Atari 2600 — blocky graphics and bleepy sounds — and they’ve uploaded it to the page so you can try it yourself in an emulator.

At the end of the day, porting Java code to a system with 128 bytes of RAM probably isn’t going to be particularly useful. However, as a coding exercise and learning experience, there’s a lot of value here in terms of building your skills as a coder. Other such experiments have shown us Java running on other unexpected devices, like the Sega Genesis or the MSP430. Video after the break.

Continue reading “Atari Now Runs Java, Thankfully Doesn’t Require Constant Updates”

Jukebox Gets Raspberry Pi Update, but It’s Not for Streaming

Here’s a retro-electronic rehab with a twist. Normally we’d expect a jukebox Raspberry Pi project to replace the obsolete electromechanical guts with streamed music, but an intact jukebox with a Raspberry Pi remote control is a nice change.

Old-time jukes like [revnhoj]’s 1954 AMI F120 are electromechanical marvels. Stocked with 60 45-rpm discs in a horizontal rack, an arm mounted on a track would retrieve the correct disc and place it on the turntable to play the selected song. The unit in the video below was the main jukebox, which supported “wall boxes” mounted at booths so patrons could select tunes without leaving their tables. [revnhoj] simulated a wall box with a Raspberry Pi connected to the original wall box interface through relays. The Pi serves up a GUI that can be accessed via a tablet, the correct contacts are tickled, and [revnhoj]’s collection of 45s is played through the original mechanism and amplifier, in all its “Sonoramic Sound” majesty. It’s a pretty neat hack that adds new functionality while being true to the original platform.

The chatter on the reddit thread where we spotted this hack was trending toward adding streaming audio, but we truly hope the juke stays intact and serving only vinyl. We’ve seen jukeboxes gutted before, and while it might make sense for some, we like the old school approach better.

Continue reading “Jukebox Gets Raspberry Pi Update, but It’s Not for Streaming”

IoT-ifying an Old LED Signboard

Scrolling LED signs were pretty keen back in the day, and now they’re pretty easy to come by on the cheap. Getting a signboard configured for IoT duty can be tricky, but as [kripthor] shows us, it’s not that bad as long as security isn’t your top concern and you can tweak a serial interface.

dec-16-2016-10-57-pm-edited[kripthor] chanced upon an Amplus AM03127 signboard that hails from the days when tri-color LEDs were the big thing. The unit came with a defunct remote thanks to leaking batteries, but a built-in serial interface offered a way to connect. Unfortunately, the RS-232 standard on the signboard wants both positive and negative voltages with respect to ground to represent the 1s and 0s, and that wouldn’t work with the ESP8266 [kripthor] was targeting. The ubiquitous MAX-232 transceiver was enlisted to convert logic levels to RS-232 signals and a small buck converter was added to power the ESP. A little scripting and the signboard is online and ready for use and abuse by the interwebz — [kripthor] says he’ll regret this, but we’re pleased with the way the first remote access turned out. Feel free to check out the live video feed and see what the current message is.

Personally, we don’t have much use for a signboard, but getting RS-232 devices working in the Arduino ecosystem is definitely a trick we’ll keep in mind. If asynchronous serial protocols aren’t your strong suit, you might want to check out this guide to what can go wrong by our own [Elliot Williams].