niklasekstrom / a314

A314 is a family of expansions for Amiga computers that lets a Raspberry Pi (RPi) be used as a co-processor to the Amiga
Creative Commons Zero v1.0 Universal
255 stars 32 forks source link

A2000 support? #26

Closed amipieTOASTER2K closed 5 months ago

amipieTOASTER2K commented 5 years ago

Great work...

Amiga 2000 support should be fairly straight forward... Has a version for the A2000 commenced? Do I need to produce an adapter board of sorts for the A500 version to fit in an A2000? Unlike the A600, space shouldn't be an issue here.

I already have a raspberry PI mounted on a blank PCB in an unoccupied slot inside my A2000 case. A2000 supplying only power. Also using some KVM switches and sum A234 and more for I/O... Running AmiBerry... Need to have some Ami-Pie sex happening soon... Faster File transfers?, Perhaps shared storage and more... I do have an A500... I would rather install the A314 in the A2000... Currently sourcing components for build... Thanks guys...

niklasekstrom commented 5 years ago

Hi amipieTOASTER2K,

Amiga 2000 support is actually not as straight forward as one might think. The A500 expects the board that is inserted in the trapdoor expansion slot to be DRAM chips and not much else, so the FPGA on the A314 must communicate using the same protocol as expected from DRAM chips. A board in an A2000 however communicates with the Amiga using the Zorro II protocol, which is quite different.

Moreover, memory that sits on a board in a Zorro II slot cannot be directly accessed by the custom chips (i.e. is not chip mem), which prevents some applications (VideoPlayer, PiAudio, RemoteWB) from working. There are, however, several applications that would still work well (a314fs, pi, bsdsocket.library), so I think a version for A2000 could still be interesting.

I don't know of any effort to build a Zorro II-version of A314. My feeling is that it shouldn't be all that hard, especially since the A500 version of A314 already exists. If someone were to design a Zorro II board I would certainly help out with adapting the A314 Verilog and software for it.

nonarkitten commented 5 years ago

What you would want to do is make a small board that sockets into Agnus, this is where most of the signals from the Amiga 500 trapdoor come from as well as a few from Gary. This could be combined with a pin-shift to use the more common 8375 Agnus and would almost be a simple straight pin-out to the header.

DRD 15:0     AGNUS
DRA 8:0      AGNUS
_EXTICK      GARY
_CASL        AGNUS
_CASU        AGNUS
_RAS0        AGNUS
_RAS1        AGNUS
_WE          AGNUS
_CCK_A       AGNUS, Invert CCK*
_CLKRD       GARY
_CLKWR       GARY
D 3:0        AGNUS
A 5:2        AGNUS

Also, there is not a lot of room under the PSU, but I checked, and there are 56-pin IDC ribbon cables available from DigiKey. I don't know how well the Amiga would drive signals over much cable length though.

amipieTOASTER2K commented 5 years ago

Hi Guys, Thanks for the quick response. I will initially test an A314 on my A500... I was planning on using a non occupied Zorro-II slot (ultimately my current non-linked ami-pie slot). A Zorro board incorporating a header plug for your A314 board as well as a shielded ribbon cable to an Agnus socket module/board (daughter-board). I would hope to include the Mega Chip 2MB (+1MB really) on the Zorro card. Shielded clip (or solder) leads to Gary or A larger Agnus socket daughter-board incorporating Gary 5719 via a through socket? (old wire wrap i.e long legs). Yes, the Amiga's ability (or lack thereof) to drive signals as well as signal interference is a concern. I am willing to try though.... Out of the question with modern hardware. The Amiga is a little more forgiving at its frequencies.... Though I lack the experience here. A shielded ribbon cable might not be enough. Impedance mismatches, signalling/timing issues-skew/overshoot etc. I have a modified Amiga 2000 utilizing a [Super-obese (EXTREMELY-FAT-LADY) Agnus 8372B 318069-03] he...he... ;-) and 2MB chip ram. Compatibilty issues with the Toaster also I guess... I would remove it first... Thanks for the heads up on the Hex inverter... which would live on the daughter-board with other buffering... A2000 support could be a real can-o-worms... at least in my perceived form factor. Perhaps I should stop being a tight a$$ and just buy a Vampire... Anyone using a Vampire with a VideoToaster? I do love to tinker with my Amiga's... Cheers,

nonarkitten commented 5 years ago

There should be no compatibility issues with Toaster with the A314 and we have users in the Apollo Team who use the Vampire and Lightwave all the time, so I'm assuming it works fine, but it's untested. The Vampire will only really help with Lightwave, of course.

The Agnus/Gary adapter is the only solution for the A314 in the Amiga 2000. The Zorro slots will not work -- there is no try. It's a simple enough board -- maybe an afternoon of routing and adding one MOSFET to invert the CLK_A signal?

A314toA2000.zip

I'm no EE, this was drawn up in an afternoon and probably has TONS of errors. But it's a start.

nonarkitten commented 5 years ago

WIP: https://easyeda.com/Renee/amiga-a315. Boards have been ordered and testing will commence when they arrive.

rdesaintleger commented 1 year ago

Hi.

I'm quite new to Amiga Hardware addons. But according to schematics, the Amiga 2000 already have a clock chip on board. Isn't there a risk to have two clock chips sharing the same signals ?

A solution would be to use the _OVR signal to disable Gary address decoding process (but I have to admit that this way of doing things is not clear to me).

About Zorro implementation of the A314 it would be much more complicated. From my understanding of hardware and schematics, cards on the Zorro bus can master the 68k bus by issuing a request/acknowledge to buster. Once they do so, they can read/write anywhere including chip and fast as long as the target address is within the 24bits addressing of the original 68k bus (that may not be the case for the blizzard 2060 fast ram for example).

DIYsciBorg commented 11 months ago

Ok then.. lets get crazy.. what if the A314-CP version was installed on a Zorro clockport board like https://gitlab.com/MHeinrichs/Zorro-LAN-IDE