English Amiga Board


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

 
 
Thread Tools
Old 22 March 2013, 09:57   #1
Vikke
Registered User
 
Join Date: Feb 2013
Location: Lovisa / Finland
Age: 53
Posts: 80
Copperlist optimizations for my tutorial #4

I have a question for all of you that are reading my tutorials.

Would you like me to show how you can optimize copperlistgeneration to leave a lot more cycles for the CPU to do other stuff than generating the copperlist?

This is a little bit more advanced stuff, but depending on the needed copperlist the gain can be rather big. In tutorial #3 I don't need any such things, but in #4 I have a copperlist that is over 2kB and instead of remaking the copperlist every frame it would be possible to reuse and modify just one large copperlist generated at the start.
In this case only 64 words has to change every frame, instead of doing all 1026 longwords.

But, I leave it up to you if you want to see such optimizations at this point. I would of course show the unoptimized version as well.

Last edited by Photon; 23 March 2013 at 22:29.
Vikke is offline  
Old 23 March 2013, 01:38   #2
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
Changed the title to be more specific!
Photon is offline  
Old 23 March 2013, 08:01   #3
Vikke
Registered User
 
Join Date: Feb 2013
Location: Lovisa / Finland
Age: 53
Posts: 80
The optimizations would be in tutorial #4, but seeing how Bippym already used a pregenerated copperlist and modifying it I will leave copperlist optimizations for later.

But these optimizations will be on the site, but perhaps in somewhat simpler code examples than the one I just got ready (#4). Regarding tutorial #4, I did some tests on what would look best, so I will probably launch it with two different executables, just to show that the more mathematical correct version is worse than the simpler and not so correct version.

But first to release tutorial #3.... later today.
Vikke is offline  
Old 23 March 2013, 22:29   #4
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
Oh, apparently I can't read properly *rubs eyes*. Fixed.
Photon 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
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
Setting up a copperlist oRBIT Coders. General 5 08 April 2010 14:18
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 17:08.

Top

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