DMA on TF Card (AGAIN) - Why it will never work

Help & news on accelerators from TF, Amiga, Atari, CD32 etc

Moderators: terriblefire, Terriblefire Moderator

Post Reply
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

DMA on TF Card (AGAIN) - Why it will never work

Post by terriblefire »

I've seen people demanding I made Amiga 24 DMA work for them with TF cards. This is never going to work.

Some people seem to think this is some last step thats easy to do. And that because they paid someone else money for it I should magically make it work. It cant ever work. Here is why..

DMA works by the CPU giving up the bus and letting another device talk to Memory the same way as a CPU might. It places the memory address on the bus and starts to transfer data directly. But here's the catch. The TF cards are 32 bit address bus cards and Amiga's are 24 bit. The top 8 bits of the address bus are not available on the Amiga so therefore the poor DMA controller cannot actually address my RAM over the bus.

Also my RAM is 32 bits wide and the Amiga's the TF5xx series work on are all 16 bits wide. So its never going to work... ever. No amount of tweaks will ever get this to work. Its baked into the design.

The really poor cards try anyway. The ones with really good drivers spot this and copy data with the CPU rather than use DMA.

Its like trying to dial a phone number with a 9s in it when you only have a 7 digit keypad.

Some people have asked about why the ZIII ram is used in preference to ZII ram which can be DMA'd too. I dont know the answer to this. Its nothing in the Autoconfig settings that i'm aware of. There is no autoconfig way to say "Dont DMA to this device". Its all drivers and I cannot fix 3rd party drivers for everyone.

Also nothing is 10 mins in hardware. Its not like software. You dont compile it and try it.. It takes hours to get the hardware setup in the rig and it takes hours to put it back to the card that i want to be looking at. Context switching takes a whole evening. I spent 18 months on the TF534... another 10 mins is going to achieve nothing.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
kludge
Posts: 393
Joined: Thu Nov 08, 2018 2:05 pm
Location: Sweden

Re: DMA on TF Card (AGAIN) - Why it will never work

Post by kludge »

Good explanation! :cheer:
A kludge is a workaround or quick-and-dirty solution that is clumsy, inelegant, inefficient, difficult to extend and hard to maintain.

My lack of focus:
[ 4 * Amiga 500 ][ Amiga 500+ ][ 2 * Amiga 600 ][ A1200 ][ Amiga 2000 w/ A2386 ][ Amiga 4000/030 w/ CyberVision 64 3D, FastLane SCSI Z3 ][ CD32 ][ VIC-20 ][ 4 * C64 Breadbin ][ 5 * C64C ][ 2 * C128 ][ C128D ][ C64 DTV ][ Mac Classic ][ Mac Classic II ][ Mac Colour Classic ]
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: DMA on TF Card (AGAIN) - Why it will never work

Post by arkadiusz.makarenko »

What would be advantages for average Amiga 500 user in 2019 for DMA support?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: DMA on TF Card (AGAIN) - Why it will never work

Post by terriblefire »

CDTV driver needs DMA.

Generally SCSI cards either will not work or will run at half speed etc
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
utri007
Posts: 161
Joined: Tue Nov 13, 2018 10:20 pm

Re: DMA on TF Card (AGAIN) - Why it will never work

Post by utri007 »

There are very few SCSI card with do DMA and none?? IDE cards. I don't see it as a problem. And for a CDTV, I'm sure that everyone would be happy what ever solution you find to it.
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: DMA on TF Card (AGAIN) - Why it will never work

Post by terriblefire »

CDTV solution will be interesting.

Its the Amiga 2000 users that are unhappy it seems. But I am not really targeting them.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
Post Reply

Return to “Terriblefire's channel”