ok, this is repeatitive scrollable background created using 9!!! different sprites
full scrolling requies different copperlists, but we could move the sprite position every 2 pixels and halve their number (160 different copperlists for 320 resolution).
Copper works like this
First pixel should be NOP, but i think its better copper would just start from 12pixel...
Change SPR7DATA ;can be replaced with NOP
Change SPR4POS
Change SPR5POS
Change SPR7DATB ; can be replaced with NOP
Change SPR6POS
Change SPR7POS
Change SPR7DATA
Change SPR4POS
Change SPR5POS
Change SPR7DATB
Change SPR6POS
Change SPR7POS
Change SPR7DATA
Change SPR4POS
Change SPR5POS
Change SPR7DATB
Change SPR6POS
Change SPR7POS
Change SPR7DATA
Change SPR4POS
Change SPR5POS
Change SPR7DATB
Change SPR6POS
Change SPR7POS
Change SPR7DATA
Change SPR4POS
Change SPR5POS
Change SPR7DATB
Change SPR6POS
Change SPR7POS
because first 4 sprite data are updated by amiga hardware dma, the actual creation of new sprites begins after 64pixel.
Last edited by Trachu; 11 December 2015 at 20:55.
|