27 March 2016, 15:21 | #1 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,281
|
Amiga 1200 020 + fastram vs blitter
On Amiga 1200 with fast ram, is 020 fast enough to help blitter on restore screen after cookie-cut blitter operation?
Is it worth using 020 to draw tiles for scrolling? I would like to use 020 with fast mem for vertial scrollin,g and blitter for bobs on 8 planes screen. Thanks |
27 March 2016, 15:40 | #2 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
Personally, I would try to get something working as fast together (020 & Blitter) without requiring fast mem
|
27 March 2016, 16:05 | #3 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,281
|
|
27 March 2016, 23:33 | #4 |
Registered User
Join Date: Oct 2014
Location: Germany
Posts: 195
|
In Tubular Worlds, the tilesize is 8x8 pixels and the CPU updates the borders for scrolling. (obviously, it's fast enough)
For vertical scrolling on top or bottom only 1 pixel line is updated. For horizontal scrolling one 32x8 pixel block (4 tiles) is updated on the left or right. (the bitmap is bigger than the visible screen) The 4 tiles are written with move.b (a0)+,offset(a1) Then the data is copied with movem.l to registers and written back to two different bitmaps again with movem.l (it's tripple-buffered). It's pretty fast if you only update the borders... (...and use the abilities of the Amiga chipset for scrolling) This worked for 256 colors on AGA/020/chipmem-only and for 32 colors with standard 68000. |
02 April 2016, 01:47 | #5 | |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Quote:
I don't think it's unnatural to require Fastmem on a stock A1200. Most users will have gotten something to get them past the 2MB chipmem limit, even if it's not a 100-150 EUR accelerator. 1. The 020 can certainly restore the background quickly in cases of f.ex. 16x16 bobs. What method you used to modify the bitmap areas (to be restored) doesn't matter. What matters is keeping the width of objects the same, and just save "coordinates" of areas to restore. If the width differs, you have to make a loop that handles it which gives quite a bit of overhead. 2. You should use the Copper and set bitplane pointers in order to scroll vertically, that way it will take no time at all. Do not scroll by copying memory on Amiga, ever. Ever! I keel you! To plot tiles, often the CPU is faster than the Blitter, even on 68000, so no problem there |
|
02 April 2016, 13:03 | #6 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitter busy flag with blitter DMA off? | NorthWay | Coders. Asm / Hardware | 9 | 23 February 2014 21:05 |
1200/1200 020 | DaveMB | support.FS-UAE | 4 | 07 December 2012 15:25 |
A600/1200 Fastram 2 Mb | mikele | MarketPlace | 10 | 17 July 2012 19:54 |
A600 4mb Fastram + A1200 Mb Fastram | mikele | MarketPlace | 7 | 07 May 2012 19:28 |
Wanted: Fastram for amiga 1200 | paulisthebest | MarketPlace | 0 | 22 October 2009 16:44 |
|
|