Falcon/TT CF drive images & TF536

Blogs & guides and tales of woo by forum members.
Post Reply
Steve
Posts: 2570
Joined: Fri Sep 15, 2017 11:49 am

Falcon/TT CF drive images & TF536

Post by Steve »

Hiyas,

I noticed while playing around with my TF536 that it doesn't seem to work with my Falcon/TT CF card drive images. I *think* I have to plug the IDE cable in backwards for the TF536 IDE to work (maybe someone else can jog my memory) And perhaps that has something to do with it.. perhaps it is something to do with byteswapping?

I remember seeing in another thread somewhere, perhaps one of @Badwolf 's, that I can change the byte order of my disk images with a simple Linux command?

Anyhow, hoping someone can clear my understanding of this so I may be able to use those disk images :)

Cheers
User avatar
alexh
Posts: 698
Joined: Tue Oct 17, 2017 4:51 pm
Location: Oxfordshire

Re: Falcon/TT CF drive images & TF536

Post by alexh »

I don't think you'll be able to plug the cable in backwards but you might be able to use a byte-swapped data cable. These were common on the Atari ST after Pera Putnik wrote a HDD driver for it. It can increase effective data transfer speed on 68000 CPUs.

It involves twisting lines 3-18 on the cable 180'.

Image

But you should confirm that is required first.

There is some discussion in this thread about using a byte-swapped cable with TOS (I think EMUTOS is autoswitching?) when using TF536

https://www.exxosforum.co.uk/forum/viewt ... 9&start=30
Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Steve
Posts: 2570
Joined: Fri Sep 15, 2017 11:49 am

Re: Falcon/TT CF drive images & TF536

Post by Steve »

Oh cheers I'll give this a read :)
User avatar
Badwolf
Posts: 2228
Joined: Tue Nov 19, 2019 12:09 pm

Re: Falcon/TT CF drive images & TF536

Post by Badwolf »

Wot Alex said. Nothing to do with me, I'm afraid!

I'd suggest trying it with the latest snapshot of EmuTOS first (PRG version should suffice) as it may pick up the partitions in byte swapped mode (depending on what driver was used to make them).

The cable is a method of hardware swapping the data lines, the software method is to do a:

Code: Select all

dd conv=swab if=source.img of=dest.img
Hatari is also capable of auto-byte-order-detect on an image, but you can also set swapped or unswapped for the purposes of testing what you've done.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Steve
Posts: 2570
Joined: Fri Sep 15, 2017 11:49 am

Re: Falcon/TT CF drive images & TF536

Post by Steve »

Cheers @Badwolf that's the command I'm looking for! Hopefully that will allow me to use my disk images.
Steve
Posts: 2570
Joined: Fri Sep 15, 2017 11:49 am

Re: Falcon/TT CF drive images & TF536

Post by Steve »

Badwolf wrote: Thu Jan 20, 2022 2:33 pm Wot Alex said. Nothing to do with me, I'm afraid!

I'd suggest trying it with the latest snapshot of EmuTOS first (PRG version should suffice) as it may pick up the partitions in byte swapped mode (depending on what driver was used to make them).

The cable is a method of hardware swapping the data lines, the software method is to do a:

Code: Select all

dd conv=swab if=source.img of=dest.img
Hatari is also capable of auto-byte-order-detect on an image, but you can also set swapped or unswapped for the purposes of testing what you've done.

BW

BW - just wanted to let you know this byte-swap command allowed my backed-up TT/Falcon images to work on the TF536! Cheers
mikro
Posts: 474
Joined: Mon Aug 28, 2017 11:22 pm
Location: Kosice, Slovakia
Contact:

Re: Falcon/TT CF drive images & TF536

Post by mikro »

When you mention TT... you wouldn't happen to use an SCSI adaptor in both TT and Falcon, would you? If so, that would explain the need for byte swapping in TF536. Same would happen if you connected the card via Falcon's IDE.

And as @Badwolf mentioned, latest EmuTOS snapshots have already support for automatic byte swapping when using a card from ACSI/SCSI on IDE bus but of course it hurts performance. For an one-time backup it is fine, though.
Steve
Posts: 2570
Joined: Fri Sep 15, 2017 11:49 am

Re: Falcon/TT CF drive images & TF536

Post by Steve »

@mikro IDE in the Falcon and Thunder IDE in the TT. I am using EMUTOS 1.1.1 in ROM but that wasn't byte swapping.
User avatar
Badwolf
Posts: 2228
Joined: Tue Nov 19, 2019 12:09 pm

Re: Falcon/TT CF drive images & TF536

Post by Badwolf »

Steve wrote: Fri Jan 21, 2022 11:17 am @mikro IDE in the Falcon and Thunder IDE in the TT. I am using EMUTOS 1.1.1 in ROM but that wasn't byte swapping.
There have been some changes to the byte-swapping support in EmuTOS very recently. I'm afraid I don't recall the details, but a PRG snapshot may have had an effect.

Obviously doing the swap permanently will be more efficient, though.

BW.
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
DSTB1 Open source 16Mhz 68k and AltRAM accelerator for the ST
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Post Reply

Return to “MEMBER BLOGS”