You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296

BLITTER RE-CREATION THOUGHTS

Progress on our FPGA cores.
User avatar
exxos
Site Admin
Site Admin
Posts: 25190
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

Cyprian wrote: Sat Oct 15, 2022 8:51 pm how to buy that glitter
my ST is waiting for it
Parts shortages :(

Was just looking back at this post viewtopic.php?p=51449#p51449 Seems we never fully solved the odd timing issues :( I guess we need a more "readable" program of tests ;) If we knew exactly what timings was wrong we could adjust that in the FPGA core.

But its is pretty much there really by the looks of it. At last in GB6 tests ;)

IMG_5817.jpeg
IMG_5817.jpeg (104.93 KiB) Viewed 1109 times
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
ijor
Posts: 573
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

exxos wrote: Sat Oct 15, 2022 8:56 pm Was just looking back at this post viewtopic.php?p=51449#p51449 Seems we never fully solved the odd timing issues :( I guess we need a more "readable" program of tests ;) If we knew exactly what timings was wrong we could adjust that in the FPGA core.
Any reason why you don't use my core? It is cycle exact, even in cases more subtle and complicated than the ones on that thread.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
exxos
Site Admin
Site Admin
Posts: 25190
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

ijor wrote: Sat Oct 15, 2022 9:19 pm Any reason why you don't use my core? It is cycle exact, even in cases more subtle and complicated than the ones on that thread.
We did do originally right at the start, EG viewtopic.php?p=50888#p50888 . But I think there was odd timing issues with your core , but different odd issues to what we currently have with @Icky's modified suska core. But I think we went with the suska core as I had permission from Wolfgang to use it in various projects. But I don't remember exactly anymore as it was a few years ago now and @Icky did much of the testing there.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Icky
Site Admin
Site Admin
Posts: 4095
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

exxos wrote: Sat Oct 15, 2022 9:32 pm
ijor wrote: Sat Oct 15, 2022 9:19 pm Any reason why you don't use my core? It is cycle exact, even in cases more subtle and complicated than the ones on that thread.
We did do originally right at the start, EG viewtopic.php?p=50888#p50888 . But I think there was odd timing issues with your core , but different odd issues to what we currently have with @Icky's modified suska core. But I think we went with the suska core as I had permission from Wolfgang to use it in various projects. But I don't remember exactly anymore as it was a few years ago now and @Icky did much of the testing there.
Yep was over 2 years ago and can't really remember the details.

Am looking to get the BLITTER board back on the bench to do some more testing so am happy to load your core @ijor to see the state and issue.
User avatar
exxos
Site Admin
Site Admin
Posts: 25190
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

Icky wrote: Sat Oct 15, 2022 9:36 pm Yep was over 2 years ago and cant really remember the details.
I can't see the results posted in this thread. But IIRC When you tested @Cyprian's program @ijor's core it had issues with a lot of the tests. The suska core had issues also but you fixed most of them and got slightly better results than Ijor's core in GB6. Later you fixed some other tests but it messed up with other tests. Again IIRC, we suspected some odd bus arb issue as @Cyprian mentions we took 5 cycles not the usual 4. I don't think we ever looked into it.

Not sure if it was around that time we started to port the original blitter schematics over in Quartus to try and get proper cycle accuracy that way. But I think it ended up taking a lot longer than I thought it would. I remember those differential logic things getting confusing in some places as I was trying to remove them all. But think I just didn't have time to sit and figure it all out. Think we was leaning towards just trying to fix the Suska core more as it was 99% there anyway.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
ijor
Posts: 573
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

exxos wrote: Sat Oct 15, 2022 9:32 pm We did do originally right at the start, EG viewtopic.php?p=50888#p50888 . But I think there was odd timing issues with your core , but different odd issues to what we currently have with @Icky's modified suska core.
Are you sure? That would be very surprising. Do you have any samples about timing issues with my core?
I can't see the results posted in this thread. But IIRC When you tested @Cyprian's program @ijor's core it had issues with a lot of the tests
As far as I know my core was tested with Cyprian's and other programs and didn't have any issues. But I can test it again, if you found it otherwise.
But I think we went with the suska core as I had permission from Wolfgang to use it in various projects.
Well, Wolfgang's cores were released much earlier. So probably my core didn't even exist then :) But you are more than welcome to use mine.
... and got slightly better results than Ijors core in GB6.
It is possible to get a slightly, just slightly, better performance. But then you loose cycle accuracy, it is one or the other.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
exxos
Site Admin
Site Admin
Posts: 25190
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

ijor wrote: Sat Oct 15, 2022 10:24 pm Are you sure? That would be very surprising.
Yep 100% sure. If it had matched a original blitter we would have stuck with it and not even bothered with the suska core.
ijor wrote: Sat Oct 15, 2022 10:24 pm Do you have any samples about timing issues with my core?
There are likely images *somewhere* but cannot see them on the forum. I will look around see if I can find them.. but its like 2 years or so worth of emails to look though. I'm a little slow with Covid at the moment so it could take me a while. But @Icky might be able to take new screenshots depending when he gets up and running again.
Well, Wolfgang's cores were released much earlier. So probably my core didn't even exist then :)
Looks like your core was first mentioned here. Indeed we tested your core and suska at the same time.

viewtopic.php?p=36229#p36229
But you are more than welcome to use mine.
Awesome thanks.
It is possible to get a slightly, just slightly, better performance. But then you loose cycle accuracy, it is one or the other.
But performance should match the original and be cycle accurate yes ?

We basically had these results with your core.

IMG_5776.jpeg
IMG_5776.jpeg (94.65 KiB) Viewed 1041 times

Some tests were running slower than expected. Basically 98% speed.

With @Icky's modified suska core we got this.

IMG_5817.jpeg
IMG_5817.jpeg (104.93 KiB) Viewed 1033 times

But we was still off 100% for some reason.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
ijor
Posts: 573
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

exxos wrote: Sat Oct 15, 2022 10:39 pm But performance should match the original and be cycle accurate yes ?
Yes, of course. I misunderstood what you were saying. Sorry ...
Some tests were running slower than expected. Basically 98% speed.
I just tested my core with Gembench. As you can see, timing is perfect, 100%. May be the timing issues you had were, perhaps, due to porting and adapting to your hardware?

FX Blitter core. TOS 2.06. GEMBENCH 6.31

20221016_021753.jpg
20221016_021753.jpg (666.03 KiB) Viewed 1020 times
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
Icky
Site Admin
Site Admin
Posts: 4095
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

ijor wrote: Sun Oct 16, 2022 6:26 am I just tested my core with Gembench. As you can see, timing is perfect, 100%. May be the timing issues you had were, perhaps, due to porting and adapting to your hardware?

FX Blitter core. TOS 2.06. GEMBENCH 6.31
@ijor was this core on real hardware or was it on something like the MiST / MiSTer etc?

I will hopefully get my test bench up tonight so will re-run all the tests I performed previously and post the details.
User avatar
exxos
Site Admin
Site Admin
Posts: 25190
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

Icky wrote: @ijor was this core on real hardware or was it on something like the MiST / MiSTer etc?
Was just wondering that as well. GB6 is showing as a STE , IIRC @ijor yours wasn't a STE chip set ? which is one reason I was using suska cores as well.

I guess we could be running into a terminology issue here as well. As cycle accurate may well be true for mister etc but when I mention cycle accurate, it mimics a real chip, which to my knowleage nobody has tested the cores in a real machine @ijor ? If they have been tested, how did you create the boards ? Can your cores deal with wakeup states from a real chip set or are they all fixed for mister ?

Wolfgang did everything on separate boards originally for suska, one chip at a time. Myself and @Icky have the standalone blitter board to test the accuracy of the cores. Possible we might have screwed up something, but what ?
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Post Reply

Return to “FPGA DEVELOPMENT”