/MacDisplay

Image viewer for the BBB and Classic Mac hardware

Primary LanguageCGNU General Public License v3.0GPL-3.0

MacDisplay

repo-size last-update

Recent Update

This method is obsolete and won't receive any major updates in the future. A more modern Raspberry Pi can be used to directly interface the display. Click here for a description.

Project description

The example now works with several test images and every image you can imagine, as long as it is in the desired format. See the examples, if you want to display custom images.

alt text

UPDATE The distortion on the sides of the screen is caused by the way the pixels are sent to the CRT display. Black pixels are treated first, leading to a quicker line if it has a lot of dark pixels in it, on the other hand, lines with a lot of white pixels take longer to render. My current idea is to use the PRU clock cycle counter to measure how long a line took to draw and wait, if it was quicker than a line made up entirely of white pixels. However, waiting 5ns longer in the section where a white pixel is being drawn increases the image quality drastically and there is almost no distortion left.

Currently working on

The display still has some distortion on the left and right hand side of the screen. I suspect this happens due to slightly off timings.