English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 07 June 2011, 15:40   #1
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 469
Target system and code speed

Just wondering about target systems and code structure today. Mainly because I'm thinking of doing a demo for the stock A1200.

I've learned so far that on a standard 68000, as there are no caches, rolling out loops gives the best speed improvement because theres no cache and every instruction counts!

However, the 68020 has a CPU cache. Does this mean that rolled out loops could actually impair performance? Can't remember the cache size on the 020, but I'm guessing if your loop is less than the size of the cache, it would blaze through it faster than a rolled out loop?
h0ffman is offline  
Old 07 June 2011, 16:30   #2
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,146
Quote:
Originally Posted by h0ffman View Post
However, the 68020 has a CPU cache. Does this mean that rolled out loops could actually impair performance?
Yes.

Quote:
Originally Posted by h0ffman View Post
Can't remember the cache size on the 020
68020 has 256 byte instruction cache.

Quote:
Originally Posted by h0ffman View Post
but I'm guessing if your loop is less than the size of the cache, it would blaze through it faster than a rolled out loop?
That's correct.
StingRay is offline  
Old 07 June 2011, 17:31   #3
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 469
Cheers, will keep that in mind.
h0ffman is offline  
Old 24 June 2011, 01:07   #4
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,589
Demos for stock Amigas \o/

Nice to see this, and a showcase of correct thinking paired with necessary knowledge
Photon is offline  
Old 24 June 2011, 01:15   #5
Djay
breakpointUK.com

Djay's Avatar
 
Join Date: May 2001
Location: Founders System
Age: 42
Posts: 3,089
Send a message via MSN to Djay
Yes!

It would great to get see a new demo for stock A1200, it should have its own section at demo parties! I like to see how far people can push the hardware!
Djay is offline  
Old 24 June 2011, 09:33   #6
pmc
rebooting...
pmc's Avatar
 
Join Date: Apr 2007
Location: Elsewhere
Posts: 1,595
I agree 100% - stock Amiga demos rule.

While accelerator cards are cool, it's their pervasive influence that's pushed Amiga demos far too far towards trying to clone PC demos in my opinion.

Is an Amiga demo largely developed in C or C++ and running a software chunky graphics mode *really* an Amiga demo...?

What's wrong with an Amiga demo *being* an Amiga demo with bitplane graphics and using the custom chips to give the extra juice needed to make the effects run up to speed...?

We should follow the example of the C64 scene and make more demos for the stock machines!

Accordingly, as you may have guessed () I'll be looking forward to h0ff's stock A1200 demo!
pmc is offline  
Old 24 June 2011, 10:28   #7
Skope
Protracker
Skope's Avatar
 
Join Date: Sep 2008
Location: 8364
Posts: 381
Quote:
Originally Posted by pmc View Post
I agree 100% - stock Amiga demos rule.
The way nature intended, indeed. I remember when I got my first A1200 back in 1996-ish, it was damn near impossible to find anything that would run on my vanilla machine. I had my A500 totally unexpanded between 1988 and 1992-ish and got by just fine.
Skope is offline  
Old 25 June 2011, 01:00   #8
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 469
I reckon it should be called "no accelerator required!". Haha
h0ffman 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
speed issues with PAL games on NTSC system (whdload) sovietconscript support.Games 0 18 February 2013 06:28
Alien Target Shoonay Games images which need to be WHDified 14 30 January 2012 17:58
Monkey Amiga Target 0.24 bruZard News 0 11 December 2011 23:26
Miserable System Speed Retrofan support.Hardware 46 05 December 2010 16:54
Assembler System Friendly code redblade Coders. General 3 29 July 2008 13:15

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:58.


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