BLITTER RE-CREATION THOUGHTS

Progress on our FPGA cores.
mmx01
Posts: 13
Joined: Tue Nov 02, 2021 5:23 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by mmx01 »

More I look at the timings, more I think PLL should be clocked from external crystal and CLK as signal synced to Atari. This would sync bus events but not impede logic operations. Perhaps that's a dead ally but first impression is that processing is consuming too many cycles. Or fiddle with P_CYCLE_CNT: process.
mmx01
Posts: 13
Joined: Tue Nov 02, 2021 5:23 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by mmx01 »

Tried to get blitter on 16Mhz clock from MMU pin 5 but it did get messy, division of clock counts in fpga code did not seem to improve anything. I wish I had designed some pads around clock source configuration but yeah...

Thanks to great input from @Icky and a lot of hacking hours not fully understanding ports, port maps and how to pass different signals in vhdl finally some progress! This code provided other insights how to further tune fpga blitter:

https://github.com/gyurco/MiSTery/commi ... 6f252776f7

Still not good though, lines no longer spread over time but top part is distorted. Playing with 32Mhz vs. 64Mhz clocks is not delivering further benefits.

20211214_133834.jpg
20211214_133834.jpg (70.94 KiB) Viewed 1498 times

Stock code - blitting score in mid-res: time 5.965
New code - blitting score in mid-res: time 6.600

Hmm. not going in the right direction but at least new code is working and not freezing the machine like it did for 2 days ;) Next seems to be waitstates, T_SLICE and CYCLE_CNT. T_SLICE I am feeding 8Mhz and overall clock is 32Mhz I will try to rewrite with raising edge & falling edge. CYCLE_CNT for HOG is 80/40.
User avatar
Icky
Site Admin
Site Admin
Posts: 3986
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

Thought I would do the final spin of the Phoenix Sparkalaphobia board now that the dev boards are functioning and its down to the firmware tweaks to complete.

This board is designed to fit directly into a PLCC68 socket as a drop in replacement of an original BLITTER chip.

Of course the most limiting factor now is the FPGA chip shortage.

Screenshot 2022-10-15 at 13.46.00.png
Screenshot 2022-10-15 at 13.46.00.png (980.59 KiB) Viewed 840 times
Screenshot 2022-10-15 at 13.47.02.png
Screenshot 2022-10-15 at 13.47.02.png (452.24 KiB) Viewed 840 times
Screenshot 2022-10-15 at 13.42.12.png
Screenshot 2022-10-15 at 13.42.12.png (837.72 KiB) Viewed 840 times
User avatar
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by Badwolf »

Icky wrote: Sat Oct 15, 2022 1:53 pm This board is designed to fit directly into a PLCC68 socket as a drop in replacement of an original BLITTER chip.
Looking good. What chips are you using for the level shifting there, BTW?

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
User avatar
Icky
Site Admin
Site Admin
Posts: 3986
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

Badwolf wrote: Sat Oct 15, 2022 2:03 pm
Icky wrote: Sat Oct 15, 2022 1:53 pm This board is designed to fit directly into a PLCC68 socket as a drop in replacement of an original BLITTER chip.
Looking good. What chips are you using for the level shifting there, BTW?

BW
GTL2010PW - https://www.ti.com/lit/ds/symlink/sn74gtl2010.pdf

@exxos had done various testing of translators and we have found these to be best suited to our needs. Its also the same ones we use on the H5 boards to provide the 3V3 bus. I cant seem to find the thread on @exxos' experiments.
User avatar
Badwolf
Posts: 2231
Joined: Tue Nov 19, 2019 12:09 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by Badwolf »

Icky wrote: Sat Oct 15, 2022 2:17 pm GTL2010PW - https://www.ti.com/lit/ds/symlink/sn74gtl2010.pdf
@exxos had done various testing of translators and we have found these to be best suited to our needs. Its also the same ones we use on the H5 boards to provide the 3V3 bus. I cant seem to find the thread on @exxos' experiments.
Cheers, will have a look at those. My normal ones are only 8 bits wide and are occasionally unobtanium.

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
User avatar
exxos
Site Admin
Site Admin
Posts: 23505
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 2:17 pm @exxos had done various testing of translators and we have found these to be best suited to our needs. Its also the same ones we use on the H5 boards to provide the 3V3 bus. I cant seem to find the thread on @exxos' experiments.
Its all at the start of this thread. Experiments are scattered over several pages.

viewtopic.php?p=9808#p9808

The GTL chips were the only ones I could get to work right. Even Texas versions of the same chip were screwy IIRC.
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.
Tbs123456
Posts: 15
Joined: Sun May 30, 2021 5:43 am

Re: BLITTER RE-CREATION THOUGHTS

Post by Tbs123456 »

Is it a 100% blitter replacement?

Where did the name sparkalaphobia(pronounced spark-ala-phobia?) Come from?
User avatar
exxos
Site Admin
Site Admin
Posts: 23505
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

Tbs123456 wrote: Sat Oct 15, 2022 4:31 pm Is it a 100% blitter replacement?
Yes. Its a project to offer a alternative to the impossible to find Blitter chips.
Tbs123456 wrote: Sat Oct 15, 2022 4:31 pm Where did the name sparkalaphobia(pronounced spark-ala-phobia?) Come from?
Sparkalaphobia - The fear of Glitter.. Glitter as autocorrect keeps changing Blitter to Glitter :lol: :roll:
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
Cyprian
Posts: 387
Joined: Fri Dec 22, 2017 9:16 am
Location: Poland

Re: BLITTER RE-CREATION THOUGHTS

Post by Cyprian »

how to buy that glitter
my ST is waiting for it
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
Post Reply

Return to “FPGA DEVELOPMENT”