Falcon SCSI write issues

Problems with your machine in general.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Falcon SCSI write issues

Post by stephen_usher »

Or an internal hardware counter goes screwy when the 23rd address line gets used?

Remember that the Falcon was rushed out the door so I imagine that not all the bugs were found or fixed in the silicon.

I wonder if there are any clues in the Linux m68k kernel, 'cos I guess that supports more than 4MB of RAM and SCSI.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Falcon SCSI write issues

Post by exxos »

stephen_usher wrote: 23 Sep 2025 22:49 Or an internal hardware counter goes screwy when the 23rd address line gets used?

Remember that the Falcon was rushed out the door so I imagine that not all the bugs were found or fixed in the silicon.

I wonder if there are any clues in the Linux m68k kernel, 'cos I guess that supports more than 4MB of RAM and SCSI.
There was some Linux chatter I saw earlier but was a bit hard to follow.. But one site did hint at a driver update because of large file transfer errors.. But I can't conclusively prove that.

If jookies test program stops dead at like a 4mb mark then it's likely a design flaw :( I mean did Atari copy/paste some stuff from the ST series of logic and forgot to update it for more RAM.. Hope I'm wrong as that wouldn't be fixable..

I wonder. If there's a falcon ram disk I can create a 4mb drive, really just to eat up 4mb of RAM.. then try hd12.71 to see if it still works.. It should prove if there's a hard DMA limit..
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Falcon SCSI write issues

Post by stephen_usher »

Of course the best way would be to write a test program which accessed the hardware directly doing raw writes to the SCSI device and then raw reads. You don't have the OS and driver getting in the way possibly interfering with your experiment and reading and writing from the FAT as you're writing to the file.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Falcon SCSI write issues

Post by exxos »

stephen_usher wrote: 24 Sep 2025 10:09 Of course the best way would be to write a test program which accessed the hardware directly doing raw writes to the SCSI device and then raw reads. You don't have the OS and driver getting in the way possibly interfering with your experiment and reading and writing from the FAT as you're writing to the file.
That's what jookies program does. He just sent it to me and I quickly tested and sent him the results.. So far 3MB passes and 4mb+ fails.

I have to go out now so can't so anymore tests until I get back home.
Steve
Posts: 3305
Joined: 15 Sep 2017 11:49

Re: Falcon SCSI write issues

Post by Steve »

Are we saying that in 30 odd years, Uwe Siemet hasn't noticed such a fundamental flaw in the Falcon SCSI system. Also in a similar amount of years, the EmuTOS team also hasn't, and perhaps the Hatari team? I just find it hard to believe. (Don't get me wrong, I'm not saying this problem doesn't exist, the whole situation just beggars belief)
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Falcon SCSI write issues

Post by Badwolf »

exxos wrote: 23 Sep 2025 23:08 I wonder. If there's a falcon ram disk I can create a 4mb drive, really just to eat up 4mb of RAM.. then try hd12.71 to see if it still works.. It should prove if there's a hard DMA limit..
Here's a small program that does nothing but steal ST-RAM from your system starting as low as possible in memory.

By default it'll take the lowest 4MB it can, but you can configure how much to steal by giving it a (decimal) number on the TTP command line.

membgone.zip

It works by allocating as many blocks of your requested size (eg. 4MB) as possible in the memory available, then freeing all but the lowest one and exiting. It does it like this to avoid any assumptions about the order of allocation by whatever OS's malloc() tool is in use but it has a weakness that if, for some reason, blocks are allocated from the top to the bottom and there's not a nice integer number of blocks that can fit in the memory available, there will be up to one block size of gap at the bottom of available ST-RAM. This is very much a conceptual problem, however as on a clean machine under TOS4, I think it allocates upwards. I spent too much time thinking about this, really...

Anyway, long story short, run it without any parameters and you'll have 4MB less. Almost certainly at the bottom of RAM. Run it again, it's 8MB gone. etc. You can verify this under 'Desktop Configuration'.

BW
You do not have the required permissions to view the files attached to this post.
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
mikro
Posts: 820
Joined: 28 Aug 2017 23:22
Location: Kosice, Slovakia

Re: Falcon SCSI write issues

Post by mikro »

Steve wrote: 24 Sep 2025 11:50 Are we saying that in 30 odd years, Uwe Siemet hasn't noticed such a fundamental flaw in the Falcon SCSI system. Also in a similar amount of years, the EmuTOS team also hasn't, and perhaps the Hatari team? I just find it hard to believe.
I'm equally sceptical. This issue needs more testers. @whomper, @kohli79 and @don_apple reported their experience here: viewtopic.php?p=134323#p134323 but it's all bogus because they used HDDriver 12.71 without the "Fast SCSI" option enabled, therefore limiting the transfer buffer to 64 KiB.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Falcon SCSI write issues

Post by stephen_usher »

The question is, how many Falcon owners have used SCSI for storage other than CDROMs?

Given that the main storage for the Falcon is the IDE drive I somewhat doubt there's a very large number of people trying to use SCSI storage as (a) the number of Falcons is small, (b) most were for music composition where the storage of MIDI data would be easily held on the internal IDE drive. So, probably a vanishingly small number.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
mikro
Posts: 820
Joined: 28 Aug 2017 23:22
Location: Kosice, Slovakia

Re: Falcon SCSI write issues

Post by mikro »

stephen_usher wrote: 24 Sep 2025 13:43 The question is, how many Falcon owners have used SCSI for storage other than CDROMs?

Given that the main storage for the Falcon is the IDE drive I somewhat doubt there's a very large number of people trying to use SCSI storage as (a) the number of Falcons is small, (b) most were for music composition where the storage of MIDI data would be easily held on the internal IDE drive. So, probably a vanishingly small number.
I have to disagree. Just recently I have inherited a musician's Falcon and got a heap of SCSI ZIP disk media full of files with tens of MB each.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Falcon SCSI write issues

Post by exxos »

Badwolf wrote: 24 Sep 2025 12:13 Here's a small program that does nothing but steal ST-RAM from your system starting as low as possible in memory.
Awesome!
Will test it when I get home later.

Return to “HARDWARE ISSUES”

Who is online

Users browsing this forum: ClaudeBot, Qwantbot and 6 guests