Retro ZX Spectrum Lives A Spartan Existence

FPGAs (like Xilinx’s Spartan series) are great building blocks. They often remind us of the 100-in-1 electronic kits we used to get as kids. Lots of components you can mix and match to make nearly anything. However, like a bare microcontroller, they usually don’t have much in the way of peripheral devices. So the secret sauce is what components you can surround the chip with.

If you are interested in retro computing, you ought to have a look at the ZX-Uno board. It hosts a Spartan 6 FPGA. They are for sale, but the design is open source and all the info is available if you prefer to roll your own or make modifications. You can see a video of the board in action, below (as explained in the video, the color issues are due to the capture card trying to deal with the non-standard sync rate).

Here are the key specifications:

  • FPGA Xilinx Spartan XC6SLX9-2TQG144C
  • Static Memory 512Kb, AS7C34096A-10TIN
  • 50MHz Oscillator
  • Video output (composite)
  • PS/2 keyboard
  • Stereo audio jack
  • EAR jack connector (for reading cassette tapes)
  • Connectors for JTAG and RGB
  • Slot for SD Cards
  • Expansion port with 3 male pin strips
  • Micro-USB power connector
  • PCB Size: 86×56 mm. (Compatible with Raspberry Pi cases)

Continue reading “Retro ZX Spectrum Lives A Spartan Existence”

Portal Ported To The Apple II

[deater] readily admits they’re a little behind on what’s new in gaming – only having just gotten around to Valve’s 2007 release of Portal. It’s a popular game, but [deater] didn’t want anyone to miss out on the fun – so set about porting Portal to the Apple II.

The port uses the “hires” mode of the Apple II for the flashy graphics that were state of the art around 1980 or so. It’s not a copy of the full game – only the first and last levels, combined with Jonathan Coulton’s now-classic ending theme, Still Alive. As is to be expected, it’s not a wild, fast paced gaming experience, but a cool use of BASIC to put together a fun tribute to a popular franchise.

It’s a little different to the original – portals can be placed anywhere, for example – but it rings true to the original. Source code and a disk image is provided, so you can try it for yourself – even in this online emulator.

We’re looking forward to the sequel so we can use the post title “Portal 2 Ported To The Apple II, Too”, but until then, check out [deater]’s Apple II web server, also in Applesoft BASIC. Video after the break.

Continue reading “Portal Ported To The Apple II”

SCSI Emulation Of A Rare Peripheral For The Acorn BBC Micro

Mass storage presents a problem for those involved in the preservation of older computer hardware. While today’s storage devices are cheap and huge by the standards of decades ago their modern interfaces are beyond the ability of most older computers. And what period mass storage hardware remains is likely to be both unreliable after several decades of neglect, and rather expensive if it works due to its rarity.

The Domesday Project 86 team face this particular problem to a greater extent than almost any others in the field, because their storage device is a particularly rare Philips Laser Disc drive. Their solution is the BeebSCSI, a small board with a CPLD and an AVR microcontroller providing host adaptor and SCSI-1 emulation respectively for a modern micro-SD card.

An original BBC Domesday set-up. Regregex [CC BY 3.0], via Wikimedia Commons.
An original BBC Domesday set-up. Regregex [CC BY 3.0], via Wikimedia Commons.
1986 saw the 900th anniversary of the Domesday Book, a survey and inventory of his new kingdom commissioned in 1086 by the Norman king of England, William the Conqueror. One of the ways the event was marked in 1986 was the BBC Domesday Project, a collaboration between the BBC, several technology companies including Acorn and Philips, and a huge number of volunteers from the general public and the British school system. Pictures, video, and text were gathered relating to locations all over the country, and the whole was compiled with a not-quite-hypertext interface onto a set of Laser Disc ROMs. The system required the upgraded Master version of the 6502-based BBC Micro, a SCSI interface, and a special Laser Disc player model manufactured by Philips for this project alone. The hardware was expensive, rare, and unreliable, so few of its contributors would have seen it in action and it faded from view to become a cause celebre among digital archivists.

There have been several resurrections of the project over the years, including one from the BBC themselves which you can browse online. What makes this project different from the others is that it strives to present the Domesday experience as it was originally intended to be viewed, on as far as possible the original hardware and with the original BBC Micro interface. Many original parts such as BBC Master systems are relatively easy to source in 2016, but the special Laser Disc player is definitely not. This board replaces that impossible link in the chain, and should allow them to present a glimpse of 1986 in more than just the on-screen information.

If you would like to see an original BBC Domesday Project system, you can find one in action at the National Museum of Computing, at Bletchley Park. Meanwhile we’ve already featured another peripheral from the same stable as this one, the SmallyMouse USB-to-quadrature mouse emulator.

A Portable Jacob´s Ladder

A Jacob´s ladder is a favorite project of high voltage enthusiasts. It makes a visually attractive and fun display of a high voltage electrical arc climbing a pair of electrodes. [Keystone Science] shows us how to make a Jacob´s ladder that runs on 9 V batteries.

The ladder itself is pretty easy to make. It is nothing more than a pair of stiff wires in a V shape, connected to a high voltage power supply. The more difficult part is the HV power supply. [Keystone Science] explains how to build one using a flyback transformer from an old CRT tv and a few other components. It is a pretty simple circuit and can be powered by a 9 V battery. The ladder works because, when HV is applied to the electrodes, an arc is established at the bottom, where they are nearest each other. The arc is at high temperature so the air rises, and the arc starts to climb the ladder. Since the electrodes are further away from each other as the arc rises, at a certain point the distance is too large to sustain the arc and the process repeats.

This is a nice weekend project if you want to try it. In case you don´t want to make your own HV power supply, you can try another ladder project that uses a commercial one.

Yes, You Can Reverse Engineer This 74181

[Ken Shirriff] is the gift that keeps on giving this new year. His latest is a reverse engineering of the 74181 Arithmetic Logic Unit (ALU). The great news is that the die image and complexity are both optimized for you to succeed at doing your own reverse engineering.

74181-openedWe have most recently seen [Ken] at work explaining his decapping and reverse engineering process at the Hackaday SuperCon followed soon after by his work on the 8008. That chip is crazy with complexity and a die-ogling noob (like several of us on the Hackaday crew) stands no chance of doing more than simply following along with what he explains. This time around, the 74181 is just right for the curious but not obsessed. Don’t believe me? The 8008 had around 3,500 transistors while the friendly 74181 hosts just 170. We like those odds!

A quick crash course in visually recognizing transistors will have you off to the races. [Ken] also provides reference for more complex devices. But where he really saves the day is in his schematic analysis. See, the traditional ‘textbook’ logic designs have been made faster in this chip and going through his explanation will get you back on track to follow the method behind the die’s madness.

[Ken] took his own photograph of the die. You can see the donor chip above which had its ceramic enclosure shattered with a brisk tap from a sharp chisel.

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.