Re: Raspberry PI PICO ATARI ST Hard Drive Emulator (WIP)
Posted: 16 May 2023 12:57
These are DRQ vs CLK8.
220MHz ( basically the same as ultrasatan timing wise ) - Generally works
150MHz - Generally fails
I also did some experiments with altering the pull-up R301 (DRQ inverter output)
1K DRQ - default
fall 10ns
rise 100-150ns
-failed on creating folder.
500R DRQ
10ns fall
~60ns rise.
-folder creates - copied several files, failed on HDUTIL.APP. pressing retry continued.
220R DRQ
rise 10ns
-failed on creating folder.
So even changing the rise time can make or break this problem it seems.
How it looks, DRQ must actually fall on the 8MHz clock high in order to avoid whatever this problem is.
It must just be a colossal fluke that ultrasatan does this when the Pico drive does it differently and fails.
Don't get me wrong I'm not blaming the drive or the booster for these problems, it is something very peculiar happening with the STE timings somehow when used in this very specific hardware setup.
I do also remember having problems with such signals with Gigafile on a otherwise stock STFM machine. I ended up putting capacitors on the signal which solve the problem at the time. So maybe this problem, whatever it is, is more problematical than I first thought.
It is slightly interesting Atari change the arrangement of the inverter on DRQ. on the original STFM it as a pull-up resistor on its input and is a "push pull" inverter feeding the DMA directly. However on the STE, it is a open collector inverter with the pull-up on its output. Maybe they were just gate saving but there could be other reasons as well I guess.
220MHz ( basically the same as ultrasatan timing wise ) - Generally works
150MHz - Generally fails
I also did some experiments with altering the pull-up R301 (DRQ inverter output)
1K DRQ - default
fall 10ns
rise 100-150ns
-failed on creating folder.
500R DRQ
10ns fall
~60ns rise.
-folder creates - copied several files, failed on HDUTIL.APP. pressing retry continued.
220R DRQ
rise 10ns
-failed on creating folder.
So even changing the rise time can make or break this problem it seems.
How it looks, DRQ must actually fall on the 8MHz clock high in order to avoid whatever this problem is.
It must just be a colossal fluke that ultrasatan does this when the Pico drive does it differently and fails.
Don't get me wrong I'm not blaming the drive or the booster for these problems, it is something very peculiar happening with the STE timings somehow when used in this very specific hardware setup.
I do also remember having problems with such signals with Gigafile on a otherwise stock STFM machine. I ended up putting capacitors on the signal which solve the problem at the time. So maybe this problem, whatever it is, is more problematical than I first thought.
It is slightly interesting Atari change the arrangement of the inverter on DRQ. on the original STFM it as a pull-up resistor on its input and is a "push pull" inverter feeding the DMA directly. However on the STE, it is a open collector inverter with the pull-up on its output. Maybe they were just gate saving but there could be other reasons as well I guess.