Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)

BLITTER RE-CREATION THOUGHTS

Progress on our FPGA cores.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3060
Joined: Tue Nov 19, 2019 12:09 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by Badwolf »

chronicthehedgehog wrote: Mon Oct 21, 2024 10:49 am I can't think of anything intelligent to say :lol: but this is an awesome achievement.

Congratulations
AOL!

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
mrbombermillzy
Moderator
Moderator
Posts: 2347
Joined: Sun Jun 03, 2018 7:37 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by mrbombermillzy »

Good progress so far.

Hopefully this is still being worked on?

Ive been knee deep in blitter code optimising (for game use both on the ST and the C64DTV), so with a clearer view of what would help create a better blitter than before (and seeing how the DTV blitter has been improved substantially over the ST/Amiga versions), I was throwing some info out there, just so its noted and if at some point you wish to add any extra features:

1. 'Copy if ! = ' logical operator:

For typical game use with 'sprites'/BOBs over a background image, this would save ~33% of blitter use (certainly for packed pixel operations anyway). So instead of 3 blits to the same location (background restore/mask/image), it would be reduced to 2 (background restore/image).

2. Source/Destination step rate:

Step rate being how many pixels are 'stepped' (think TT shifter smear mode) per S/D linear increment iteration. So e.g. a source step =1 and destination step =2 would create a destination image block of 200% size. Alternatively, a source step =2 and a destination step =1 would reduce the destination image to half size (possibly useful for some form of sample playback filtering too?) Step rates can possibly have decimal point position at say bit 4 for e.g. sub pixel/smooth zoom effects, etc, but at the cost of the zoom/reduce size extremes.

3. Extra logic input comparator operations:

Adding an extra input source would give more scope for source combining operators to allow for such things as low latency alpha blending/additive alpha effects, or other stuff I havent thought of yet.

*******************************************************************

Im sorry if you think I may be 'jumping the gun' a bit and I understand it is very likely to be too early to be thinking about any of this, but I just wanted to make a permanent note somewhere while I was 'in the zone' otherwise I may well forget it all or suffer loss of focus (blame the kids!) when someone asks me for my thoughts. (Im thinking of what happened in a conversation with @Badwolf at one of the earlier CL events!) :lol:

Anyway, perhaps have a look at the C64DTV blitter documentation for more 'creative insights':

https://www.c64-wiki.com/wiki/C64DTV_Pr ... _REGISTERS
User avatar
exxos
Site Admin
Site Admin
Posts: 28677
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

@Icky looking back here viewtopic.php?t=4585

There is V4.1

Screenshot 2021-08-30 at 15.32.47.png
Screenshot 2021-08-30 at 15.32.47.png (260.33 KiB) Viewed 2014 times


I have PCB for V4.0 and schematic for 4.1. So not sure if my files got corrupted at some point.

I don't remember if I was doing fixes to it or something over the V4.0 now.

But IIRC it was chip shortages causing all the delays.

Though I thought the MAX10 series could do 5V inputs ? So not sure why we have IO buffers ? Or was it some other chip which could do 5V ? Really can't remember now :(

The BGA chip was a problem, but the UK PCB guy I am using is still talking to me after some months, so I could ask him about BGA stuff..
User avatar
exxos
Site Admin
Site Admin
Posts: 28677
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

@ijor It looks like the 10M02SCU169A7G was used for the blitter. Do you know how much space is left in that device ? Using the 02 will make buying the chips a lot cheaper than going for the 04.
ijor
Posts: 836
Joined: Fri Nov 30, 2018 8:45 pm

Re: BLITTER RE-CREATION THOUGHTS

Post by ijor »

exxos wrote: Mon Jun 30, 2025 1:11 pm Though I thought the MAX10 series could do 5V inputs ?
No, it is not 5V tolerant.
It looks like the 10M02SCU169A7G was used for the blitter. Do you know how much space is left in that device ? Using the 02 will make buying the chips a lot cheaper than going for the 04.
I don't remember, but I will check and let you know later.

But the devices are pin compatible. Altera supports something that they call Vertical Migration. You can use the same board for either the 02, 04, or even larger devices. Conceivable, larger devices could have optional extra features that don't fit in the basic (02) version.
http://github.com/ijor/fx68k 68000 cycle exact FPGA core
FX CAST Cycle Accurate Atari ST core
http://pasti.fxatari.com
User avatar
alexh
Site sponsor
Site sponsor
Posts: 1364
Joined: Tue Oct 17, 2017 4:51 pm
Location: Oxfordshire

Re: BLITTER RE-CREATION THOUGHTS

Post by alexh »

Is the BLITTER a PLCC chip? There has been some what looks like great "open source" work done in the Amiga world at making FPGA boards that plug into empty PLCC sockets. I can share the links if relevant.
Senior Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
User avatar
exxos
Site Admin
Site Admin
Posts: 28677
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

alexh wrote: Mon Jun 30, 2025 3:02 pm Is the BLITTER a PLCC chip? There has been some what looks like great "open source" work done in the Amiga world at making FPGA boards that plug into empty PLCC sockets. I can share the links if relevant.
Worth a look either way :)
User avatar
exxos
Site Admin
Site Admin
Posts: 28677
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: BLITTER RE-CREATION THOUGHTS

Post by exxos »

ijor wrote: Mon Jun 30, 2025 3:00 pm But the devices are pin compatible. Altera supports something that they call Vertical Migration. You can use the same board for either the 02, 04, or even larger devices. Conceivable, larger devices could have optional extra features that don't fit in the basic (02) version.
Good to know thanks.
User avatar
Icky
Site Admin
Site Admin
Posts: 4390
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

Ooo I am back.
ijor wrote: Mon Jun 30, 2025 3:00 pm
exxos wrote: Mon Jun 30, 2025 1:11 pm Though I thought the MAX10 series could do 5V inputs ?
No, it is not 5V tolerant.
Correct and hence the board has 5V <-> 3V3 IO
ijor wrote: Mon Jun 30, 2025 3:00 pm
It looks like the 10M02SCU169A7G was used for the blitter. Do you know how much space is left in that device ? Using the 02 will make buying the chips a lot cheaper than going for the 04.
I don't remember, but I will check and let you know later.

But the devices are pin compatible. Altera supports something that they call Vertical Migration. You can use the same board for either the 02, 04, or even larger devices. Conceivable, larger devices could have optional extra features that don't fit in the basic (02) version.
We used the 02 on the original board we got working and I believe it had a little space left not much.

One thing I have noticed about the Max10 Vertical Migration it doesn't go from 02 to the others well. 04 upwards migrate well. That said a small tweak of the board will be easy.
alexh wrote: Mon Jun 30, 2025 3:02 pm Is the BLITTER a PLCC chip? There has been some what looks like great "open source" work done in the Amiga world at making FPGA boards that plug into empty PLCC sockets. I can share the links if relevant.
I had been playing with a PLCC version of the board but that could work. The board pictured was for H5 so we could develop and then eventually end up with a PLCC plug-in board.

I'll come back here shortly once I sort out where I got to with this design.
User avatar
Icky
Site Admin
Site Admin
Posts: 4390
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: BLITTER RE-CREATION THOUGHTS

Post by Icky »

Ah now it has come back to me after looking at my files. I was last working on a PLCC version and also a board that could be configured as BLITTER, GLUE or MMU.

Screenshot 2025-06-30 at 23.24.33.png
Screenshot 2025-06-30 at 23.24.33.png (954.88 KiB) Viewed 1949 times
Post Reply

Return to “FPGA DEVELOPMENT”