DFB1 Support thread

Discussion and support for the DSTB1 & DFB1 boosters by BadWolf..
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: DFB1 Support thread

Post by Badwolf »

I did try patching TOS4.04 the way Hatari does to declare TT-RAM nice and early in the process, but can't find that image for the life of me.

For anyone with flash on their DFB1, that might be worth trying.

It could be hard coded to your specific board or, if someone's feeling particularly fly, the TT-RAM detect-and-test code from TOS3 could be patched in.

https://github.com/hatari/hatari/blob/m ... tos.c#L692

This overwrites some early code to jump to the patched area

https://github.com/hatari/hatari/blob/m ... tos.c#L693

This is the new code location.

https://github.com/hatari/hatari/blob/m ... tos.c#L185

And this is the actual code.

Anyone want to have a go with a hex editor and TOS404.IMG ?

BW
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
User avatar
frank.lukas
Posts: 812
Joined: 19 Jan 2018 11:52

Re: DFB1 Support thread

Post by frank.lukas »

I order some HN27C4096 ...
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: DFB1 Support thread

Post by Badwolf »

OK, I had another go.

This is untested other than in Hatari (with --patch-tos 0 set).

This applies most of the Hatari patch but hard codes the TT-RAM declaration to be 64MB rather than looking at a system variable.

I might have a go on this tomorrow with my card that has flash on it, but I can't test SCSI read/write, I'm afraid.

This does not set _FRB

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
markus0321
Posts: 146
Joined: 19 Dec 2020 11:42
Location: Zielona Gora

Re: DFB1 Support thread

Post by markus0321 »

Badwolf wrote: 25 Nov 2022 17:17 OK, I had another go.

This is untested other than in Hatari (with --patch-tos 0 set).

This applies most of the Hatari patch but hard codes the TT-RAM declaration to be 64MB rather than looking at a system variable.

I might have a go on this tomorrow with my card that has flash on it, but I can't test SCSI read/write, I'm afraid.

This does not set _FRB

BW
With HDDRIVER 11.13 it loads and freezes on screen as attached.

IMG_20221125_203709.jpg

Version 9.0 similarly only 4 bombs appear...

IMG_20221125_204430.jpg
You do not have the required permissions to view the files attached to this post.
Rustynutt
Posts: 230
Joined: 29 Sep 2017 08:24
Location: USA

Re: DFB1 Support thread

Post by Rustynutt »

markus0321 wrote: 25 Nov 2022 08:51
Badwolf wrote: 24 Nov 2022 21:46

It's probably not worth repartitioning just to test an ancient bit of software, it was just on the off-chance the partition tables were compatible already.

I think it's time to raise the issue with Uwe.

BW
I did some more testing using the AHDI driver.
It works stably, the system does not hang when I have ALT-RAM memory active in TOS4.04. Too bad AHDI doesn't use more than 1GB of disk space.
EDIT:
I'll try to check if ICD PRO will work properly, I'm not sure but I think it supports drives up to 16GB and certainly up to 10GB, so it should be suitable for old SCSI drives.
Make sure if you partition with ICD Pro, and decide to return to HD Driver later, run the ICD fix patch included with HD Driver.
.There's a readme in the file archive that covers it.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: DFB1 Support thread

Post by Badwolf »

markus0321 wrote: 25 Nov 2022 19:49 With HDDRIVER 11.13 it loads and freezes on screen as attached.


IMG_20221125_203709.jpg


Version 9.0 similarly only 4 bombs appear...


IMG_20221125_204430.jpg
You can’t also run MAPROM!

This will only work if HDDriver recognises TTRAM and adds the FRB. It’s an experiment, but it does MAPROM/FASTRAM’s job.

BW
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
Rustynutt
Posts: 230
Joined: 29 Sep 2017 08:24
Location: USA

Re: DFB1 Support thread

Post by Rustynutt »

markus0321 wrote: 24 Nov 2022 21:33
Badwolf wrote: 24 Nov 2022 20:36

Great research, Markus. Thank you.

Does anyone who's actually experiencing this problem have an open ticket with Uwe at the moment? The above is extremely useful information if it could be passed on, please.

In the meantime, does ADHI recognise your partitions?

BW
I only found version 6.061 and it doesn't see the partition. I will have to prepare everything again on the second SCSI disk and transfer the files for testing.
EDIT:
It succeeded and only sees the first two partitions from this SCSI disk. I was able to install AHDI on drive C and boot from SCSI. From what I've managed to check, programs that didn't run before now work properly and I don't have to boot from a floppy disk. Unfortunately, I do not see the partition above the letter D, so there is no way to check if the archives are unpacking correctly. For sure I have to set up smaller partitions for AHDI or use a smaller disk size.
Here's an archive of AHDI, believe the latest as well as the latest HDX Tools. It's sort of a jumbled mess but served me well back then.
Just to add them out there, think you've found they don't solve the issue.
You do not have the required permissions to view the files attached to this post.
markus0321
Posts: 146
Joined: 19 Dec 2020 11:42
Location: Zielona Gora

Re: DFB1 Support thread

Post by markus0321 »

Rustynutt wrote: 26 Nov 2022 02:59
markus0321 wrote: 24 Nov 2022 21:33

I only found version 6.061 and it doesn't see the partition. I will have to prepare everything again on the second SCSI disk and transfer the files for testing.
EDIT:
It succeeded and only sees the first two partitions from this SCSI disk. I was able to install AHDI on drive C and boot from SCSI. From what I've managed to check, programs that didn't run before now work properly and I don't have to boot from a floppy disk. Unfortunately, I do not see the partition above the letter D, so there is no way to check if the archives are unpacking correctly. For sure I have to set up smaller partitions for AHDI or use a smaller disk size.
Here's an archive of AHDI, believe the latest as well as the latest HDX Tools. It's sort of a jumbled mess but served me well back then.
Just to add them out there, think you've found they don't solve the issue.
Thanks for the files. I know I didn't solve the problem.
On AHDI, the problem is practically not revealed. With HDDRIVER ver <10.0 the crashes are sporadic but still noticeable from time to time. ICD drivers also don't work properly, yesterday I tried to run them, but I didn't even install them on the SCSI drive because when I started them from the floppy disk, I couldn't run the programs from the disk.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: DFB1 Support thread

Post by Badwolf »

Unless you plan to switch to ICD or AHDI, there is no further point in testing them. We’ve proved HDDriver isn’t behaving as expected, so now a bug report needs to be raised with Uwe.

Specifically: HDDriver does not seem to honour the _FRB cookie when it is set after HDDriver initially loads.

Please someone who is experiencing this problem raise this on his forum.

BW
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
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: DFB1 Support thread

Post by Badwolf »

Badwolf wrote: 25 Nov 2022 17:17 This is untested other than in Hatari (with --patch-tos 0 set).
This applies most of the Hatari patch but hard codes the TT-RAM declaration to be 64MB rather than looking at a system variable.
This does not set _FRB
Just tried this on my DFB1 that has on-board flash and it does successfully declare 64MB TT-RAM very early in proceedings. Obviously FASTRAM/MAPROM should not be used with this image, therefore.

I don't know if this would help with the HDDriver problem or not as the examples Markus has tried were both with MAPROM still in the AUTO folder.

Incidentally, I've released a new version of DFB1's flashing application. No real difference to the binary that's been floating around, but the source is now also available:- https://github.com/dh219/DFB/tree/main/DFB-Tools

Cheers,

BW
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

Return to “DSTB1 & DFB1 booster by BadWolf”

Who is online

Users browsing this forum: ClaudeBot and 1 guest