DMA port "update" ideas..

All information relating to the Alpha plus all the WIP threads etc.
Post Reply
User avatar
exxos
Site Admin
Site Admin
Posts: 23437
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

DMA port "update" ideas..

Post by exxos »

I started a seperate thread for this...

For those not aware... https://www.exxosforum.co.uk/forum/viewt ... 500#p11552

We finally solved the "idea" behind the STE DMA buffers. Basically the 1772 does not "let go" of the bus until , up to 150ns later...

1772.jpg
1772.jpg (44.88 KiB) Viewed 7187 times
The Odd thing is the STFM really should have never worked with a hard drive attached. It is possible as the 1772 delay is from 20-150ns, that maybe some batches of 1772 worked, when others did not due to a higher delay...

If I remember rightly, Atari hard drives did not suffer from issues, but 3rd party drives sometimes did.. What we do know is the Atari hard drives had buffers on the inputs... and a fair amount of logic on the buffer enable line... of course on the STFM, if the buffers did not isolate the DMA, the bus would conflict.. So this could explain those 3rd party drives not working if they didn't add the "delay buffers".. All food for thought I guess....


Looking at the STE circuit...

ste.jpg
ste.jpg (98.24 KiB) Viewed 7187 times

The DMA port gets "delayed" by one clock cycle after FDCS goes high. This makes sense as the 1772 can hold the bus for that time. So if the DMA port was active, it could actually short out the 1772 bus to the DMA bus (same bus different DMA devices).

What I don't like is the "delay" on the DMA port which could attribute to DMA issues on the STE..

So my thought here is a patch board on the 1772 to add in a 74LS245 bus transceiver to isolate the 1772 once the DMA de-selects the 1772 via FDCS. This way, there is no bus conflict and no delay on the DMA port. It would also not matter the "delay" (20-150ns) of the 1772 as it would be isolated automatically.

As a side thought, it may still be a idea to add buffers on the DMA port itself (like the STE does but without delay).. Though I am still in 2 minds if its really needed or not yet... Really they would be there to protect the DMA chip more than anything.. cheaper to replace LS chips than the DMA... So I am leaning towards adding the buffers in later revisions...
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Icky
Site Admin
Site Admin
Posts: 3974
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: DMA port "update" ideas..

Post by Icky »

exxos wrote: Sun Oct 14, 2018 10:59 pm As a side thought, it may still be a idea to add buffers on the DMA port itself (like the STE does but without delay).. Though I am still in 2 minds if its really needed or not yet..
So the reason I like the idea of having buffers on the DMA port too is based on the discussion you mentioned that some devices had them built in and others didn’t.
exxos wrote: Sun Oct 14, 2018 2:56 am Yeah I saw Atari drives have the buffers, again odd that ste have same buffers again... I guess it could explain a little why Atari drives seemed to work better than 3rd party ones back in the day. I guess most issues were with pre-ste machines as I assume 3rd party drives may not have the buffers and could fail to function correctly.
Makes sense now that some drives don’t work well.
User avatar
exxos
Site Admin
Site Admin
Posts: 23437
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DMA port "update" ideas..

Post by exxos »

Icky wrote: Sun Oct 14, 2018 11:22 pm So the reason I like the idea of having buffers on the DMA port too is based on the discussion you mentioned that some devices had them built in and others didn’t.
Yeah, I guess in the spirit of retro and fixing things, buffers should really be added..
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23437
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DMA port "update" ideas..

Post by exxos »

Looks right on paper :)

1772.png
1772.png (79.63 KiB) Viewed 7130 times
transceiver-octal-bidireccional-tri-estado-74ls245.jpg
transceiver-octal-bidireccional-tri-estado-74ls245.jpg (41.68 KiB) Viewed 7130 times
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
rpineau
Posts: 534
Joined: Thu Aug 17, 2017 6:08 pm
Location: USA
Contact:

Re: DMA port "update" ideas..

Post by rpineau »

looks right to me too :)
Working ones : MegaSTE (68020) / TT030 / Falcon with AB040 & Eclipse / 1040STF
Need testing : Falcon with CT2
User avatar
exxos
Site Admin
Site Admin
Posts: 23437
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DMA port "update" ideas..

Post by exxos »

Here is the PCB file..

f3119fb02d8314a8bf43854323a01737.png
f3119fb02d8314a8bf43854323a01737.png (70.36 KiB) Viewed 7105 times
1772_BUFFER.zip
(9.38 KiB) Downloaded 255 times

OSH is $17.25 for 3... Little expensive I think particularly people only want one PCB... I could get a small batch of them done for my store, I could list them without signed for postage keep costs down.. This will of course be little cheaper for people I think.. But of course people overseas this could take 2-3 months to get the stuff..

What do people want to do ?
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
PhilC
Moderator
Moderator
Posts: 5984
Joined: Fri Mar 23, 2018 8:22 pm

Re: DMA port "update" ideas..

Post by PhilC »

Happy to order one from you with the other bits I need.
If it ain't broke, test it to Destruction.
User avatar
Icky
Site Admin
Site Admin
Posts: 3974
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: DMA port "update" ideas..

Post by Icky »

Forgottenmyname wrote: Mon Oct 15, 2018 9:01 pm Happy to order one from you with the other bits I need.
+1

At this rate the STF Remake will be littered with piggy back boards. At least this is going to give you a good solid foundation for the BETA board.
User avatar
exxos
Site Admin
Site Admin
Posts: 23437
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: DMA port "update" ideas..

Post by exxos »

Icky wrote: Mon Oct 15, 2018 9:41 pm
Forgottenmyname wrote: Mon Oct 15, 2018 9:01 pm Happy to order one from you with the other bits I need.
+1

At this rate the STF Remake will be littered with piggy back boards. At least this is going to give you a good solid foundation for the BETA board.
OK, will order 10 of the things....

Yeah Going to have stuff bodged all over the place on the thing ultimately... Just wait until the FPGA stuff kicks into gear...

Of course this 1772 board was one of those unforeseen mods.. didn't think we would be having to debug the original circuit design as well..
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
troed
Moderator
Moderator
Posts: 905
Joined: Mon Aug 21, 2017 10:27 pm

Re: DMA port "update" ideas..

Post by troed »

I thought Icky got floppy and DMA working without a bodge?
Post Reply

Return to “ALPHA DEVELOPMENT INFO”