English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 21 August 2016, 21:20   #1
volvo_0ne
Registered User

 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 307
Speed increase Vs less colours?

Is there much of a speed increase using (say) 16 colour lowres as opposed to 32 colour lowres?

When using small (16x16) Bobs instead of sprites.

I don't seem to be able to fathom a way to calc the time (per vbl) left over to compare them, but no doubt someone will have a great idea for me
volvo_0ne is offline  
AdSense AdSense  
Old 22 August 2016, 17:01   #2
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,548
Yes, there is much of a speed increase.

The old and proven way of measuring speed on the Amiga is to wait vbl, di your stuff, and then change the background colour. You can then look at the position where the colour is changed.
idrougge is offline  
Old 22 August 2016, 18:51   #3
Mrs Beanbag
Glastonbridge Software
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,202
yes, as above... put this just before your Wait Vbl
Code:
doke $dff180,$ff0
the time taken to draw a bob will be proportional to the number of bitplanes: 32 colours = 5 bitplanes, 16 colours = 4 bitplanes.
it also depends on whether you are using autoback or not (3 blits vs 2, as well as some book-keeping overhead), or using a mask or not (although this latter should make a relatively small difference).
Mrs Beanbag is offline  
Old 25 August 2016, 22:52   #4
Cylon
Registered User

 
Join Date: Oct 2014
Location: Europe
Posts: 466
Just try to add more and more bobs and you can easily compare when it starts to slow down.

So 16 colour bobs on 4planes vs. 32 colour bobs on 5planes.
Cylon is offline  
Old 07 October 2016, 21:31   #5
volvo_0ne
Registered User

 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 307
Quote:
Originally Posted by Mrs Beanbag View Post
yes, as above... put this just before your Wait Vbl
Code:
doke $dff180,$ff0
the time taken to draw a bob will be proportional to the number of bitplanes: 32 colours = 5 bitplanes, 16 colours = 4 bitplanes.
it also depends on whether you are using autoback or not (3 blits vs 2, as well as some book-keeping overhead), or using a mask or not (although this latter should make a relatively small difference).
Autoback 1 does it for me (mostly)
volvo_0ne is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible route to increase PPC RAM. headkase support.WinUAE 7 11 July 2016 05:44
increase 1 layer size without affecting the rest turrican3 support.WinUAE 3 23 September 2013 01:01
EAB Avatar size limits - time to increase? Bloodwych project.EAB 76 03 August 2012 01:19
how many colours has the petza Amiga scene 21 17 August 2006 11:26
no speed increase? Unregistered support.WinUAE 3 22 September 2002 20:33

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 10:09.


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