Slow DSP investigation with DFB1

Discussion and support for the DSTB1 & DFB1 boosters by BadWolf..
User avatar
whomper
Posts: 104
Joined: Sat Apr 26, 2025 8:08 pm

Re: Slow DSP investigation with DFB1

Post by whomper »

exxos wrote: Wed Oct 28, 2026 10:03 pm CUBASE loads, but won't play anything unless I connect up my SCSI drive, and can't be bothered tonight :)
This looks great! Finally I may be working with DFB1X enabled and Cubase after all. To date I need to disable DFB1X when I work with Cubase.
Whomper
Homepage
Electronic Lab
16 Bit: Falcon (DFB1X/14MB/4+8 GB), 1040STFM, Soundpool SPDIF/FA8, Cubase Audio, Cubase 3
8 Bit: 1200XL, 800XL, 2 x 1050, 1025, Fujinet Pro, 2 x 1010, CX-85, Touch Tablet
User avatar
exxos
Site Admin
Site Admin
Posts: 29679
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Slow DSP investigation with DFB1

Post by exxos »

whomper wrote: Thu Nov 05, 2026 3:22 pm This looks great! Finally I may be working with DFB1X enabled and Cubase after all. To date I need to disable DFB1X when I work with Cubase.
Would be useful if you could test I probably won't have time the next few weeks to mess about with it again.
User avatar
whomper
Posts: 104
Joined: Sat Apr 26, 2025 8:08 pm

Re: Slow DSP investigation with DFB1

Post by whomper »

I have the programmer but have only F16V8BQL-15, both ATF and 15ns. It may seem this part's performance is not enough.

I'll need to order GALs, so will take some time.
Whomper
Homepage
Electronic Lab
16 Bit: Falcon (DFB1X/14MB/4+8 GB), 1040STFM, Soundpool SPDIF/FA8, Cubase Audio, Cubase 3
8 Bit: 1200XL, 800XL, 2 x 1050, 1025, Fujinet Pro, 2 x 1010, CX-85, Touch Tablet
iluvator
Posts: 3
Joined: Sun Sep 05, 2021 6:32 am

Re: Slow DSP investigation with DFB1

Post by iluvator »

I can confirm that Cubase audio is now performing exactly as it should, with no issues whatsoever.
Before applying the fixes, I was still able to record and play back audio, but I experienced audio clicks and pops. Visually, I was also getting a few strange random horizontal bars and dots on the main screen.
Interestingly, I first tried replacing the GAL without updating the DFB1X firmware. Even at this stage, all the CAF issues disappeared.
Even more interestingly, I used a 15 ns GAL, as that was the only one I had available. At this point, my DSPBENCH results were higher than those obtained with the original GAL, but still somewhere in between, rather than reaching the 99–102% figures.
I subsequently updated the DFB1X firmware to v1.06, and the DSPBENCH results were then exactly the same as those reported by EXXOS.
And, of course, Cubase still records and plays back flawlessly!
Congratulations to everyone involved in making this happen!
User avatar
exxos
Site Admin
Site Admin
Posts: 29679
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Slow DSP investigation with DFB1

Post by exxos »

iluvator wrote: Thu Nov 05, 2026 4:08 pm I can confirm that Cubase audio is now performing exactly as it should, with no issues whatsoever.
Awesome !
Before applying the fixes, I was still able to record and play back audio, but I experienced audio clicks and pops. Visually, I was also getting a few strange random horizontal bars and dots on the main screen.
Do you have a clock patch because that sounds like a clock patch issue.
Interestingly, I first tried replacing the GAL without updating the DFB1X firmware. Even at this stage, all the CAF issues disappeared.
Even more interestingly, I used a 15 ns GAL, as that was the only one I had available. At this point, my DSPBENCH results were higher than those obtained with the original GAL, but still somewhere in between, rather than reaching the 99–102% figures.
I subsequently updated the DFB1X firmware to v1.06, and the DSPBENCH results were then exactly the same as those reported by EXXOS.
It sounds about right because timings have to be changed in the DFB1X and the GAL..
And, of course, Cubase still records and plays back flawlessly!
Congratulations to everyone involved in making this happen!
@Badwolf was the powerhouse behind that work.
User avatar
viking272
Site sponsor
Site sponsor
Posts: 305
Joined: Mon Aug 10, 2020 11:32 am
Location: Reading, Berkshire, UK

Re: Slow DSP investigation with DFB1

Post by viking272 »

This is great news!

@exxos, do you sell or can you sell the u68 GAL?
I have searched the store but couldn’t see it.
User avatar
exxos
Site Admin
Site Admin
Posts: 29679
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Slow DSP investigation with DFB1

Post by exxos »

viking272 wrote: Thu Nov 05, 2026 10:50 pm @exxos, do you sell or can you sell the u68 GAL?
I have searched the store but couldn’t see it.
Its not on sale on my store.. Partly because I can't find any GALs. I've got the Atmel ones in my mouser basket but i had given up trying to program them as the power down pin was always enabled. But I've got a different programmer now. So worth another try.

Secondly. I'm not totally sure who's worked on the GAL code. It looks like the reverse engineering came from the lightning team via @Pacman. But It's not my work to sell and i wouldn't without permission.

But also it needs more testing yet and I suggest people just reprogram their falcon gal. That's what I did.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3167
Joined: Tue Nov 19, 2019 12:09 pm

Re: Slow DSP investigation with DFB1

Post by Badwolf »

Holger, @pakman (pakman with a K not a C), did the reverse engineering from the original chip data and provided me with the test JEDs I sent you.

I used these as they were closer to the originals than the work I'd previously done but I had previously got to 100% just fiddling with the equations available on dev-docs (viewtopic.php?t=8042&start=40#p136438).

Pakman verified those equations were actually wrong (at least one intermediate pin is inverted from measured behaviour), but users have been flashing those chips for years, so I suspect it cancels out within the logic somewhere.

I chose to go with Holger's equations for this test as I just trust them more.

We can ask for permission to ship programmed gals with DFB1Xs, but I've not heard back from him for a long time. I hope he's OK.

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
Post Reply

Return to “DSTB1 & DFB1 booster by BadWolf”