Amiga-Digital-Video icon indicating copy to clipboard operation
Amiga-Digital-Video copied to clipboard

A600 and other constrained installations

Open c0pperdragon opened this issue 3 years ago • 128 comments

This thread is intended for discussions on how to get machines working with the generic small adapter board. I don't intend to actually build such boards, as it should be fairly easy for anyone experienced enough to also do the rest of the installation. I encourage the use of this thread as a means of communication to help each other with difficult installs and maybe to source parts or PCBs in a more cost-effective way.

Specifically for the A600, user @culexus8 made a very clear diagram on where the connect the various wires. This seems to be working quite nicely:

amiga600install

c0pperdragon avatar Jan 15 '21 16:01 c0pperdragon

If you have flickering pixels this may mean the color signals change too closely to the edge transistions of the clock. Try to use a different clock source that has some phase shift.

c0pperdragon avatar Jan 15 '21 16:01 c0pperdragon

Found the issue, my ground wire was to long so after shortening it the picture got stable.

culexus8 avatar Jan 15 '21 18:01 culexus8

Hmm. If just varying the ground connection fixes this, I think this is now just a lucky coincidence that the signal timings match up. Next week it very well may become fluky again.

If you happen to have an oscilloscope, you could check the relation between your clock signal flanks and the point where the color lines change voltages. There should be a significant time offset between these points (ideally 35ns, but anything about 15ns should also be OK):

c0pperdragon avatar Jan 16 '21 09:01 c0pperdragon

Well remember that im using motherboard that is not in good shape, it needs recap and also my power supply is not good. I see 4.6v on the raspberry so there is allot to fix before I will do any check with the scope. I will orde a new quality power supply from icomp so I know I will have stable 5v and low ripple. And then I will do the install in a known good system. If I get problems then I will look more into it.

culexus8 avatar Jan 16 '21 10:01 culexus8

Testing out where to place the board and RPi zero. My Main problem is now to get a mini hdmi to hdmi that will fit inside. There is not allot of room:/ I had to drill two 2mm holes for the screws to hold the board, but is not a big deal I think. If anyone have a link for a mini hdmi male to hdmiA female that is slim and flexible please give me a hint🙂

received_162736461979404

culexus8 avatar Jan 17 '21 13:01 culexus8

On the A600, the memory extension A604 carries all information required as it is used for some flicker fixer cards. The adapter could be designed to fit neatly on it..?

Rakeim132 avatar Jan 17 '21 15:01 Rakeim132

You May be total correct, that would have been a sweet option to add it to ram board🙂 I need to look into that👍

culexus8 avatar Jan 17 '21 15:01 culexus8

Looks like indivison is using some other signals to produce video:/ I can`t fint the same points on the a604n. would have been a brilliant solution. But if somone sees it yeah then please tell :)

culexus8 avatar Jan 17 '21 15:01 culexus8

The RGBtoHDMI solution depends on the Denise chip to generate the RGB colors for each individual pixel. As far as I can see in the schematics of the A600, this information is only passed on to the analog video circuitry, but not to the expansion port.

c0pperdragon avatar Jan 17 '21 16:01 c0pperdragon

The Indivision (and possibly some other "flickerfixers") recreate the circuitry of the Denise. By listening to the Agnus-Denise communication on the RGA-bus which is exposed on the A600 memory expansion connector, and by intercepting the actual fetching of graphics data from the chip memory, you could build an equivalent (digital) graphic output from within the memexp bay. But IMHO if you'd go to all that trouble, why not make something more?

Eriond avatar Jan 19 '21 22:01 Eriond

@Eriond: very interesting and totally understandable, mate. Sorry guys, I thought it was an easier path and a good idea.

Rakeim132 avatar Jan 19 '21 23:01 Rakeim132

Some updates on the A600 ver1.5 install. It is now finally working 100% with the latest Beta 15 no added settings or changes to the software settings. I had some small issues with flickering in the picture before I found the error. The adapter board I use (small) have the 5V power supply directly into the GPIO and the raspberry do the voltage regulation for 3.3V back to the logic`s on the adapter board. This may have given the flickering I had issu with. So my fix was to power the raspberry pi board trough the normal usb micro port, flickering was then history :)

IMG_20210123_235222

I have also done some 3D printing to get the install compact and not interfere with any other expansion cards, the hdmi is right under the board where the RF-modulator normaly placed so you have a easy way of hooking it up :) Just the same stuff they use to do on any vampire install.

IMG_20210123_235230

IMG_20210123_235213

IMG_20210123_235143

IMG_20210123_235238

IMG_20210124_005323

I will go trough my install and make the 3D files available for download and also a step by step guide if there is interest. The install is not hard and is reversible if you need to. Tested on rev1.3 and rev1.5.....

Thank you c0pperdragon and IanSB for this amazing stuff :)

culexus8 avatar Jan 24 '21 00:01 culexus8

That is a pretty neat install. Congratulations!

One thing still bothers me a bit: To get rid of the flickery pixels, you basically just fiddled around with the power supply and ground a bit. I don't think this was the true cause of the problem, but it just now seems to work more or less by accident.

If you want to provide a stable solution that will reliably work for other users as well, I would suggest to do some measurements first. If you have an oscilloscope, you really should check in which relation the edges of the clock signal are to the edges of the color signals.

c0pperdragon avatar Jan 24 '21 08:01 c0pperdragon

I do have a scope but I do not understand to much of it hehe. I will contact you by e-mail if it is okay and try to find a solution.

culexus8 avatar Jan 24 '21 09:01 culexus8

@culexu8: nice job, really... Do you have all ECS modes working ? @c0pperdragon: could it be possible to have in the description the list of the original video modes that are managed without issue? I'm struggling to understand the current limitations with ECS, if any... *** Edit, found this link very useful http://amiga.lychesis.net/knowledge/ScreenModes.html

seb132 avatar Jan 26 '21 04:01 seb132

I added an explanation of the OCS screen modes to the documentation. Note that this restriction applies to all adapter versions - it is a fundamental limitation of this Raspberry Pi - solution.

c0pperdragon avatar Jan 26 '21 08:01 c0pperdragon

Seb132: thanx🙂 I have not teste allot but I do use high res laced pal on the wb and all the standard games do work good so far. Can't find any issue with this solution. My biggest problem must be that my furia is not as stable as I was hoping for. But this have no thing to do with the hdmi install🙂

culexus8 avatar Jan 26 '21 08:01 culexus8

How many layers is the PCB...

sonic2k16 avatar Feb 01 '21 10:02 sonic2k16

How many layers is the PCB...

It is two layers.

culexus8 avatar Feb 01 '21 11:02 culexus8

Hi I would really like a small guide and 3d files if you will share. I am waiting for the boards from C0pperdragon and are now trying to find the components in my neck of the woods.

Sebretro avatar Feb 08 '21 08:02 Sebretro

How can I through KiCad get MPN from a project (manufacturer part number = component identification code) from a CSV file (BOM). Thank you.

sonic2k16 avatar Feb 08 '21 20:02 sonic2k16

Hi. I have a Minimig an wanna try to get RGB2HDMI working with it. In the picture below you can see the RGB locations as well as the HSYNC and VSYNC. Can i use theoretically HSYNC for SYNC and VSYNC for CLOCK? I am a little bit confused about different naming. THX and Regards minimig-rgb-out

samowitsch avatar Feb 10 '21 20:02 samowitsch

For the standard Pi software to work you need a CSYNC input (which is a kind of combination of HSYNC and VSYNC). I don't know if this is available on the minimig somewhere. Otherwise the Pi software needs to be modified. Also you must have some system clock (7.1 MHz) to feed into the adapter to correctly sample the pixels.

c0pperdragon avatar Feb 10 '21 22:02 c0pperdragon

@c0pperdragon thx for info. i will investigate. Thats the signals that are coming directly out of the FPGA of the Minimig. There is no CSYNC. A system clock should be some where at the board.

samowitsch avatar Feb 11 '21 09:02 samowitsch

@samowitsch I just had a look at the minimig rev 1 schematic and you can certainly use the RGB bits and Hync (which is composite sync in 15Khz mode) but you would also need a pixel clock signal which probably only exists internally in the FPGA (It's actually pixel clock divided by 2 so 7 Mhz for a 14 Mhz pixel clock etc.).

If you can modify the FPGA code you could change it to output the pixel clock on the Vsync pin.

Other than that you could use the CPLD version of RGBtoHDMI as that only requires the 12 bits and sync because it re-creates the pixel clock in the CPLD.

IanSB avatar Feb 11 '21 14:02 IanSB

If you can modify the FPGA code you could change it to output the pixel clock on the Vsync pin.

@IanSB Thats far beyond my skills ;o)

samowitsch avatar Feb 12 '21 13:02 samowitsch

Hi I would really like a small guide and 3d files if you will share. I am waiting for the boards from C0pperdragon and are now trying to find the components in my neck of the woods.

Hi, yes I will free the 3D files when I get the time to finish them and they are at a final stand point. Not shure where I will upload them but I will update here.

culexus8 avatar Feb 15 '21 22:02 culexus8

Hi, a question regarding the connection diagram. For CLK it shows to take it from pin 2 of (unpopulated) C201. Is this not the 7Mhz signal? Looking at the board schematic I thought CLK should be taken from the _CDAC signal? Or am I reading it wrong?

solarmon avatar Feb 17 '21 14:02 solarmon

The CDAC in the schematics is actually a misnomer. On the silk screen, I have re-named it to the generic term CLK. Into this you need to feed either ther CDAC signal when running with a OCS Denise, or the 7Mhz signal when running with a SuperDenise. For a A600 taking the 7Mhz is just fine. In this case you also need to close the solder bridge JPINV1 to get the correct polarity of the clock signal.

c0pperdragon avatar Feb 17 '21 16:02 c0pperdragon

@c0pperdragon I'm looking to make a RGBtoHDMI board, based on your small board, that fits directly on Denise with a PLCC socket.

In that case, then should I just do away with JPINV1 jumper (and connect directly to +3.3V); and connect the 7M signal instead of CDAC?

solarmon avatar Feb 17 '21 18:02 solarmon