22 March 2013, 09:57 | #1 |
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. |
23 March 2013, 01:38 | #2 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
|
Changed the title to be more specific!
|
23 March 2013, 08:01 | #3 |
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. |
23 March 2013, 22:29 | #4 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,604
|
Oh, apparently I can't read properly *rubs eyes*. Fixed.
|
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 |
|
|