English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 01 April 2014, 20:07   #1
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,207
non-atomic Copper waits for MrgCop?

Hello,

I've been carefully considering what shape Copper handling support should take on AROS 68k and comparing it to the way that it works on AmigaOS 3.1. One of the biggest problems with MrgCop in Graphics.library on 3.1 is that it treats the CWAIT macro as an atomic delay and won't let the programmer insert additional CMOVEs from another partial Copper-list in while the first one is waiting.

In order to try to write a CYIELD macro, I need to know how to implement NXTLIST in a macro. Specifically, I need to be able to insert a NXTLIST at the end of the current CopList structure, allocate a new CopList structure using the DyOffset of the y coordinate passed to the CYIELD macro, and finally, start the next CopList with a CWAIT or so (depending on the x and y coordinates used) that will allow other CopList structures to be sorted by the DyOffset so that they will be interleaved.

If somebody could write an example code in C (hopefully not too trivial) that uses NXTLIST (or the u3.nxtlist union member) to be used, it might help me see what needs to be done.
Samurai_Crow 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
Combining copper scrolling with copper background phx Coders. Asm / Hardware 16 13 February 2021 12:41
Lack of blitter waits on A500 Codetapper Coders. Asm / Hardware 3 09 September 2012 13:45
Full versions of Atomic and Evasive Aksion brolly request.Old Rare Games 4 05 September 2012 02:50
Atomic Cabbage Amiga Page Enverex Amiga websites reviews 10 16 May 2003 02:28

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 04:41.

Top

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