English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 13 August 2020, 09:08   #1
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
Requested: Chunky Copper Tutorial

Is there any c2p via copper tutorial available to properly set-up copper for chunky? I would like to do some test on OCS/ECS and Aga too.
sandruzzo is offline  
Old 13 August 2020, 10:52   #2
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 819
Quote:
Originally Posted by sandruzzo View Post
Is there any c2p via copper tutorial available to properly set-up copper for chunky? I would like to do some test on OCS/ECS and Aga too.
Copperchunky isn't really a c2p as nothing is converted to planar

Basically, change one palette entry 40 times during a scanline and then repeat that for as many scanlines as you wish and you have a copperchunky screen. You can even use copper loops to get the chunky pixels to be larger than one scanline.Then you just write your pixels directly to the copperlist.

I usually set up a 1 bitplane screen and just change the COLOR01 entry, so that the palette changes won't bleed into the borders.

Here's the copperlist for a 200 scanline high screen

Code:
line    set   $4c3d
        rept  200
        dc.w  line,$fffe
        rept  40
        dc.w  COLOR01,$0000
        endr
line    set   line+$100
        endr
britelite is offline  
Old 13 August 2020, 10:54   #3
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
@britelite

Thanks! Won't be better to use more planes in order to have less copper moves?
sandruzzo is offline  
Old 13 August 2020, 10:55   #4
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 819
Quote:
Originally Posted by sandruzzo View Post
@britelite

Thanks! Won't be better to use more planes in order to have less copper moves?
You will always need one copper move per pixel (how else would you change the color of the pixel).

EDIT: You can use more planes to achieve smaller pixels than 8 pixel wide ones, but this will have some other restrictions instead. But I'll leave that exercise for you to figure out
britelite is offline  
Old 13 August 2020, 10:59   #5
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
How the were able to get 2x2??? This is kind 8 pixels...
sandruzzo is offline  
Old 13 August 2020, 11:02   #6
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 819
Quote:
Originally Posted by sandruzzo View Post
How the were able to get 2x2??? This is kind 8 pixels...
Not sure about 2x2, but 3x3 can easily be achieved on AGA with copperchunky. On AGA 2x2 resolutions are usually HAM c2p modes.
britelite is offline  
Old 13 August 2020, 11:26   #7
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
Here about using more planes to have more colors...


http://ada.untergrund.net/?p=boardthread&id=442
sandruzzo is offline  
Old 13 August 2020, 11:30   #8
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 819
Quote:
Originally Posted by sandruzzo View Post
Here about using more planes to have more colors...

http://ada.untergrund.net/?p=boardthread&id=442
And did you actually understand what you read?
britelite is offline  
Old 13 August 2020, 11:32   #9
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
@britelite

More or less they use per load coppers' colors register to get full 57 move per scanline. Not so difficult to understand
sandruzzo is offline  
Old 13 August 2020, 11:35   #10
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 819
Quote:
Originally Posted by sandruzzo View Post
@britelite

More or less they use per load coppers' colors register to get full 57 move per scanline. Not so difficult to understand
Okay, so then you understand that you won't reduce the number of moves required per chunky pixel by using more bitplanes, but that you can rather achieve better resolutions by incorporating bitplanes into the equation.

So, with all this information you should easily be able to get your own copperchunky running.
britelite is offline  
Old 13 August 2020, 13:16   #11
chb
Registered User
 
Join Date: Dec 2014
Location: germany
Posts: 439
On AGA you can have pretty much every pixel size you want, but you cannot get past the 57 or so CMOVEs per scanline. So a 200pix wide 2x2 copper chunky is possible, but not a 256 or 320pix wide one.

On OCS it's more complicated, as you do not have a lot of color registers to buffer the color changes. AFAIK 4x1 is possible with some trickery (and a narrow screen). There was a thread on ADA about that AFAIR.
chb is offline  
Old 13 August 2020, 19:03   #12
Antiriad_UK
OCS forever!
 
Antiriad_UK's Avatar
 
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
Anyone got a link to a demo to demonstrate what copperchunky looks like? I’m not sure I know what it is. Is it just spamming colour changes for a lores picture?
Antiriad_UK is offline  
Old 13 August 2020, 19:25   #13
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,480
Quote:
Originally Posted by Antiriad_UK View Post
Anyone got a link to a demo to demonstrate what copperchunky looks like? I’m not sure I know what it is. Is it just spamming colour changes for a lores picture?
https://eab.abime.net/showpost.php?p...9&postcount=11

A simple image rotation. I have the code somewhere .. maybe ..
ross is offline  
Old 13 August 2020, 19:25   #14
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,213
Quote:
Originally Posted by Antiriad_UK View Post
Anyone got a link to a demo to demonstrate what copperchunky looks like? I’m not sure I know what it is. Is it just spamming colour changes for a lores picture?
Essentially, in it's simplest form, yes... so you can easily do 8x1 pixel size in 12bit RGB...

For example in my Colombia 64k intro, the tunnels are using a method that gives a perceived 4x4 pixel size, although this is just a trick
DanScott is offline  
Old 14 August 2020, 04:03   #15
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
I'm thinking if its possible with scrollregister close the "gap" between pixels, by shifting bitmap after each chunky pixel, and get 1x1. AT LEAST on Aga

Last edited by sandruzzo; 14 August 2020 at 07:42.
sandruzzo is offline  
Old 14 August 2020, 08:59   #16
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 819
Quote:
Originally Posted by sandruzzo View Post
I'm thinking if its possible with scrollregister close the "gap" between pixels, by shifting bitmap after each chunky pixel, and get 1x1. AT LEAST on Aga
You don't need to scroll anything, you can just have a bitmap with 1 pixel wide stripes. Doesn't change the fact that you can only change 57 colors (pixels) per scanline, so that will leave you with a 57 pixel wide screen if you want to have 1x1 copperchunky pixels.
britelite is offline  
Old 14 August 2020, 09:31   #17
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
I Can see it
sandruzzo is offline  
Old 14 August 2020, 10:47   #18
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,631
Quote:
Originally Posted by Antiriad_UK View Post
Anyone got a link to a demo to demonstrate what copperchunky looks like? I’m not sure I know what it is. Is it just spamming colour changes for a lores picture?
The final part of this is a coppper-chunky rotozoomer (shameless plug) : [ Show youtube player ]


Basically, all your classic copper plasma effects are a form of copper-chunky too
hooverphonique is offline  
Old 14 August 2020, 12:24   #19
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 819
Well, maybe I should post one of my copper-chunky demos too

[ Show youtube player ]
britelite is offline  
Old 14 August 2020, 12:44   #20
mr.spiv
Registered User
 
mr.spiv's Avatar
 
Join Date: Aug 2006
Location: Finland
Age: 52
Posts: 244
Riihimäki! wtf?!
mr.spiv is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copper Chunky Calvin & Hobbes rotozoom? ReadOnlyCat support.Demos 5 10 July 2018 10:47
Best way to mix blitting with copper and copper effects roondar Coders. Asm / Hardware 3 12 September 2016 13:12
Tutorial/guide request Jimbobthe2nd support.Other 5 24 March 2016 23:05
Tutorial request: CIA timers oRBIT Coders. Tutorials 4 11 June 2010 23:31
Request: AF 109,110,111 tutorial AlfaRomeo AMR suggestions and feedback 6 23 September 2009 00:44

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:26.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09782 seconds with 14 queries