Giving the TRS-80 CoCo a 44 color display

As a relic of the early 80s, the TRS-80 Color Computer couldn’t display very many colors. By default, the CoCo could only display 8 colors on the screen at a time, but [John] figured out a way to increase the number of colors displayed using a very simple trick that surprisingly isn’t found in original CoCo games.

The TRS-80 Color Computer uses a Motorola 6847 video display generator to produce color graphics on its display. There are several graphics modes available to CoCo programmers, including a high-resolution black and white mode, and two four-color modes using red, green, blue, and yellow or buff, cyan, magenta, and orange.

These color palettes are extremely limiting, and usually switching between these modes produces a lot of flicker. [John] figured out if he switched the color pallets every 1/60th of a second (i.e. during the vertical blanking interval), he could display 44 colors on the CoCo.

It’s a clever little hack to increase the color palette of the CoCo, and in our opinion should be in the running for winning this season’s Retrochallenge. Sadly, [John] is judge for the Retrochallenge this time around, so he’ll have to settle for earning a Hackaday merit badge.

Tandy Color Computer (CoCo3) color video playback

[John W. Linville] wrote a digital video player for the Tandy Color Computer (aka TRS-80). The decades-old hardware performs quite well considering the limited resource he had to work with. This is the second iteration of his player, and can be seen after the break playing a promo video for CoCoFEST 2011 where he’ll show it off in person.

In the most recent thread post (at the time of writing) [John] shares the methods used to get this running. FFMPEG is used on a modern computer to process the source video by separating the audio into an 8-bit 11040Hz file, and it generates several PPM files with the proper video frame rate. ImageMagick takes it from there to convert the PPM files to a bitmap format. It also processes each frame for differential changes, reducing the size to fall within the available bandwidth. They are then interleaved with the audio to produce the final format. Video is 128×192 with rectangular pixels. [John's] already used it to watch such classics as War Games on the antiquated hardware.

[Read more...]

Follow

Get every new post delivered to your Inbox.

Join 93,784 other followers