Amiga HDMI with a Raspberry Pi! (RGBtoHDMI)

Jan Beta
6 Jan 202124:08

TLDRIn this video, Jan Beta demonstrates a new cost-effective solution for converting the RGB output of an Amiga 500 to HDMI using a Raspberry Pi Zero and a custom circuit board designed by c0pperdragon. The setup utilizes a bare metal software called 'rgb to hdmi' by hoglet67, which ensures minimal lag and latency, providing a pixel-perfect representation of the Amiga's output. The adapter board, which fits into the Amiga's Denise graphics chip socket, uses logic chips to convert the signals for the Raspberry Pi to understand. Although the video capture card used for the demonstration had some color issues, the direct HDMI output to a monitor was crisp and clear. The project is open source, allowing users to download the necessary software and create their own adapter boards. Jan Beta is impressed with the performance and versatility of the setup, which also supports various screen modes and resolutions, offering a more affordable alternative to upscalers like the OSSC.

Takeaways

  • ๐ŸŽฎ Jan Beta is using an Amiga 500 to play Monkey Island, connected through an OSSC upscaler to an HDMI monitor for high-quality display.
  • ๐Ÿ’ธ Upscalers like the OSSC are expensive, while cheaper alternatives like the Flylink Upscaler can suffer from input lag, making them less suitable for fast-paced games.
  • ๐Ÿ“Ÿ A new, cost-effective solution for Amiga and other systems involves using a Raspberry Pi Zero with a specific circuit board and software called 'rgb to hdmi' by hoglet67.
  • ๐Ÿ”ฉ The adapter board, made by c0pperdragon, fits into the Denise socket of the Amiga, converting the Denise signals to an HDMI output.
  • ๐Ÿ”‹ The board includes two 74LVC574 chips, a 74LVC86 chip, and a voltage regulator to convert 5V to 3.3V for the Raspberry Pi.
  • ๐Ÿš€ The 'rgb to hdmi' software is bare-metal, meaning it runs directly on the hardware without an operating system, resulting in fast performance and low lag.
  • ๐Ÿ”ต The current version of the adapter supports old-style Denise chips and not the Super Denise found in later Amiga models.
  • ๐Ÿ“ฝ The setup provides a pixel-perfect representation of the Amiga output with very low latency, making it feel like playing on a CRT.
  • ๐ŸŒˆ The output is interlaced and flicker-free, offering smooth scrolling and better quality than regular upscalers.
  • ๐Ÿ–ฅ๏ธ The solution is versatile and can support different screen modes, with the option to force 60Hz output for compatibility with certain monitors.
  • ๐Ÿ” Jan Beta experienced a color mismatch issue with his capture card, suggesting that the 'rgb to hdmi' project might require further tweaking for perfect compatibility with all devices.
  • ๐Ÿ“š Both the hardware and software for the 'rgb to hdmi' project are open source, allowing enthusiasts to download, modify, and even produce their own circuit boards.

Q & A

  • What is the main purpose of the setup described in the transcript?

    -The main purpose is to connect an Amiga 500 to a modern monitor using an HDMI signal, by converting the original RGB output through an OSSC upscaler or a Raspberry Pi Zero setup with a custom circuit board.

  • Why might someone choose to use the Raspberry Pi Zero solution over an OSSC upscaler?

    -The Raspberry Pi Zero solution is more cost-effective than the OSSC upscaler, which can be quite expensive. It also offers a self-contained software solution that is fast and has very low lag, making it suitable for playing fast-paced games.

  • What is the name of the software that allows the Raspberry Pi to convert RGB inputs to HDMI output?

    -The software is called 'rgb to hdmi' and was created by hoglet67.

  • What is the role of the 74LVC574 and 74LVC86 chips on the adapter board?

    -The 74LVC574 chips are octal D-type flip-flop chips used for signal conversion, and the 74LVC86 is an exclusive OR gate used in the conversion process to prepare the signals for the Raspberry Pi's GPIO pins.

  • What is the voltage regulator on the adapter board for?

    -The voltage regulator is used to convert the 5 volts from the chip socket to the 3.3 volts required as input voltage for the modern chips on the adapter board.

  • What is the limitation of the described adapter board in terms of the Amiga models it supports?

    -The adapter board in its current version only supports the old-style Denise chips, not the Super Denise found in later Amiga models.

  • How can the rgb to hdmi software and the adapter board design files be obtained?

    -The rgb to hdmi software and the adapter board design files (Gerber files) can be downloaded from the respective websites of hoglet67 and c0pperdragon.

  • What is the recommended way to install the hardware for the Amiga 500?

    -The hardware is installed by removing the original Denise chip from the Amiga, placing the adapter board in the Denise socket, and then putting the Raspberry Pi Zero on top of the adapter board.

  • What is the issue encountered when trying to capture the output using a capture card?

    -The capture card had difficulty with the output from the Raspberry Pi, resulting in a color mismatch where the green appeared on screen instead of black.

  • How can the user switch between different screen modes using the adapter board?

    -The adapter board has a pin header that allows for the connection of a tactile switch to cycle through different screen modes as set in the software.

  • What is the advantage of using a CPLD (Complex Programmable Logic Device) in this setup?

    -The CPLD allows for customization and additional features such as more buttons, an OLED display, and the ability to update the menu and functionality according to the user's preferences.

  • What is the expected improvement in the future versions of the rgb to hdmi project and c0pperdragon's adapter?

    -Future versions are expected to be more refined, with continued development to improve compatibility, performance, and potentially support for additional systems and input signals.

Outlines

00:00

๐ŸŽฎ Upscaling Retro Gaming with OSSC and Raspberry Pi

Jan Beta introduces his Amiga 500 setup running Monkey Island and discusses the use of an OSSC upscaler for converting the original RGB output to an HDMI signal for modern monitors. He mentions the downside of cost and input lag associated with cheaper upscalers and introduces a new, cost-effective solution using a circuit board and a Raspberry Pi Zero. The software 'rgb to hdmi' by hoglet67 is highlighted for its ability to convert RGB inputs to HDMI output with minimal lag, originally designed for the BBC Micro but adaptable for various systems.

05:05

๐Ÿ› ๏ธ Installing the RGB to HDMI Adapter on an Amiga 500

The plan is to install the RGB to HDMI adapter on the original Amiga 500, which involves setting up the software on the Raspberry Pi's SD card. The adapter board, made by c0pperdragon, is fitted into the Denise socket, and the Raspberry Pi is placed on top. The process includes connecting the mini HDMI cable and ensuring the setup supports both PAL and NTSC Amigas. The video also provides information on downloading the open-source software and hardware files, and recommends PCBWay for producing circuit boards.

10:06

๐ŸŒˆ Successful Test of the Adapter with Sharp and Flicker-Free Output

After setting up the hardware, Jan Beta successfully powers the adapter and gets a clear picture output from the Raspberry Pi. The video showcases the impressive quality of the output, which is sharper than the OSSC upscaler. The test includes running a demanding game to check for lag and latency, with the results indicating a very low lag and latency, providing a near CRT-like gaming experience. The video also mentions that the adapter works with different resolutions of the OCS chipset and that the ECS resolutions are not yet supported.

15:09

๐Ÿ“ธ Issues with Capture Card Compatibility and Color Accuracy

Jan Beta encounters a problem with his capture card, which does not accurately reproduce the colors of the output from the Raspberry Pi. Despite the crisp pixels, the colors are off, and attempts to adjust the settings do not resolve the issue. The video suggests that the 50 hertz output might not be compatible with the capture card, and the presenter tries forcing a 60 hertz output as a potential solution. However, the color mismatch persists even in forced 60 hertz mode.

20:13

๐Ÿ”ง Customization and Versatility of the RGB to HDMI Adapter

The video concludes with a discussion about the versatility and customization options available with the RGB to HDMI adapter. The adapter board has a pin header for a tactile switch to change screen modes, and there is an option to force 60 hertz mode. The software offers various settings for palette preferences, geometry sampling, and more. Jan Beta expresses his intention to explore more options for the adapter and to check its compatibility with other consoles and computers. He thanks c0pperdragon for providing the adapter and acknowledges that both the adapter and the rgb to hdmi project are still under development.

Mindmap

Keywords

๐Ÿ’กAmiga 500

The Amiga 500 is a personal computer that was popular in the late 1980s and early 1990s. It was known for its advanced graphics and sound capabilities. In the video, the Amiga 500 is being used to play the game 'Monkey Island', and the focus is on how to connect it to a modern monitor using an HDMI adapter.

๐Ÿ’กMonkey Island

Monkey Island is a series of point-and-click adventure games that were very popular in the 1990s. The video shows the Amiga 500 running the game, highlighting the nostalgia and the graphical capabilities of the system when connected to a modern display.

๐Ÿ’กO2S Upscaler

The OSSC (Open Source Scan Converter) is a high-quality upscaler that can convert the original RGB output of vintage computers and consoles to an HDMI signal for modern displays. It is mentioned as a costly but excellent solution for video quality, but it's not within everyone's budget.

๐Ÿ’กRaspberry Pi Zero

The Raspberry Pi Zero is a small, low-cost, single-board computer. In the video, it is used in combination with a custom circuit board to convert the RGB output of the Amiga 500 to an HDMI signal, providing a more affordable alternative to upscalers like the OSSC.

๐Ÿ’กRGB to HDMI

This refers to the process of converting the Red-Green-Blue (RGB) signal, which is the native output of the Amiga 500, to a High-Definition Multimedia Interface (HDMI) signal that can be displayed on modern monitors. The video discusses a new software solution for this conversion using a Raspberry Pi Zero.

๐Ÿ’กGPIO Pins

General Purpose Input/Output (GPIO) pins are used on the Raspberry Pi to interact with electronic devices. In the context of the video, the GPIO pins are used to receive the converted RGB signals from the Amiga 500, which are then processed to produce an HDMI output.

๐Ÿ’กBare Metal Software

Bare metal software refers to a type of software that operates directly on the hardware without an underlying operating system. The video mentions that the RGB to HDMI software is bare metal, which allows it to run fast and with very low latency.

๐Ÿ’กDenise Chip

The Denise chip is the graphics chip in the Amiga 500 responsible for its advanced graphical capabilities. The video discusses how an adapter board is placed in the Denise socket to facilitate the conversion of the chip's signals to HDMI.

๐Ÿ’กInterlaced Picture

An interlaced picture is a method of displaying, storing, or encoding graphical images in which two fields, containing the even and odd lines of the picture, are drawn on the display alternately. The video notes that the output is interlaced but flicker-free, which is important for a smooth viewing experience.

๐Ÿ’กPAL and NTSC

PAL (Phase Alternating Line) and NTSC (National Television System Committee) are different television broadcast standards, primarily differing in the color encoding system used. The video mentions that the setup should work with both PAL and NTSC Amigas, referring to the compatibility of the conversion solution.

๐Ÿ’กCapture Card

A capture card is a device used to record and/or display video content from a device on a computer. The video discusses an issue with the capture card not displaying the correct colors when used with the Raspberry Pi Zero setup, indicating a potential compatibility challenge.

Highlights

Jan Beta demonstrates an Amiga 500 running Monkey Island with an original RGB output upscaled to HDMI using an OSSC upscaler.

The OSSC upscaler provides high-quality picture but is costly, while cheaper alternatives like the Flylink Upscaler suffer from input lag.

A new solution for Amigas and other systems involves a Raspberry Pi Zero and a circuit board that converts RGB inputs to HDMI output.

The software 'rgb to hdmi' by hoglet67 allows the Raspberry Pi to convert RGB signals to HDMI, resulting in fast processing with minimal lag.

The project was initially aimed at the BBC Micro but can be adapted for various systems with different RGB outputs.

An adapter board made by c0pperdragon fits into the Denise socket of the Amiga, converting Denise signals to HDMI.

The board uses two 74LVC574 chips and a 74LVC86 chip for signal conversion and a voltage regulator for the Raspberry Pi.

The setup works with old-style Denise chips but not yet with the Super Denise found in later Amiga models.

The software is open-source, allowing users to download and install it on an SD card for the Raspberry Pi.

C0pperdragon's GitHub page provides detailed instructions and software for the Amiga version of the RGB to HDMI adapter.

The Raspberry Pi Zero and adapter board provide a pixel-perfect representation of the Amiga output with very low lag and latency.

The setup works well with PAL and NTSC Amigas, although ECS resolutions are not yet fully supported.

The adapter board has a pin header for a tactile switch to toggle between different screen modes.

The capturing card used for recording the demonstration had issues with color accuracy when capturing the HDMI output from the Raspberry Pi.

The RGB to HDMI project and c0pperdragon's adapter are still in development, with updates and improvements expected.

The adapter board can be purchased pre-assembled or users can download the necessary files to create their own.

The versatility and cost-effectiveness of the Raspberry Pi and CPLD-based solution make it an attractive alternative to off-the-shelf upscalers.