FujiNetWIFI / fujinet-firmware

8-bit systems to ESP32 WiFi Multifunction Firmware
https://fujinet.online
GNU General Public License v3.0
224 stars 68 forks source link

SIO highspeed problem (Atari) #600

Closed XeAtari closed 1 month ago

XeAtari commented 1 year ago

Hi,

Since some time ago I had the feeling that there was some kind of problem when using highspeed SIO routines.

As you will know a highspeed SIO routine queries a speed byte from the drive in normal speed and then sends succeeding read or write commands in highspeed.

Test environment:

Atari 130 XE (PAL) with FujiNet connected, nothing else on the SIO, stock OS SD-Card in FujiNet Drives 1-8 mounted with ATRs on SD card Drive 1 contains SpartaDOS 33b (uses US Doubler SIO for highspeed) SIO-speed: 9

Steps:

Boot DOS -> OK DIR D1: -> OK DIR D2: -> OK DIR D3: -> OK DIR D4: -> OK DIR D5: -> Timeout DIR D6: -> OK DIR D5: -> OK (D5 now works) DIR D7: -> Timeout DIR D8: -> OK DIR D7: -> OK (D7 now works)

If I use a different order to call drives then different drives time out.

But if I go 1-2-3-4-5 it is always D5 that times out.

If I go 1-2-3-4-6, no 6 does not time out. Weird.

If I perform the procedure a second time without resetting the Atari drives do not time out. This will be because the Atari already knows the highspeed value for each drive and does not query it again. So there is no mixture of normal and highspeed on the SIO bus.

If I perform the very same test procedure running APE (registered version) or RespeQT, the problem does not occur.

Attached please find flasher logs.

See issue #549, maybe that is related.

The problem is not related to the beta firmware used, I guess.

HighSpeed-Problem.TXT

XeAtari

tschak909 commented 1 year ago

@XeAtari may I get a copy of that SpartaDOS 3.3b you're using? I can't reproduce the problem.

tschak909 commented 1 year ago

Well, nevermind, I was able to reproduce it with the dupdsk problem in SpartaDOS X. This is weird.

tschak909 commented 1 year ago

I have a potential fix, can you try this build zip with the fujinet flasher? fujinet-ATARI-v1.0.zip

XeAtari commented 1 year ago

Hi,

thanks a lot for looking into this.

Unfortunately I cannot compile firmwares myself so I'll have to wait for a release.

In case you still need SpartaDOS 3.3b please tell me. I'll send an ATR.

==

Thomas Cherryhomes @.***) schrieb:

Closed #600 https://github.com/FujiNetWIFI/fujinet-platformio/issues/600 as completed via d377d69 https://github.com/FujiNetWIFI/fujinet-platformio/commit/d377d695a7a5fffce98bcaf704ffb65cc949a57d.

— Reply to this email directly, view it on GitHub https://github.com/FujiNetWIFI/fujinet-platformio/issues/600#event-9913966641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZY3P3EGEEWIEMJOONPVMFDXR7W5RANCNFSM6AAAAAAXX5PVSI. You are receiving this because you were mentioned.Message ID: @.***>

XeAtari commented 1 year ago

Hello Thom,

I installed v1.1.0 (2023-08-13) only a few minutes ago.

I extensively ran DIR commands using SD33B across all 8 drives.

I did no longer encounter the problem so it looks like you managed to solve things. Great job!

Best, XeAtari

==

Thomas Cherryhomes @.***) schrieb:

I have a potential fix, can you try this build zip with the fujinet flasher?

— Reply to this email directly, view it on GitHub https://github.com/FujiNetWIFI/fujinet-platformio/issues/600#issuecomment-1650170441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZY3P3A2PU7APROHYKMEEFLXR7YTXANCNFSM6AAAAAAXX5PVSI. You are receiving this because you were mentioned.Message ID: @.***>

tschak909 commented 1 year ago

Am glad :) -Thom

On Mon, Aug 21, 2023 at 12:54 PM XeAtari @.***> wrote:

Hello Thom,

I installed v1.1.0 (2023-08-13) only a few minutes ago.

I extensively ran DIR commands using SD33B across all 8 drives.

I did no longer encounter the problem so it looks like you managed to solve things. Great job!

Best, XeAtari

==

Thomas Cherryhomes @.***) schrieb:

I have a potential fix, can you try this build zip with the fujinet flasher?

— Reply to this email directly, view it on GitHub < https://github.com/FujiNetWIFI/fujinet-platformio/issues/600#issuecomment-1650170441>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AZY3P3A2PU7APROHYKMEEFLXR7YTXANCNFSM6AAAAAAXX5PVSI . You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/FujiNetWIFI/fujinet-platformio/issues/600#issuecomment-1686777788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVBYZVHMYIALMJK5DQSMWLXWOOGRANCNFSM6AAAAAAXX5PVSI . You are receiving this because you modified the open/close state.Message ID: @.***>