Thread: newbe help
View Single Post
Old 03 November 2011, 03:53   #6
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,187
Quote:
Originally Posted by matthey View Post
Unaligned memory accesses are not a problem for the 020+ which handles any alignment although the 020/030 has a large penalty for such accesses. It's the 68000 that will crash with a longword or word access at an odd address. Could you explain more?
Since every longword in the AnimOb structure except a minimum list node at the beginning is misaligned causing the speed penalty to be compounded to such a wild extent that I'd say such a design only works properly on 16-bit Amigas. (Although adding a padword to the beginning of the structure before you allocate it would be a quick and easy fix, I've been told that the Animate() subroutine is only about 250 bytes of code and easily duplicated.)
Samurai_Crow is offline  
 
Page generated in 0.10689 seconds with 11 queries