English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 08 April 2010, 13:29   #1
oRBIT
Zone Friend
 
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
Setting up a copperlist

It has been quite awhile ago since I coded anything gfxrelated on the Amiga so I don't remember as much as I'd like to.
I'm trying to display a 256x240x5 image and the image always ends up being half the vertical size it should be.
I really don't remember much of the copperlist stuff so I usually ends up with some "trial and error" (which all results in "error" currently )
Are there any "super newbie beginners guide to the copper" available? Or perhaps any kind person can help me achieve to above with some hints on what to modify in my copperlist?
Thanks in advance
oRBIT is offline  
Old 08 April 2010, 14:00   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by oRBIT View Post
I'm trying to display a 256x240x5 image and the image always ends up being half the vertical size it should be.
Just some quick tips, check if you initialize the bitplane pointers correctly, check if your modulos ($dff108/$10a) are correct and that you didn't select a hires mode in Bplcon0 (Bit15=0) and that you don't have a copperwait somewhere that you don't need.
StingRay is offline  
Old 08 April 2010, 14:10   #3
oRBIT
Zone Friend
 
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
I'm not sure what's right and what's not to be honest, my memory is that bad..
oRBIT is offline  
Old 08 April 2010, 14:16   #4
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
At a guess you're probably remembering the use of the bitplane modulos wrong, and set them to the width of your bitplanes when they should be set to 0. These values get added to the bitplane pointers after they've read and advanced past one scanline in memory, so if there are 0 bytes between the end of one scanline and the beginning of the next, that's what you need to set the modulos to.

You can also just ditch the copper list entirely and set things up with the CPU until you've gotten it right.
Leffmann is offline  
Old 08 April 2010, 14:16   #5
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Well, what does your copperlist look like at the moment? For a picture like that bpl1/2mod should be set to 0 and BPLCON 0 should be set to $5200. Try that and see if it fixes your problem.
StingRay is offline  
Old 08 April 2010, 14:18   #6
oRBIT
Zone Friend
 
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
I got it working. Trial and error finally resulted in success.
I tried reading some old copper-related documents but to be honest, they're not really written for mortals like myself.

Thanks anyway for your interest.
oRBIT 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
Copperlist optimizations for my tutorial #4 Vikke Coders. Asm / Hardware 3 23 March 2013 22:29
Advice on copperlist for borders MrD Coders. General 3 03 March 2012 07:25
Copperlist to fit Atari ST screen possible? kamelito Retrogaming General Discussion 6 24 November 2011 10:51
Modifying a copperlist CmdrVimes Coders. General 5 06 September 2010 12:08
Error in copperlist? Nyarlathotep support.WinUAE 7 12 August 2003 23: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 12:22.

Top

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