Page 9 of 10
Re: TF536 - Freeze on Disk (write) access?
Posted: 30 Mar 2021 23:37
by terriblefire
ok it seemed to happen on third attempt.
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 08:21
by PaulJ_2.0
terriblefire wrote: 30 Mar 2021 23:37
ok it seemed to happen on third attempt.
It took me ages to reproduce and I've only had it happen once.
I moved 4GB of files from DH3: to DH2: expecting it to lock fairly fast. It took until 98% to lock.
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 08:29
by lilwashu
It would fairly regularly happen for me when unarchiving something using lha or zip to the same partition.
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 09:15
by terriblefire
Ok i see whats happening now but i kinda dont understand why... or at least why this doesnt happen on the TF534.
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 10:33
by go0se
terriblefire wrote: 30 Mar 2021 23:27
im currently testing this but i've not been able to reproduce.
What disks are people using? I strongly recommend Kingston drives for amiga.
I haven't noticed any difference with different disks or adapters. I am able to reproduce on V.H2 CF to IDE adapters using Transcend standard "Orange" and "Industrial" 8GB and 16GB cards.
Also SD to IDE adapters using Verbatim Class 10 and Sandisk "Ultra" Red class 10 as well as some other generic cards.
Have you recreated it on a Kingston now?
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 12:07
by terriblefire
Here is the issue.
The INT2 emulation is producing too short a DSACK pulse. But i dont yet understand why. I will look at later after work and get more signals on the trace.
intenar.JPG
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 12:53
by GadgetUK164
Great progress! Nice of you to have a look at this whilst packing!! =D
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 13:44
by terriblefire
I think i know whats happening...
Being a smart arse I decided to only patch the INT2 bit in INTENAR if there was an INT2 pending. In this case i latch DTACK then do other stuff.
However if you hammer the IDE interface eventually you can make INT2 assert mid-cycle reading INTENAR... but too late for DTACK to register that we need to respond.. However the rest of the logic holds the machine in a wait.
Evil.
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 15:01
by terriblefire
youdont.jpeg
tf536_2021_03_31_RC3.zip
Re: TF536 - Freeze on Disk (write) access?
Posted: 31 Mar 2021 15:19
by PaulJ_2.0
You Sir, are a champion among men.
/me salutes.