English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 11 September 2018, 10:35   #1
Steril707
OCS rocks!

 
Join Date: Sep 2016
Location: Amiga Island
Posts: 476
skipping parts of a static copperlist...

Is there any way to skip parts of a static copperlist (means one, that I am not dynamically constructing myself with code on runtime) based on some condition?
Steril707 is offline  
Old 11 September 2018, 11:18   #2
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 48
Posts: 1,249
The easiest thing that comes to mind is to set COP1LCx and then strobe COPJMPx, overwriting the first words part of the copper list you want to skip.
ross is offline  
Old 11 September 2018, 15:39   #3
Steril707
OCS rocks!

 
Join Date: Sep 2016
Location: Amiga Island
Posts: 476
That sounds like a nice idea..

Will have a look into it.. thanks, ross...
Steril707 is offline  
Old 21 September 2018, 17:03   #4
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,589
That's not a conditional, though, you'd have to poke the destination address with code calculating it from the condition.

There's the SKIP instruction, but it's of limited use.
Photon is offline  
Old 22 September 2018, 03:43   #5
FSizzle
Registered User

 
Join Date: Nov 2017
Location: Los Angeles
Posts: 24
Take care to either write both the high and low address for the jmp destination, OR make sure the jmp destination is in the same 64KiB aligned block as the copper list start address if you only set the low word to save cycles.
FSizzle 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
Mouse and static Solderbro support.Hardware 1 19 June 2018 21:36
WinUAE 2.5.0 mouse capturing/pointer skipping issue mark_k support.WinUAE 25 06 December 2012 19:15
CD32 video skipping Djay support.WinUAE 4 04 October 2010 15:09
CD32 Video Skipping Kitty support.WinUAE 18 29 December 2009 21:24
Systematic skipping of all interesting content? :) Photon AMR suggestions and feedback 7 01 September 2009 18:05

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 11:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07002 seconds with 15 queries